handshake times out at step 1 (openssl patch related?)

Michael Voorhaen michael.voorhaen
Mon Mar 23 06:05:34 PDT 2009


Hi,

I currently have hostapd running on a voyage distro and am still  
experiencing some problems with when using WPA-PSK with TKIP or CCMP.  
The supplicant is an OS X device, but I see the same behaviour with  
win XP. No problems with my iPhone and Window CE devices, for some  
unclear reason.

The error does not always occur, and is mostly fixed after I re-enter  
the password at the supplicant or just force a reconnect. It also  
occurs when roaming from one AP to another, both are configured with  
the same PSK (they are running the exact same image).

Basically the 4-way handshake seems to just timeout at the first step.  
I'm thinking two options at the moment:

* the supplicant ignores the first message because it thinks it is  
already authenticated, which doesn't sound correct to me and I've  
roamed between campus APs before, so that should work. I'm setting up  
a 3rd sniffing machine so I can snoop around on the network.
* the supplicant ignores the message because something is off in the  
protocol.

I do know that I recently built the last stable hostap version for our  
image, however I linked against the openssl 0.9.8 that came with the  
distro. Could this be the cause of my problems?

The output i'm getting:

WPA: 00:1e:c2:bc:f4:a5 WPA_PTK entering state PTKSTART
ath0: STA 00:1e:c2:bc:f4:a5 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8  
kde_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 1e c2 bc f4 a5 00 80 48 53 00 3e 88 8e  
02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 93 da 1b 30 94 0f  
13 06 8d c9 2d 15 37 d2 92 58 74 f3 c5 39 6b 8d 68 73 e1 ce 3d 41 12  
f5 b7 b9 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
ath0: STA 00:1e:c2:bc:f4:a5 WPA: EAPOL-Key timeout
WPA: 00:1e:c2:bc:f4:a5 WPA_PTK entering state PTKSTART
ath0: STA 00:1e:c2:bc:f4:a5 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8  
kde_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 1e c2 bc f4 a5 00 80 48 53 00 3e 88 8e  
02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 02 93 da 1b 30 94 0f  
13 06 8d c9 2d 15 37 d2 92 58 74 f3 c5 39 6b 8d 68 73 e1 ce 3d 41 12  
f5 b7 b9 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
ath0: STA 00:1e:c2:bc:f4:a5 WPA: EAPOL-Key timeout
WPA: 00:1e:c2:bc:f4:a5 WPA_PTK entering state PTKSTART
ath0: STA 00:1e:c2:bc:f4:a5 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8  
kde_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 1e c2 bc f4 a5 00 80 48 53 00 3e 88 8e  
02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 03 93 da 1b 30 94 0f  
13 06 8d c9 2d 15 37 d2 92 58 74 f3 c5 39 6b 8d 68 73 e1 ce 3d 41 12  
f5 b7 b9 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
ath0: STA 00:1e:c2:bc:f4:a5 WPA: EAPOL-Key timeout
WPA: 00:1e:c2:bc:f4:a5 WPA_PTK entering state PTKSTART
ath0: STA 00:1e:c2:bc:f4:a5 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8  
kde_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 1e c2 bc f4 a5 00 80 48 53 00 3e 88 8e  
02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 04 93 da 1b 30 94 0f  
13 06 8d c9 2d 15 37 d2 92 58 74 f3 c5 39 6b 8d 68 73 e1 ce 3d 41 12  
f5 b7 b9 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

Regards,
Michael

-------------------------
IBBT - PATS research group
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.25
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.38.75
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be/michael.voorhaen











More information about the Hostap mailing list