Reading configuration file 'eap-sim.conf'
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=7):
     65 78 61 6d 70 6c 65                              example
key_mgmt: 0x1
eap methods - hexdump(len=16): 00 00 00 00 12 00 00 00 00 00 00 00 00 00 00 00
identity - hexdump_ascii(len=51):
     31 31 32 33 30 31 31 32 33 30 31 31 32 33 34 35   1123011230112345
     40 77 6c 61 6e 2e 6d 6e 63 30 30 31 2e 6d 63 63   @wlan.mnc001.mcc
     31 32 33 2e 33 67 70 70 6e 65 74 77 6f 72 6b 2e   123.3gppnetwork.
     6f 72 67                                          org
password - hexdump_ascii(len=79):
     64 30 33 35 36 62 37 35 63 31 39 62 34 61 36 32   d0356b75c19b4a62
     62 31 61 35 34 32 33 61 61 63 63 39 36 65 34 32   b1a5423aacc96e42
     3a 33 30 31 31 39 64 64 33 66 37 35 39 32 65 66   :30119dd3f7592ef
     35 63 31 38 66 32 34 35 36 64 31 63 37 62 37 32   5c18f2456d1c7b72
     32 3a 30 30 30 30 30 30 30 30 30 30 30 30 31      2:0000000000001
Priority group 0
   id=0 ssid='example'
Authentication server 10.137.185.63:1812
RADIUS local address: 172.18.172.148:49039
ENGINE: Loading builtin engines
ENGINE: Loading builtin engines
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Sending fake EAP-Request-Identity
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_PAE entering state RESTART
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=60 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state IDENTITY
CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: Status notification: started (param=)
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=51):
     31 31 32 33 30 31 31 32 33 30 31 31 32 33 34 35   1123011230112345
     40 77 6c 61 6e 2e 6d 6e 63 30 30 31 2e 6d 63 63   @wlan.mnc001.mcc
     31 32 33 2e 33 67 70 70 6e 65 74 77 6f 72 6b 2e   123.3gppnetwork.
     6f 72 67                                          org
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
WPA: eapol_test_eapol_send(type=0 len=56)
TX EAP -> RADIUS - hexdump(len=56): 02 3c 00 38 01 31 31 32 33 30 31 31 32 33 30 31 31 32 33 34 35 40 77 6c 61 6e 2e 6d 6e 63 30 30 31 2e 6d 63 63 31 32 33 2e 33 67 70 70 6e 65 74 77 6f 72 6b 2e 6f 72 67
Encapsulating EAP message into a RADIUS packet
Learned identity from EAP-Response-Identity - hexdump(len=51): 31 31 32 33 30 31 31 32 33 30 31 31 32 33 34 35 40 77 6c 61 6e 2e 6d 6e 63 30 30 31 2e 6d 63 63 31 32 33 2e 33 67 70 70 6e 65 74 77 6f 72 6b 2e 6f 72 67
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=0 length=216
   Attribute 1 (User-Name) length=53
      Value: '1123011230112345@wlan.mnc001.mcc123.3gppnetwork.org'
   Attribute 4 (NAS-IP-Address) length=6
      Value: 127.0.0.1
   Attribute 31 (Calling-Station-Id) length=19
      Value: '02-00-00-00-00-01'
   Attribute 12 (Framed-MTU) length=6
      Value: 1400
   Attribute 61 (NAS-Port-Type) length=6
      Value: 19
   Attribute 6 (Service-Type) length=6
      Value: 2
   Attribute 77 (Connect-Info) length=24
      Value: 'CONNECT 11Mbps 802.11b'
   Attribute 79 (EAP-Message) length=58
      Value: 023c0038013131323330313132333031313233343540776c616e2e6d6e633030312e6d63633132332e336770706e6574776f726b2e6f7267
   Attribute 80 (Message-Authenticator) length=18
      Value: d01b99c451f1a2e171b98cb153d7d33f
Next RADIUS client retransmit in 3 seconds
EAPOL: SUPP_BE entering state RECEIVE
Received 80 bytes from RADIUS server
Received RADIUS message
RADIUS message: code=11 (Access-Challenge) identifier=0 length=80
   Attribute 79 (EAP-Message) length=24
      Value: 013d001604102472b3b2d7feed541fa9576dcbd7e59c
   Attribute 80 (Message-Authenticator) length=18
      Value: 97a0f81a7023c7d12fb6b3ebe2b95df2
   Attribute 24 (State) length=18
      Value: 0101610092ff3698653b61f2611d1693
STA 02:00:00:00:00:01: Received RADIUS packet matched with a pending request, round trip time 0.01 sec

RADIUS packet matching with station
decapsulated EAP packet (code=1 id=61 len=22) from RADIUS server: EAP-Request-MD5 (4)
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=61 method=4 vendor=0 vendorMethod=0
EAP: EAP entering state GET_METHOD
EAP: configuration does not allow: vendor 0 method 4
EAP: vendor 0 method 4 not allowed
CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=4 -> NAK
EAP: Status notification: refuse proposed method (param=MD5)
EAP: Building EAP-Nak (requested type 4 vendor=0 method=0 not allowed)
EAP: allowed methods - hexdump(len=1): 12
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
WPA: eapol_test_eapol_send(type=0 len=6)
TX EAP -> RADIUS - hexdump(len=6): 02 3d 00 06 03 12
Encapsulating EAP message into a RADIUS packet
  Copied RADIUS State Attribute
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=1 length=184
   Attribute 1 (User-Name) length=53
      Value: '1123011230112345@wlan.mnc001.mcc123.3gppnetwork.org'
   Attribute 4 (NAS-IP-Address) length=6
      Value: 127.0.0.1
   Attribute 31 (Calling-Station-Id) length=19
      Value: '02-00-00-00-00-01'
   Attribute 12 (Framed-MTU) length=6
      Value: 1400
   Attribute 61 (NAS-Port-Type) length=6
      Value: 19
   Attribute 6 (Service-Type) length=6
      Value: 2
   Attribute 77 (Connect-Info) length=24
      Value: 'CONNECT 11Mbps 802.11b'
   Attribute 79 (EAP-Message) length=8
      Value: 023d00060312
   Attribute 24 (State) length=18
      Value: 0101610092ff3698653b61f2611d1693
   Attribute 80 (Message-Authenticator) length=18
      Value: 47546fa7b0cc5e200557bbb2730a420c
Next RADIUS client retransmit in 3 seconds
EAPOL: SUPP_BE entering state RECEIVE
Received 138 bytes from RADIUS server
Received RADIUS message
RADIUS message: code=11 (Access-Challenge) identifier=1 length=138
   Attribute 79 (EAP-Message) length=82
      Value: 01860050120b00000b050000886a4c488d2e42081970d971ec9132e9010d000037fe086d15a92944f64a8a4819c52b6da9e1d7386888e17f570a3fd9d37ede1e273af7dafecc6bab8f4d4312b4c43319
   Attribute 80 (Message-Authenticator) length=18
      Value: e55dc9bf8e9ad726f4eeb136869eb737
   Attribute 24 (State) length=18
      Value: 020361000a049eb6653b61f2611d1693
STA 02:00:00:00:00:01: Received RADIUS packet matched with a pending request, round trip time 0.01 sec

RADIUS packet matching with station
decapsulated EAP packet (code=1 id=134 len=80) from RADIUS server: EAP-Request-SIM (18)
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=134 method=18 vendor=0 vendorMethod=0
EAP: EAP entering state GET_METHOD
CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=18
EAP: Status notification: accept proposed method (param=SIM)
EAP: Initialize selected EAP method: vendor 0 method 18 (SIM)
Get randomness: len=16 entropy=0
random from os_get_random - hexdump(len=16): 15 6a f7 02 e3 d6 08 b8 30 9e 72 19 b1 69 77 0f
random_mix_pool - hexdump(len=20): 0d b9 b1 bf 70 7c bd fa 8b 8c 0a 46 d8 96 87 a4 8e 89 0d 7d
random from internal pool - hexdump(len=16): 52 c7 66 0a bf 85 ed d3 d8 c1 5b 8c 5d 36 f0 8e
mixed random - hexdump(len=16): 47 ad 91 08 5c 53 e5 6b e8 5f 29 95 ec 5f 87 81
EAP-SIM: CONTINUE -> CONTINUE
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 18 (SIM) selected
EAP: EAP entering state METHOD
EAP-SIM: EAP data - hexdump(len=80): 01 86 00 50 12 0b 00 00 0b 05 00 00 88 6a 4c 48 8d 2e 42 08 19 70 d9 71 ec 91 32 e9 01 0d 00 00 37 fe 08 6d 15 a9 29 44 f6 4a 8a 48 19 c5 2b 6d a9 e1 d7 38 68 88 e1 7f 57 0a 3f d9 d3 7e de 1e 27 3a f7 da fe cc 6b ab 8f 4d 43 12 b4 c4 33 19
EAP-SIM: Subtype=11
EAP-SIM: Attribute: Type=11 Len=20
EAP-SIM: Attribute data - hexdump(len=18): 00 00 88 6a 4c 48 8d 2e 42 08 19 70 d9 71 ec 91 32 e9
EAP-SIM: AT_MAC
EAP-SIM: Attribute: Type=1 Len=52
EAP-SIM: Attribute data - hexdump(len=50): 00 00 37 fe 08 6d 15 a9 29 44 f6 4a 8a 48 19 c5 2b 6d a9 e1 d7 38 68 88 e1 7f 57 0a 3f d9 d3 7e de 1e 27 3a f7 da fe cc 6b ab 8f 4d 43 12 b4 c4 33 19
EAP-SIM: AT_RAND
EAP-SIM: Attributes parsed successfully (aka=0 encr=0)
EAP-SIM: subtype Challenge
EAP-SIM: Unexpected Challenge in state CONTINUE
EAP-SIM: CONTINUE -> FAILURE
EAP-SIM: Send Client-Error (error code 0)
EAP: method process -> ignore=FALSE methodState=DONE decision=FAIL eapRespData=0x55a55421d820
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
WPA: eapol_test_eapol_send(type=0 len=12)
TX EAP -> RADIUS - hexdump(len=12): 02 86 00 0c 12 0e 00 00 16 01 00 00
Encapsulating EAP message into a RADIUS packet
  Copied RADIUS State Attribute
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=2 length=190
   Attribute 1 (User-Name) length=53
      Value: '1123011230112345@wlan.mnc001.mcc123.3gppnetwork.org'
   Attribute 4 (NAS-IP-Address) length=6
      Value: 127.0.0.1
   Attribute 31 (Calling-Station-Id) length=19
      Value: '02-00-00-00-00-01'
   Attribute 12 (Framed-MTU) length=6
      Value: 1400
   Attribute 61 (NAS-Port-Type) length=6
      Value: 19
   Attribute 6 (Service-Type) length=6
      Value: 2
   Attribute 77 (Connect-Info) length=24
      Value: 'CONNECT 11Mbps 802.11b'
   Attribute 79 (EAP-Message) length=14
      Value: 0286000c120e000016010000
   Attribute 24 (State) length=18
      Value: 020361000a049eb6653b61f2611d1693
   Attribute 80 (Message-Authenticator) length=18
      Value: 1e11304c92d2a02ac396262ffde30fc3
Next RADIUS client retransmit in 3 seconds
EAPOL: SUPP_BE entering state RECEIVE
Received 44 bytes from RADIUS server
Received RADIUS message
RADIUS message: code=3 (Access-Reject) identifier=2 length=44
   Attribute 79 (EAP-Message) length=6
      Value: 04860004
   Attribute 80 (Message-Authenticator) length=18
      Value: 8ae90cba8124b5d77a18f9ba3e1365d5
STA 02:00:00:00:00:01: Received RADIUS packet matched with a pending request, round trip time 1.01 sec

RADIUS packet matching with station
decapsulated EAP packet (code=4 id=134 len=4) from RADIUS server: EAP Failure
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Failure
EAP: Status notification: completion (param=failure)
EAP: EAP entering state FAILURE
CTRL-EVENT-EAP-FAILURE EAP authentication failed
EAPOL: SUPP_PAE entering state HELD
EAPOL: SUPP_BE entering state RECEIVE
EAPOL: SUPP_BE entering state FAIL
EAPOL: SUPP_BE entering state IDLE
eapol_sm_cb: result=0
EAPOL: EAP key not available
EAPOL: EAP Session-Id not available
WPA: Clear old PMK and PTK
EAP: deinitialize previously used EAP method (18, SIM) at EAP deinit
MPPE keys OK: 0  mismatch: 1
FAILURE