blob: 7c6d97fbe47e9854ff1f6c2a317b7bd0642c8958 (
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
|
+++> About to send encoded packet:
User-Name = "1244070100000001@eapsim.foo"
NAS-IP-Address = marajade.sandelman.ottawa.on.ca
EAP-Code = Response
EAP-Type-Identity = "1244070100000001@eapsim.foo"
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
NAS-Port = 0
EAP-Sim-Rand1 = 0x101112131415161718191a1b1c1d1e1f
EAP-Sim-SRES1 = 0xd1d2d3d4
EAP-Sim-Rand2 = 0x202122232425262728292a2b2c2d2e2f
EAP-Sim-SRES2 = 0xe1e2e3e4
EAP-Sim-Rand3 = 0x303132333435363738393a3b3c3d3e3f
EAP-Sim-SRES3 = 0xf1f2f3f4
EAP-Sim-KC1 = 0xa0a1a2a3a4a5a6a7
EAP-Sim-KC2 = 0xb0b1b2b3b4b5b6b7
EAP-Sim-KC3 = 0xc0c1c2c3c4c5c6c7
Sending Access-Request of id 999 to 127.0.0.1:1812
User-Name = "1244070100000001@eapsim.foo"
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 = "1244070100000001@eapsim.foo"
NAS-IP-Address = marajade.sandelman.ottawa.on.ca
EAP-Code = Response
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
NAS-Port = 0
EAP-Sim-Rand1 = 0x101112131415161718191a1b1c1d1e1f
EAP-Sim-SRES1 = 0xd1d2d3d4
EAP-Sim-Rand2 = 0x202122232425262728292a2b2c2d2e2f
EAP-Sim-SRES2 = 0xe1e2e3e4
EAP-Sim-Rand3 = 0x303132333435363738393a3b3c3d3e3f
EAP-Sim-SRES3 = 0xf1f2f3f4
EAP-Sim-KC1 = 0xa0a1a2a3a4a5a6a7
EAP-Sim-KC2 = 0xb0b1b2b3b4b5b6b7
EAP-Sim-KC3 = 0xc0c1c2c3c4c5c6c7
EAP-Sim-State = 1
EAP-Sim-Subtype = Start
EAP-Sim-SELECTED_VERSION = 0x0001
EAP-Sim-NONCE_MT = 0x000000a3f6b4e832cf46b4d3e0d090623e22
EAP-Sim-IDENTITY = 0x001b313234343037303130303030303030314065617073696d2e666f6f
EAP-Id = YY
EAP-Message = 0x02XX
State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
Sending Access-Request of id 999 to 127.0.0.1:1812
User-Name = "1244070100000001@eapsim.foo"
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 = 0x0b0000010d0000101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f0b050000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<+++ EAP-sim decoded packet:
EAP-Message = 0x01XX
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
EAP-Id = YY
EAP-Code = Request
EAP-Type-SIM = 0x0b0000010d0000101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f0b050000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
EAP-Sim-Subtype = Challenge
EAP-Sim-RAND = 0x0000101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f
EAP-Sim-MAC = 0xYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Input was:
identity: (len=27)313234343037303130303030303030314065617073696d2e666f6f
nonce_mt: 00a3f6b4e832cf46b4d3e0d090623e22
rand0: 00000000000000000000000000000000
rand1: 00000000000000000000000000000000
rand2: 00000000000000000000000000000000
sres0: d1d2d3d4
sres1: e1e2e3e4
sres2: f1f2f3f4
Kc0: a0a1a2a3a4a5a6a7
Kc1: b0b1b2b3b4b5b6b7
Kc2: c0c1c2c3c4c5c6c7
versionlist[2]: 0001
select 00 01
Output
mk: 2a56fd95_adac4bf7_645c2e60_7296a8af_9e1214a1
K_aut: 2853a70a_4ca089cc_0cf8a24a_45ecec93
K_encr: 77987afb_1cfd251d_749d2f16_0611338e
msk: e8adff17_1d82d5e6_9a78d526_1e86ee56_93cbe646
59332585_1f1f58f0_598c3a0c_1640339b_c3407fb4
56a14ada_a4791445_e8a3cf40_49b4628f_8e9f597a
7891e9d2
emsk: b33c4a19_c1df9108_17196271_7c4b7f98_e53a64ba
a67d4e23_5ff142cb_6e427434_8a71358a_3c2b1313
4cec6be3_a99e60c8_ae543fdd_52ecd7b3_0542e1df
5d10c5f7
MAC check succeed
+++> About to send encoded packet:
User-Name = "1244070100000001@eapsim.foo"
NAS-IP-Address = marajade.sandelman.ottawa.on.ca
EAP-Code = Response
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
NAS-Port = 0
EAP-Sim-Rand1 = 0x101112131415161718191a1b1c1d1e1f
EAP-Sim-SRES1 = 0xd1d2d3d4
EAP-Sim-Rand2 = 0x202122232425262728292a2b2c2d2e2f
EAP-Sim-SRES2 = 0xe1e2e3e4
EAP-Sim-Rand3 = 0x303132333435363738393a3b3c3d3e3f
EAP-Sim-SRES3 = 0xf1f2f3f4
EAP-Sim-KC1 = 0xa0a1a2a3a4a5a6a7
EAP-Sim-KC2 = 0xb0b1b2b3b4b5b6b7
EAP-Sim-KC3 = 0xc0c1c2c3c4c5c6c7
EAP-Sim-State = 1
EAP-Sim-Subtype = Challenge
EAP-Id = YY
State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
EAP-Sim-MAC = 0xd1d2d3d4e1e2e3e4f1f2f3f4
EAP-Sim-KEY = 0x2853a70a4ca089cc0cf8a24a45ecec93
EAP-Message = 0x02XX
Sending Access-Request of id 999 to 127.0.0.1:1812
User-Name = "1244070100000001@eapsim.foo"
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=189
MS-MPPE-Recv-Key = 0xe8adff171d82d5e69a78d5261e86ee5693cbe646593325851f1f58f0598c3a0c
MS-MPPE-Send-Key = 0x1640339bc3407fb456a14adaa4791445e8a3cf4049b4628f8e9f597a7891e9d2
EAP-Message = 0x03XX
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
User-Name = "1244070100000001@eapsim.foo"
<+++ EAP decoded packet:
MS-MPPE-Recv-Key = 0xe8adff171d82d5e69a78d5261e86ee5693cbe646593325851f1f58f0598c3a0c
MS-MPPE-Send-Key = 0x1640339bc3407fb456a14adaa4791445e8a3cf4049b4628f8e9f597a7891e9d2
EAP-Message = 0x03XX
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
User-Name = "1244070100000001@eapsim.foo"
EAP-Id = YY
EAP-Code = Success
|