EAP-SIM problem

Fernando fbernal at um.es
Fri Nov 21 07:27:29 EST 2008


Hi all,

Sorry if it arrives duplicate.

I'm trying to configurate a scenario using freeradius, hostapd and 
wpa_supplicant to use EAP-SIM, but I cannot obtain a successful 
authentication, it seems that fails in AT_MAC check.

any ideas?

This is the output from wpa_supplicant:

EAP-SIM: GSM authentication algorithm
EAP-SIM: Selected identity for MK derivation - hexdump_ascii(len=6):
    65 61 70 73 69 6d                                 eapsim          
EAP-SIM: MK - hexdump(len=20):
90 1f d2 e8 4e 37 0d bc f1 10 1e 4c 46 57 5c cd d7 ef 7b 13
EAP-SIM: K_encr - hexdump(len=16):
41 84 c4 c4 27 f3 36 c2 54 67 81 e2 2e 78 7f 9c
EAP-SIM: K_aut - hexdump(len=16):
38 bb 7d d0 7d 9a 8d 7e d4 fe 21 bb 18 a7 d1 5c
EAP-SIM: keying material (MSK) - hexdump(len=64):
1c 5e 20 90 85 cd 65 9c 9c 9a 79 fc 11 d0 b2 49 48 c3 d1 bf 53 71 84 79 
ad 8b 1b d3 04 62 7b 05 0f 6c f8 70 bb 2b 58 7c 68 a0 86 b0 3c 31 71 34 
05 98 73 8b d0 af d8 89 61 3a fc fd 58 b3 99 97
EAP-SIM: EMSK - hexdump(len=64):
c9 a5 34 c6 09 52 67 ce c7 5f 2f 69 88 91 55 50 7a 76 4d b7 40 ae 3e b8 
19 10 38 ce ac af 3f c1 37 a1 c2 f7 17 9f e6 3d bc 1a 0c 14 54 33 7d a3 
71 61 33 5a 8b 87 78 79 ec cf 84 0e 47 c9 a4 0f
EAP-SIM: Verify MAC - msg - hexdump(len=80):
01 06 00 50 12 0b 00 00 01 0d 00 00 10 11 12 13 14 15 16 17 18 19 1a 1b 
1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 
34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 0b 05 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00
EAP-SIM: Verify MAC - extra data - hexdump(len=16):
99 bc 28 02 51 f3 66 40 43 52 7d 4c 57 af 4d 8a
EAP-SIM: Verify MAC - K_aut - hexdump(len=16):
38 bb 7d d0 7d 9a 8d 7e d4 fe 21 bb 18 a7 d1 5c
EAP-SIM: Verify MAC: MAC - hexdump(len=16):
91 9e 4d 55 9b 62 18 68 db f2 46 dd da 3e 1b 4e
EAP-SIM: Challenge message used invalid AT_MAC
EAP-SIM: CONTINUE -> FAILURE


Thanks,
Fernando


More information about the HostAP mailing list