On Mon, Feb 4, 2013 at 12:11 PM, Alan DeKok <aland@deployingradius.com> wrote:
Cao,Zhen (cz) wrote:
What’s the standard way then?
RFC 2284 Section 2.2.2 says this for EAP-Success:
Identifier
The Identifier field is one octet and aids in matching replies to Responses. The Identifier field MUST match the Indentifier field of the Response packet that it is sent in response to.
This is what FreeRADIUS does. See src/modules/rlm_eap/eap.c, eap_compose() function. Success and Failure send the same ID. Other EAP packet types increment the ID.
Alan DeKok.
Thank you very much for the quick response. But I am using the fr-2.2.0, and for EAP-SIM to run, we patched it with http://seek-for-android.googlecode.com/files/eap-sim-aka_0.4.1.tar.gz I am going to check the patched code. thanks, cz