Master Session Key (MSK) reg

Aravind babu aravindforn
Fri Mar 2 02:01:02 PST 2007


Hi all,
   
  I am newbie to the wpa_supplicant.
   
  We are running wpa_supplicant 0.5.5 on winxp professional 2002 service pack 2  laptop with opensource FreeRadius version 1.0.5
   
   
  I am understanding the code to do some modifications.Can any one 
  clarify the following queries ?
   
  1. where exactly in the code the master session key is filled ?I hope in 
      STATE(EAP,METHOD) in eap.c  Please correct me if i am wrong.
   
  2. In which conditions this key will be freed ?
   
  Please check the following debug messages.
   
  EAP: EAP entering state SUCCESS
  CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
  EAP: EAP entering state INITIALIZE
  CTRL-EVENT-EAP-STARTED EAP authentication started
  EAP: maintaining EAP method data for fast reauthentication
  EAP: EAP entering state IDLE
  RX EAPOL from 00:0b:0e:2d:00:02
  RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 ee 8f 1c 25 fa ab 08 a1 c6 87 b4 dd 52 23 20 d9 9e
   7f 4c 95 aa 9b 38 11 76 77 e4 4d 02 13 52 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  EAPOL: Ignoring WPA EAPOL-Key frame in EAPOL state machines
  IEEE 802.1X RX: version=1 type=3 length=95
    EAPOL-Key type=254
    key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
    key_length=32 key_data_length=0
    replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
    key_nonce - hexdump(len=32): ee 8f 1c 25 fa ab 08 a1 c6 87 b4 dd 52 23 20 d9 9e 7f 4c 95 aa 9b 38 11 76 77 e4 4d 02 13 52 43
    key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
    key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
    key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 ee 8f 1c 25 fa ab 08 a1 c6 87 b4 dd 52 23
   20 d9 9e 7f 4c 95 aa 9b 38 11 76 77 e4 4d 02 13 52 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  State: ASSOCIATED -> 4WAY_HANDSHAKE
  WPA: RX message 1 of 4-Way Handshake from 00:0b:0e:2d:00:02 (ver=1)
  WPA: Failed to get master session key from EAPOL state machines
   
  I checked in the code for the above message and i find out that MSK is NULL.
   
  Thanks in advance,
  Aravind.
   

 				
---------------------------------
 Here?s a new way to find what you're looking for - Yahoo! Answers 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20070302/e9a6e587/attachment.htm 



More information about the Hostap mailing list