summaryrefslogtreecommitdiffstats
path: root/src/tests/eapsim-06/eapsim-raw.txt
blob: a2b0836636bdc697ef85ed0605113f1bc1a5f5d8 (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 = 0x30
	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 22 to 127.0.0.1:1812
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	Message-Authenticator = 0x00000000000000000000000000000000
	NAS-Port = 0
	EAP-Message = 0x0215001401323332343230313030303030303135
rad_recv: Access-Challenge packet from host 127.0.0.1:1812, id=22, length=78
	EAP-Message = 0x01270014120a00000f0200020001000011010100
	Message-Authenticator = 0x77ea02a9c89f5e87f5ce65c10877232f
	State = 0xf0524fef7731860cc1d28b0dc573017c
<+++ EAP decoded packet:
	EAP-Message = 0x01270014120a00000f0200020001000011010100
	Message-Authenticator = 0x77ea02a9c89f5e87f5ce65c10877232f
	State = 0xf0524fef7731860cc1d28b0dc573017c
	EAP-Id = 39
	EAP-Code = Request
	EAP-Type-SIM = 0x0a00000f0200020001000011010100
<+++ EAP-sim decoded packet:
	EAP-Message = 0x01270014120a00000f0200020001000011010100
	Message-Authenticator = 0x77ea02a9c89f5e87f5ce65c10877232f
	State = 0xf0524fef7731860cc1d28b0dc573017c
	EAP-Id = 39
	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 = 0x00000000000000000000000000000000
	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 = 39
	EAP-Message = 0x02270034120a000010010001070500001b764ea5668faa4b0e7dd876d25753f80e05000f32333234323031303030303030313500
	State = 0xf0524fef7731860cc1d28b0dc573017c
Sending Access-Request of id 23 to 127.0.0.1:1812
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	Message-Authenticator = 0x00000000000000000000000000000000
	NAS-Port = 0
	EAP-Message = 0x02270034120a000010010001070500001b764ea5668faa4b0e7dd876d25753f80e05000f32333234323031303030303030313500
	State = 0xf0524fef7731860cc1d28b0dc573017c
rad_recv: Access-Challenge packet from host 127.0.0.1:1812, id=23, length=138
	EAP-Message = 0x01280050120b0000010d00003000000000000000000000000000000031000000000000000000000000000000320000000000000000000000000000000b050000a91362adf370809ac998c123ebcb32bd
	Message-Authenticator = 0x2a36d73274543865af44e142fcce7723
	State = 0x73765e7615012c333beac9182696279c
<+++ EAP decoded packet:
	EAP-Message = 0x01280050120b0000010d00003000000000000000000000000000000031000000000000000000000000000000320000000000000000000000000000000b050000a91362adf370809ac998c123ebcb32bd
	Message-Authenticator = 0x2a36d73274543865af44e142fcce7723
	State = 0x73765e7615012c333beac9182696279c
	EAP-Id = 40
	EAP-Code = Request
	EAP-Type-SIM = 0x0b0000010d00003000000000000000000000000000000031000000000000000000000000000000320000000000000000000000000000000b050000a91362adf370809ac998c123ebcb32bd
<+++ EAP-sim decoded packet:
	EAP-Message = 0x01280050120b0000010d00003000000000000000000000000000000031000000000000000000000000000000320000000000000000000000000000000b050000a91362adf370809ac998c123ebcb32bd
	Message-Authenticator = 0x2a36d73274543865af44e142fcce7723
	State = 0x73765e7615012c333beac9182696279c
	EAP-Id = 40
	EAP-Code = Request
	EAP-Type-SIM = 0x0b0000010d00003000000000000000000000000000000031000000000000000000000000000000320000000000000000000000000000000b050000a91362adf370809ac998c123ebcb32bd
	EAP-Sim-Subtype = Challenge
	EAP-Sim-RAND = 0x0000300000000000000000000000000000003100000000000000000000000000000032000000000000000000000000000000
	EAP-Sim-MAC = 0x0000a91362adf370809ac998c123ebcb32bd
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)    01280050_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): a91362ad_f370809a_c998c123_ebcb32bd_6a2915c2
MAC check succeed

hmac-sha1 key(16): a4c96a3c_1b4e1932_acc3878d_ecb5d9c6
DATA: (40)    0228001c_120b0000_0b050000_00000000_00000000
	    00000000_00000000_30112233_31112233_32112233

hmac-sha1 mac(20): 7a3818ad_17959b80_99cd84eb_64e45346_d63098e9

+++> About to send encoded packet:
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	EAP-Code = Response
	Message-Authenticator = 0x00000000000000000000000000000000
	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 = 40
	State = 0x73765e7615012c333beac9182696279c
	EAP-Sim-MAC = 0x301122333111223332112233
	EAP-Sim-KEY = 0xa4c96a3c1b4e1932acc3878decb5d9c6
	EAP-Message = 0x0228001c120b00000b0500007a3818ad17959b8099cd84eb64e45346
Sending Access-Request of id 24 to 127.0.0.1:1812
	User-Name = "232420100000015"
	NAS-IP-Address = marajade.sandelman.ottawa.on.ca
	Message-Authenticator = 0x00000000000000000000000000000000
	NAS-Port = 0
	State = 0x73765e7615012c333beac9182696279c
	EAP-Message = 0x0228001c120b00000b0500007a3818ad17959b8099cd84eb64e45346
rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=24, length=177
	MS-MPPE-Recv-Key = 0x8000f5e4ed05a9bf17b9ec6a27f92d9df104966b03689665de45db4982ecdcc4
	MS-MPPE-Send-Key = 0x85c26910e886de4fbdfa4218b4ef2f64319c9b41b77b3c9069d616f90781438a
	EAP-Message = 0x03000004
	Message-Authenticator = 0xc34c14d1a9c794cbc3f7c5c274831277
	User-Name = "232420100000015"
<+++ EAP decoded packet:
	MS-MPPE-Recv-Key = 0x8000f5e4ed05a9bf17b9ec6a27f92d9df104966b03689665de45db4982ecdcc4
	MS-MPPE-Send-Key = 0x85c26910e886de4fbdfa4218b4ef2f64319c9b41b77b3c9069d616f90781438a
	EAP-Message = 0x03000004
	Message-Authenticator = 0xc34c14d1a9c794cbc3f7c5c274831277
	User-Name = "232420100000015"
	EAP-Id = 0
	EAP-Code = Success