WPA PSK-key length problem?
Manoj Verma, Noida
manojv
Mon Mar 7 03:14:53 PST 2005
In fact here is the packet which is generated by the WAP client I am using,
00 0f 34 89 29 8d 00 40 17 8b 82 f5 88 8e 01 0300 77 fe 09 01 00 20 00 00 00
00 00 00 00 01 512f d3 48 cd 31 98 0e b7 55 6b 6a 2f a9 57 88 0d11 c2 a3 42
4c 89 ee 42 a6 c5 26 7b 58 2c 94 4543 44 49 44 43 45 47 44 46 43 41 43 41 43
41 4341 43 41 43 41 41 41 00 00 20 00 01 c0 0c 00 f986 a2 e4 75 54 a6 9b c3
33 ea 71 1e 94 23 ab 1800 dd 16 00 50 f2 01 01 00 00 50 f2 05 01 00 0050 f2
02 01 00 00 50 f2 02
and here too the length is in fact 18 i.e. 24.
I am also wondering why AP is expecting 26 bytes in your case...
-----Original Message-----
From: hostap-bounces+manojv=noida.hcltech.com at shmoo.com
[mailto:hostap-bounces+manojv=noida.hcltech.com at shmoo.com] On Behalf Of
Holger Schurig
Sent: Monday, March 07, 2005 4:37 PM
To: hostap at shmoo.com
Subject: Re: WPA PSK-key length problem?
Hmm, I dissected the sent key and got this:
Dest MAC: 00 12 7f 8b 62 30
Source MAC: 00 10 c6 30 9b fe
EAPOL: 88 8e = ETH_P_EAPOL
Version: 01
Packet Type: 03 = IEEE802_1X_TYPE_EAPOL_KEY
Packet Body Len: 00 77 = 119
key_type: fe = EAPOL_KEY_TYPE_WPA
key_info: 01 09
key_len: 00 20
replay_counter: 00 00 00 00 00 00 00 02
key_nonce: cf 1d 81 62 ab c0 30 7a 7e c0 31 43 c9 0d 49 7f
79 97 12 8c 05 36 a7 cd 86 f0 b3 ef 7b 12 0d ec
key_iv: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc: 00 00 00 00 00 00 00 00
key_id: 00 00 00 00 00 00 00 00
key_mic: 96 5f c7 be 53 3f 7f a7 f9 36 d9 c3 e4 80 e7 62
data_length 00 18 = 24 bytes
WPA-IE: dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50
f2 02 01 00 00 50 f2 02
But I fail to see why the AP expects 26 bytes.
_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20050307/87f1a9c4/attachment.htm
More information about the Hostap
mailing list