<div>Hi all,</div> <div> </div> <div>I am newbie to the wpa_supplicant.</div> <DIV> </DIV> <DIV>We are running wpa_supplicant 0.5.5 on winxp professional 2002 service pack 2 laptop with opensource FreeRadius version 1.0.5</DIV> <DIV> </DIV> <div> </div> <div>I am understanding the code to do some modifications.Can any one </div> <div>clarify the following queries ?</div> <div> </div> <div><EM><FONT color=#898a49><STRONG>1. where exactly in the code the master session key is filled ?I hope in </STRONG></FONT></EM></div> <div><FONT color=#898a49><STRONG><EM> STATE(EAP,METHOD) in eap.c </EM><EM>Please correct me if i am wrong.</EM></STRONG></FONT></div> <div><EM><FONT color=#898a49><STRONG></STRONG></FONT></EM> </div> <div><EM><FONT color=#898a49><STRONG>2. In which conditions this key will be freed ?</STRONG></FONT></EM></div> <div><EM></EM> </div> <div>Please check the following debug
messages.</div> <div> </div> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" color=#0000ff size=3><STRONG>EAP: EAP entering state SUCCESS</STRONG></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" color=#0000ff size=3><STRONG>CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully</STRONG></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>EAP: EAP entering state INITIALIZE</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>CTRL-EVENT-EAP-STARTED EAP authentication started</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>EAP: maintaining EAP method data for fast reauthentication</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>EAP: EAP entering state IDLE</FONT></DIV> <DIV class=MsoNormal
style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>RX EAPOL from 00:0b:0e:2d:00:02</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>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</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>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</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>EAPOL: Ignoring WPA EAPOL-Key frame in EAPOL state machines</FONT></DIV> <DIV class=MsoNormal
style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>IEEE 802.1X RX: version=1 type=3 length=95</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>EAPOL-Key type=254</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN><SPAN> </SPAN>key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>key_length=32 key_data_length=0</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>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</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>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</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>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</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>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</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>State: ASSOCIATED -> 4WAY_HANDSHAKE</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>WPA: RX message 1 of 4-Way Handshake from 00:0b:0e:2d:00:02 (ver=1)</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" color=#0000ff
size=3><STRONG>WPA: Failed to get master session key from EAPOL state machines</STRONG></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3></FONT> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>I checked in the code for the above message and i find out that MSK is NULL.</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3></FONT> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Thanks in advance,</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Aravind.</FONT></DIV> <DIV> </DIV><p> 
        
        
                <hr size=1></hr>
Here’s a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a>