HLR and EAP-SIM integration

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Thus0 Petrus thus0.petrus at gmail.com
Thu Aug 2 06:57:15 UTC 2012


Hello everybody,

I'm trying to make a testbed for EAP-SIM with freeradius to authenticate on
a WLAN network.
it works well thanks to the patch provided by seek-for-android : you can
see the details here :
http://code.google.com/p/seek-for-android/wiki/EapSimAka
but you need to store IMSI, RAND, SRES, KC in a flat file as by default, we
don't have the Ki of SIM cards
and don't have a HLR so we need to precalculate these values.

For our testbed, we're using some MagicSIM we've programmed with our own Ki.
So I wonder if anybody has already done some integration of freeradius with
openbsc HLR to do EAP-SIM ?

Or is there a tool to calculate the triplets (RAND, SRES, KC) with input
the IMSI (and Ki stored in the database) ?
If not, could someone points me where to start to write my own tool ? I
don't think pysim can do it...

I found an entry about A3/A8 authentication here
http://openbsc.osmocom.org/trac/changeset/3606cc576502b95d4973fac2af76d1b9bdc4705b
     int get_authtuple_by_subscr(struct gsm_auth_tuple *atuple, struct
gsm_subscriber *subscr)
...but I want to calculate gsm_auth_tuple, not retreive it from the
database...


Thanks for any information :)

-- 
Thus0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20120802/f84bc509/attachment.htm>


More information about the OpenBSC mailing list