summaryrefslogtreecommitdiffstats
path: root/src/tests/eapsim-06/eapsim-out.txt
blob: 6597b00d0cc5c99b881fd53f54809253881d432b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
+++> About to send encoded packet:
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	EAP-Code = Response
	EAP-Type-Identity = "232420100000015"
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	NAS-Port = 0
	EAP-Sim-Rand1 = 0x30000000000000000000000000000000
	EAP-Sim-Rand2 = 0x31000000000000000000000000000000
	EAP-Sim-Rand3 = 0x32000000000000000000000000000000
	EAP-Sim-SRES1 = 0x30112233
	EAP-Sim-SRES2 = 0x31112233
	EAP-Sim-SRES3 = 0x32112233
	EAP-Sim-KC1 = 0x445566778899aabb
	EAP-Sim-KC2 = 0x445566778899aabb
	EAP-Sim-KC3 = 0x445566778899aabb
Sending Access-Request of id 999 to 127.0.0.1:1812
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	NAS-Port = 0
	EAP-Message = 0x02XX
rad_recv: Access-Challenge packet from host 127.0.0.1:1812, id=999, length=78
	EAP-Message = 0x01XX
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
<+++ EAP decoded packet:
	EAP-Message = 0x01XX
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	EAP-Id = YY
	EAP-Code = Request
	EAP-Type-SIM = 0x0a00000f0200020001000011010100
<+++ EAP-sim decoded packet:
	EAP-Message = 0x01XX
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	EAP-Id = YY
	EAP-Code = Request
	EAP-Type-SIM = 0x0a00000f0200020001000011010100
	EAP-Sim-Subtype = Start
	EAP-Sim-VERSION_LIST = 0x000200010000
	EAP-Sim-FULLAUTH_ID_REQ = 0x0100

+++> About to send encoded packet:
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	EAP-Code = Response
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	NAS-Port = 0
	EAP-Sim-Rand1 = 0x30000000000000000000000000000000
	EAP-Sim-Rand2 = 0x31000000000000000000000000000000
	EAP-Sim-Rand3 = 0x32000000000000000000000000000000
	EAP-Sim-SRES1 = 0x30112233
	EAP-Sim-SRES2 = 0x31112233
	EAP-Sim-SRES3 = 0x32112233
	EAP-Sim-KC1 = 0x445566778899aabb
	EAP-Sim-KC2 = 0x445566778899aabb
	EAP-Sim-KC3 = 0x445566778899aabb
	EAP-Sim-State = 1
	EAP-Sim-Subtype = Start
	EAP-Sim-SELECTED_VERSION = 0x0001
	EAP-Sim-NONCE_MT = 0x00001b764ea5668faa4b0e7dd876d25753f8
	EAP-Sim-IDENTITY = 0x000f323332343230313030303030303135
	EAP-Id = YY
	EAP-Message = 0x02XX
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
Sending Access-Request of id 999 to 127.0.0.1:1812
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	NAS-Port = 0
	EAP-Message = 0x02XX
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
rad_recv: Access-Challenge packet from host 127.0.0.1:1812, id=999, length=138
	EAP-Message = 0x01XX
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
<+++ EAP decoded packet:
	EAP-Message = 0x01XX
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	EAP-Id = YY
	EAP-Code = Request
	EAP-Type-SIM = 0x0b0000010d00003000000000000000000000000000000031000000000000000000000000000000320000000000000000000000000000000b050000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<+++ EAP-sim decoded packet:
	EAP-Message = 0x01XX
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	EAP-Id = YY
	EAP-Code = Request
	EAP-Type-SIM = 0x0b0000010d00003000000000000000000000000000000031000000000000000000000000000000320000000000000000000000000000000b050000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
	EAP-Sim-Subtype = Challenge
	EAP-Sim-RAND = 0x0000300000000000000000000000000000003100000000000000000000000000000032000000000000000000000000000000
	EAP-Sim-MAC = 0xYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Input was: 
   identity: (len=15)323332343230313030303030303135
   nonce_mt: 1b764ea5668faa4b0e7dd876d25753f8
   rand0: 00000000000000000000000000000000
   rand1: 00000000000000000000000000000000
   rand2: 00000000000000000000000000000000
   sres0: 30112233
   sres1: 31112233
   sres2: 32112233
   Kc0: 445566778899aabb
   Kc1: 445566778899aabb
   Kc2: 445566778899aabb
   versionlist[2]: 0001
   select 00 01


Output
mk:         a444d7cc_dd514568_da171dd4_229ed4d1_a088c470
K_aut:      a4c96a3c_1b4e1932_acc3878d_ecb5d9c6
K_encr:     f544a796_43c4d95f_90aaa5b7_74267742
msk:        8000f5e4_ed05a9bf_17b9ec6a_27f92d9d_f104966b
	    03689665_de45db49_82ecdcc4_85c26910_e886de4f
	    bdfa4218_b4ef2f64_319c9b41_b77b3c90_69d616f9
	    0781438a
emsk:       3c87c92f_44193e35_dd18e906_3d7cff8f_cb6d6002
	    bf233300_5df66776_70086929_f0d27970_3e59c480
	    675d6b45_0dc6a79a_51dc34b0_7091a5ff_8ca145ce
	    98accef2

hmac-sha1 key(16): a4c96a3c_1b4e1932_acc3878d_ecb5d9c6
DATA: (96)    01YY0050_120b0000_010d0000_30000000_00000000
	    00000000_00000000_31000000_00000000_00000000
	    00000000_32000000_00000000_00000000_00000000
	    0b050000_00000000_00000000_00000000_00000000
	    1b764ea5_668faa4b_0e7dd876_d25753f8

hmac-sha1 mac(20): XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
MAC check succeed

hmac-sha1 key(16): a4c96a3c_1b4e1932_acc3878d_ecb5d9c6
DATA: (40)    02YY001c_120b0000_0b050000_00000000_00000000
	    00000000_00000000_30112233_31112233_32112233

hmac-sha1 mac(20): XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX

+++> About to send encoded packet:
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	EAP-Code = Response
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	NAS-Port = 0
	EAP-Sim-Rand1 = 0x30000000000000000000000000000000
	EAP-Sim-Rand2 = 0x31000000000000000000000000000000
	EAP-Sim-Rand3 = 0x32000000000000000000000000000000
	EAP-Sim-SRES1 = 0x30112233
	EAP-Sim-SRES2 = 0x31112233
	EAP-Sim-SRES3 = 0x32112233
	EAP-Sim-KC1 = 0x445566778899aabb
	EAP-Sim-KC2 = 0x445566778899aabb
	EAP-Sim-KC3 = 0x445566778899aabb
	EAP-Sim-State = 1
	EAP-Sim-Subtype = Challenge
	EAP-Id = YY
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	EAP-Sim-MAC = 0x301122333111223332112233
	EAP-Sim-KEY = 0xa4c96a3c1b4e1932acc3878decb5d9c6
	EAP-Message = 0x02XX
Sending Access-Request of id 999 to 127.0.0.1:1812
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	NAS-Port = 0
	State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	EAP-Message = 0x02XX
rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=999, length=177
	MS-MPPE-Recv-Key = 0x8000f5e4ed05a9bf17b9ec6a27f92d9df104966b03689665de45db4982ecdcc4
	MS-MPPE-Send-Key = 0x85c26910e886de4fbdfa4218b4ef2f64319c9b41b77b3c9069d616f90781438a
	EAP-Message = 0x03XX
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	User-Name = "232420100000015"
<+++ EAP decoded packet:
	MS-MPPE-Recv-Key = 0x8000f5e4ed05a9bf17b9ec6a27f92d9df104966b03689665de45db4982ecdcc4
	MS-MPPE-Send-Key = 0x85c26910e886de4fbdfa4218b4ef2f64319c9b41b77b3c9069d616f90781438a
	EAP-Message = 0x03XX
	Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
	User-Name = "232420100000015"
	EAP-Id = YY
	EAP-Code = Success