hostapd mixing EAP ids

Ahmet Basagalar ahmet
Fri Oct 21 14:40:06 PDT 2005


I had a very huge debug log, but it is hard to find the exact place where it 
gets triggered. Following is an interesting entry in the debug log

IEEE 802.1X: station 00:02:6f:07:c4:dc - new auth session, clearing State
IEEE 802.1X: Generated EAP Request-Identity for 00:02:6f:07:c4:dc 
(identifier 33, timeout 30)
IEEE 802.1X: 00:02:6f:07:c4:dc REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:6f:07:c4:dc AUTH_PAE entering state CONNECTING
IEEE 802.1X: 00:02:6f:07:c4:dc REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:6f:07:c4:dc AUTH_PAE entering state DISCONNECTED
IEEE 802.1X: 00:02:6f:07:c4:dc REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:6f:07:c4:dc AUTH_PAE entering state RESTART
IEEE 802.1X: station 00:02:6f:07:c4:dc - new auth session, clearing State
IEEE 802.1X: Generated EAP Request-Identity for 00:02:6f:07:c4:dc 
(identifier 34, timeout 30)
IEEE 802.1X: 00:02:6f:07:c4:dc REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:6f:07:c4:dc AUTH_PAE entering state CONNECTING
IEEE 802.1X: 00:02:6f:07:c4:dc REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:6f:07:c4:dc AUTH_PAE entering state AUTHENTICATING
IEEE 802.1X: 00:02:6f:07:c4:dc BE_AUTH entering state REQUEST
IEEE 802.1X: Sending EAP Packet to 00:02:6f:07:c4:dc (identifier 34)
IEEE 802.1X: 00:02:6f:07:c4:dc REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:6f:07:c4:dc BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=164 length=176

As you can see the auth session was restarted twice. I do not know if this 
gives any clue.

My only concern for adding that modification was the fact that it may 
trigger something else somewhere like a memory leak, but from what you said 
it seems like it should not. To recreate it, you may try setting reauth 
period to a very low value like 10 secs and associate as much clients as 
possible. That was how I was able to reproduce it.

Thanks,
Ahmet 





More information about the Hostap mailing list