-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.12.0, 1.13.0
-
Fix Version/s: 1.12.0
-
Component/s: None
-
Labels:
-
Environment:
EAP messages from a RADIUS-server will not pass through the controller to the supplicant. This worked fine in ONOS 1.10 and ONOS 1.11, but is broken in ONOS 1.12. I have not tested this on the master branch, but since the relevant source code (se below) is the same as in 1.12 I assume the problem is still there.
I have tested this by implementing AAA from CORD as an ONOS-app, and using wpa_supplicant to authenticate against a FreeRadius server (v3.0) on an Ubuntu 17.04 installation. EAPOL-messages from the supplicant is relayed by the controller to the RADIUS-server, but the EAP-response is dropped in the controller without any log-explanation.
The problem seems to have been introduced in commit f0c4761, and lies in the file utils/misc/src/main/java/org/onlab/packet/RADIUS.java.
The attached patch fixes it - at least to the extent of my testing.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
17449,3 | [ONOS-7514] Fix for broken EAP introduced in commit f0c4761. | master | onos | Status: MERGED | +2 | +1 |
17460,1 | [ONOS-7514] Fix for broken EAP introduced in commit f0c4761. | onos-1.12 | onos | Status: MERGED | +2 | +1 |