eap sim authorization problem
Iliya Peregoudov
iperegudov at cboss.ru
Tue Jun 11 08:51:46 CEST 2013
On 11.06.2013 7:00, raptor raptor wrote:
> i'm sorry i dont understand about LF UNIX line ending, could you show me
> what should i do to simtriplets.dat format?
> is there any mistake?
Run
dos2unix simtriplets.dat
in UNIX shell. This will ensure simtriplets.dat has UNIX line endings.
> i got that format in /src/tests/eapsim-03/users-example.txt
> what should i fill in Rand1 attribute?
I assume that your simtriplets.dat contains correct auth vectors (e.g.
generated by SIM card and extracted using agsm program):
1510019760806391,AAC0FAFDC47D4524AC9E2A3D51BDBA39,2A71bac3,7868589a75fdc000
1510019760806391,BF9A9F6EEB36422895D010927D76972C,F49dd880,3Afbcf2fA9b0a000
1510019760806391,C63837CFECD348deB119C35CFECD4898,49312999,FD488938B6f2a000
Equivalent users entry should look like:
1510019760806391 EAP-Type:=SIM
EAP-Sim-Rand1:=0xAAC0FAFDC47D4524AC9E2A3D51BDBA39,
EAP-Sim-SRES1:=0x2A71bac3,
EAP-Sim-KC1:=0x7868589a75fdc000,
EAP-Sim-Rans2:=0xBF9A9F6EEB36422895D010927D76972C,
EAP-Sim-SRES2:=0xF49dd880,
EAP-Sim-KC2:=0x3Afbcf2fA9b0a000,
EAP-Sim-Rand3:=0xC63837CFECD348deB119C35CFECD4898,
EAP-Sim-SRES3:=0x49312999,
EAP-Sim-KC3:=0xFD488938B6f2a000
More information about the Freeradius-Users
mailing list