hostapd mixing EAP ids

Ahmet Basagalar ahmet
Wed Oct 19 07:46:53 PDT 2005


This really happens very rarely, and I was not able to reproduce it so far. 
Usually the first authentication goes in ok, but later during a reauth the 
thing locks up. Interestingly in some occasions, after a couple of hours, 
the problem goes away and the user authenticates again. Of course if you 
restart hostapd, the problem goes away immediately.

Below are a couple of hostapd state dumps.

I will also try to get the debug logs and send it to the list.

Thanks,
Ahmet

Hostapd dumps
-----------------------------------
STA=00:02:6f:07:cf:50
  AID=9 flags=0x3 [AUTH][ASSOC]
  capability=0x1 listen_interval=0
  supported_rates=82 84 8b 96 [1M][2M][5.5M][11M]
  timeout_next=NULLFUNC POLL
  IEEE 802.1X:
  identity=bquintana
  cached_packets=[RX RADIUS][EAP SUPPLICANT]
  EAPOL state machine:
    aWhile=8 quietWhile=38 reAuthWhen=3600
    authAbort=FALSE authFail=TRUE authPortStatus=Unauthorized 
authStart=FALSE
    authTimeout=FALSE authSuccess=FALSE eapFail=TRUE eapolEap=TRUE
    eapSuccess=FALSE eapTimeout=FALSE initialize=FALSE keyAvailable=FALSE
    keyDone=FALSE keyRun=FALSE keyTxEnabled=FALSE portControl=Auto
    portEnabled=TRUE portValid=TRUE reAuthenticate=FALSE
    Authenticator PAE:
      state=HELD
      eapolLogoff=FALSE eapolStart=FALSE eapRestart=FALSE
      portMode=Auto reAuthCount=2
      quietPeriod=60 reAuthMax=2
      authEntersConnecting=386
      authEapLogoffsWhileConnecting=0
      authEntersAuthenticating=257
      authAuthSuccessesWhileAuthenticating=0
      authAuthTimeoutsWhileAuthenticating=0
      authAuthFailWhileAuthenticating=258
      authAuthEapStartsWhileAuthenticating=0
      authAuthEapLogoffWhileAuthenticating=0
      authAuthReauthsWhileAuthenticated=0
      authAuthEapStartsWhileAuthenticated=0
      authAuthEapLogoffWhileAuthenticated=0
    Backend Authentication:
      state=IDLE
      eapNoReq=FALSE eapReq=FALSE eapResp=TRUE
      serverTimeout=30
      backendResponses=516
      backendAccessChallenges=258
      backendOtherRequestsToSupplicant=516
      backendAuthSuccesses=0
      backendAuthFails=258
    Reauthentication Timer:
      state=INITIALIZE
      reAuthPeriod=3600 reAuthEnabled=TRUE
    Authenticator Key Transmit:
      state=NO_KEY_TRANSMIT
    Key Receive:
      state=NO_KEY_RECEIVE
      rxKey=FALSE
    Controlled Directions:
      state=FORCE_BOTH
      adminControlledDirections=Both operControlledDirections=Both
      operEdge=FALSE

STA=00:02:6f:07:a0:66
  AID=12 flags=0x3 [AUTH][ASSOC]
  capability=0x1 listen_interval=0
  supported_rates=82 84 8b 96 [1M][2M][5.5M][11M]
  timeout_next=NULLFUNC POLL
  IEEE 802.1X:
  identity=echen
  cached_packets=[RX RADIUS][EAP SUPPLICANT]
  EAPOL state machine:
    aWhile=0 quietWhile=9 reAuthWhen=3600
    authAbort=FALSE authFail=TRUE authPortStatus=Unauthorized 
authStart=FALSE
    authTimeout=FALSE authSuccess=FALSE eapFail=TRUE eapolEap=TRUE
    eapSuccess=FALSE eapTimeout=FALSE initialize=FALSE keyAvailable=FALSE
    keyDone=FALSE keyRun=FALSE keyTxEnabled=FALSE portControl=Auto
    portEnabled=TRUE portValid=TRUE reAuthenticate=FALSE
    Authenticator PAE:
      state=HELD
      eapolLogoff=FALSE eapolStart=FALSE eapRestart=FALSE
      portMode=Auto reAuthCount=1
      quietPeriod=60 reAuthMax=2
      authEntersConnecting=174
      authEapLogoffsWhileConnecting=0
      authEntersAuthenticating=120
      authAuthSuccessesWhileAuthenticating=14
      authAuthTimeoutsWhileAuthenticating=0
      authAuthFailWhileAuthenticating=107
      authAuthEapStartsWhileAuthenticating=0
      authAuthEapLogoffWhileAuthenticating=0
      authAuthReauthsWhileAuthenticated=14
      authAuthEapStartsWhileAuthenticated=0
      authAuthEapLogoffWhileAuthenticated=0
    Backend Authentication:
      state=IDLE
      eapNoReq=FALSE eapReq=FALSE eapResp=TRUE
      serverTimeout=30
      backendResponses=241
      backendAccessChallenges=120
      backendOtherRequestsToSupplicant=241
      backendAuthSuccesses=14
      backendAuthFails=107
    Reauthentication Timer:
      state=INITIALIZE
      reAuthPeriod=3600 reAuthEnabled=TRUE
    Authenticator Key Transmit:
      state=NO_KEY_TRANSMIT
    Key Receive:
      state=NO_KEY_RECEIVE
      rxKey=FALSE
    Controlled Directions:
      state=FORCE_BOTH
      adminControlledDirections=Both operControlledDirections=Both
      operEdge=FALSE






More information about the Hostap mailing list