about SIM SIMULATOR

Jouni Malinen j
Tue Dec 2 09:51:45 PST 2008


On Mon, Dec 01, 2008 at 09:50:03AM +0100, Fernando wrote:

> I'm using a triplets configured by me in freeradius (randomly).  When 
> the simulator  is used... must a specific triplets be configured? what 
> are the triplets that you are using?

Obviously, the credentials have to match between the server and the
client for authentication to make any sense. I've run a quick test with
following GSM-Milenage sample:

wpa_supplicant:

eap=SIM
identity="1232010000000000"
password="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b9258e6dca4760379fb82581"


FreeRADIUS simtriplets.dat:

# IMSI,RAND,SRES,Kc
232010000000000,30000000000000000000000000000000,91cad282,1e3d126daec995c4
232010000000000,30000000000000000000000000000001,6a6851fa,0b68c2592177e231
232010000000000,30000000000000000000000000000002,6359d3f9,45b453420e9517b0
1232010000000000,30000000000000000000000000000000,91cad282,1e3d126daec995c4
1232010000000000,30000000000000000000000000000001,6a6851fa,0b68c2592177e231
1232010000000000,30000000000000000000000000000002,6359d3f9,45b453420e9517b0

(it looks like the current FreeRADIUS EAP-SIM code did not handle the
extra '1' prefix in the identity so I had to include IMSI both with and
without this to get through EAP method selection and actual SIM
authentication)

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list