hostapd with wpa dont work on big endian systems

Gunter Burchardt gbur
Thu Sep 9 03:55:07 PDT 2004


Hello,

I tested hostap with wpa on a big endian system (IXP425). I think there
is a problem in MIC calculation. Here a log of hostapd. I will try to
find the problem.

wlan0: STA 00:0e:a6:c8:5a:88 IEEE 802.1X: decapsulated EAP packet
(code=3 id=15 len=4) from RADIUS server: EAP Success
IEEE 802.1X: 00:0e:a6:c8:5a:88 BE_AUTH entering state SUCCESS
IEEE 802.1X: Sending EAP Packet to 00:0e:a6:c8:5a:88 (identifier 15)
IEEE 802.1X: 00:0e:a6:c8:5a:88 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0e:a6:c8:5a:88 BE_AUTH entering state IDLE
IEEE 802.1X: 00:0e:a6:c8:5a:88 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0e:a6:c8:5a:88 REAUTH_TIMER entering state INITIALIZE
Received 40 bytes management frame
RX frame - hexdump(len=40): 0a 02 02 01 00 0e a6 c8 5a 88 00 02 6f 05
dc 3c 00 02 6f 05 dc 3c 80 d7 aa aa 03 00 00 00 88 8e 01 00 00 04 03
DATA (TX callback) ACK
IEEE 802.1X: 00:0e:a6:c8:5a:88 TX status - version=1 type=0 length=4 -
ack=1
WPA: 00:0e:a6:c8:5a:88 WPA_PTK entering state INITPMK
WPA: 00:0e:a6:c8:5a:88 WPA_PTK entering state PTKSTART
wlan0: STA 00:0e:a6:c8:5a:88 WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 0a 02 02 01 00 0e a6 c8 5a 88 00 02 6f 05
dc 3c 00 02 6f 05 dc 3c 90 d7 aa aa 03 00 00 00 88 8e 01 03 00 5f f
DATA (TX callback) ACK
IEEE 802.1X: 00:0e:a6:c8:5a:88 TX status - version=1 type=3 length=95 -
ack=1
Received 155 bytes management frame
RX frame - hexdump(len=155): 08 01 02 01 00 02 6f 05 dc 3c 00 0e a6 c8
5a 88 00 02 6f 05 dc 3c 10 25 aa aa 03 00 00 00 88 8e 01 03 00 77 f
DATA
IEEE 802.1X: 123 bytes from 00:0e:a6:c8:5a:88
   IEEE 802.1X: version=1 type=3 length=119
wlan0: STA 00:0e:a6:c8:5a:88 WPA: received EAPOL-Key frame (2/4
Pairwise)
WPA: 00:0e:a6:c8:5a:88 WPA_PTK entering state PTKCALCNEGOTIATING
PMK - hexdump(len=32): 58 31 c6 e7 aa 8f 5c 89 aa 14 b7 10 63 9e ae cc
a0 9b 1f 4f 3e 81 3c 73 9f 7e bb 66 b3 eb 84 de
PTK - hexdump(len=64): 2a 6c 29 b6 42 ac 95 db 02 f8 5c 75 26 ce 86 2c
94 6a 2d 37 cf 8d 47 30 9b 80 d4 dd 45 5a fd 14 8b 4d ff cc 4a 6d 6
wlan0: STA 00:0e:a6:c8:5a:88 WPA: invalid MIC in msg 2/4 of 4-Way
Handshake

regards
gunter




More information about the Hostap mailing list