blob: caed4d85826b9e86c31fcb8b0916fdbc7431e281 (
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 = "eapsim"
NAS-IP-Address = marajade.sandelman.ottawa.on.ca
EAP-Code = Response
EAP-Type-Identity = "eapsim"
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
NAS-Port = 0
EAP-Sim-Rand1 = 0xabcd1234abcd1234abcd1234abcd1234
EAP-Sim-Rand2 = 0xbcd1234abcd1234abcd1234abcd1234a
EAP-Sim-Rand3 = 0xcd1234abcd1234abcd1234abcd1234ab
EAP-Sim-SRES1 = 0x1234abcd
EAP-Sim-SRES2 = 0x234abcd1
EAP-Sim-SRES3 = 0x34abcd12
EAP-Sim-KC1 = 0x0011223344556677
EAP-Sim-KC2 = 0x1021324354657687
EAP-Sim-KC3 = 0x30415263748596a7
Sending Access-Request of id 999 to 127.0.0.1:1812
User-Name = "eapsim"
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 = "eapsim"
NAS-IP-Address = marajade.sandelman.ottawa.on.ca
EAP-Code = Response
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
NAS-Port = 0
EAP-Sim-Rand1 = 0xabcd1234abcd1234abcd1234abcd1234
EAP-Sim-Rand2 = 0xbcd1234abcd1234abcd1234abcd1234a
EAP-Sim-Rand3 = 0xcd1234abcd1234abcd1234abcd1234ab
EAP-Sim-SRES1 = 0x1234abcd
EAP-Sim-SRES2 = 0x234abcd1
EAP-Sim-SRES3 = 0x34abcd12
EAP-Sim-KC1 = 0x0011223344556677
EAP-Sim-KC2 = 0x1021324354657687
EAP-Sim-KC3 = 0x30415263748596a7
EAP-Sim-State = 1
EAP-Sim-Subtype = Start
EAP-Sim-SELECTED_VERSION = 0x0001
EAP-Sim-NONCE_MT = 0x000000a3f6b4e832cf46b4d3e0d090623e22
EAP-Sim-IDENTITY = 0x000665617073696d
EAP-Id = YY
EAP-Message = 0x02XX
State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
Sending Access-Request of id 999 to 127.0.0.1:1812
User-Name = "eapsim"
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 = 0x0b0000010d0000abcd1234abcd1234abcd1234abcd1234bcd1234abcd1234abcd1234abcd1234acd1234abcd1234abcd1234abcd1234ab0b050000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<+++ EAP-sim decoded packet:
EAP-Message = 0x01XX
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
EAP-Id = YY
EAP-Code = Request
EAP-Type-SIM = 0x0b0000010d0000abcd1234abcd1234abcd1234abcd1234bcd1234abcd1234abcd1234abcd1234acd1234abcd1234abcd1234abcd1234ab0b050000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
EAP-Sim-Subtype = Challenge
EAP-Sim-RAND = 0x0000abcd1234abcd1234abcd1234abcd1234bcd1234abcd1234abcd1234abcd1234acd1234abcd1234abcd1234abcd1234ab
EAP-Sim-MAC = 0xYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Input was:
identity: (len=6)65617073696d
nonce_mt: 00a3f6b4e832cf46b4d3e0d090623e22
rand0: 00000000000000000000000000000000
rand1: 00000000000000000000000000000000
rand2: 00000000000000000000000000000000
sres0: 1234abcd
sres1: 234abcd1
sres2: 34abcd12
Kc0: 0011223344556677
Kc1: 1021324354657687
Kc2: 30415263748596a7
versionlist[2]: 0001
select 00 01
Output
mk: 85153a7d_7dfe0a4f_f3bf72f3_3521ff76_b048dbb2
K_aut: 72cd7e8c_f2086e24_a98c1780_bc3d745b
K_encr: be789668_329769c3_73c0b64b_beffd665
msk: 9be9fbc9_5415fa9e_f9d52563_bddd9758_65a3fadb
47a5815a_7310cf3f_10123d4e_ccaf9d4b_30b13c80
4dd130e5_117f35ae_a0e50b43_9a08b80d_dd15922c
f7fd9956
emsk: 5dd5a779_65415b21_69aa1300_09dc6ba4_96433d1e
72065983_cbe8bc1d_6d744c99_dc76f16f_24324709
cb731af2_fbe69c6a_dd302662_a083d7e2_7c05c7cd
279c3f66
MAC check succeed
+++> About to send encoded packet:
User-Name = "eapsim"
NAS-IP-Address = marajade.sandelman.ottawa.on.ca
EAP-Code = Response
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
NAS-Port = 0
EAP-Sim-Rand1 = 0xabcd1234abcd1234abcd1234abcd1234
EAP-Sim-Rand2 = 0xbcd1234abcd1234abcd1234abcd1234a
EAP-Sim-Rand3 = 0xcd1234abcd1234abcd1234abcd1234ab
EAP-Sim-SRES1 = 0x1234abcd
EAP-Sim-SRES2 = 0x234abcd1
EAP-Sim-SRES3 = 0x34abcd12
EAP-Sim-KC1 = 0x0011223344556677
EAP-Sim-KC2 = 0x1021324354657687
EAP-Sim-KC3 = 0x30415263748596a7
EAP-Sim-State = 1
EAP-Sim-Subtype = Challenge
EAP-Id = YY
State = 0xABCDABCDABCDABCDABCDABCDABCDABCD
EAP-Sim-MAC = 0x1234abcd234abcd134abcd12
EAP-Sim-KEY = 0x72cd7e8cf2086e24a98c1780bc3d745b
EAP-Message = 0x02XX
Sending Access-Request of id 999 to 127.0.0.1:1812
User-Name = "eapsim"
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=168
MS-MPPE-Recv-Key = 0x9be9fbc95415fa9ef9d52563bddd975865a3fadb47a5815a7310cf3f10123d4e
MS-MPPE-Send-Key = 0xccaf9d4b30b13c804dd130e5117f35aea0e50b439a08b80ddd15922cf7fd9956
EAP-Message = 0x03XX
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
User-Name = "eapsim"
<+++ EAP decoded packet:
MS-MPPE-Recv-Key = 0x9be9fbc95415fa9ef9d52563bddd975865a3fadb47a5815a7310cf3f10123d4e
MS-MPPE-Send-Key = 0xccaf9d4b30b13c804dd130e5117f35aea0e50b439a08b80ddd15922cf7fd9956
EAP-Message = 0x03XX
Message-Authenticator = 0xABCDABCDABCDABCDABCDABCDABCDABCD
User-Name = "eapsim"
EAP-Id = YY
EAP-Code = Success
|