<div>Hello everybody,</div>
<div> </div>
<div>I'm trying to make a testbed for EAP-SIM with freeradius to authenticate on a WLAN network.</div>
<div>it works well thanks to the patch provided by seek-for-android : you can see the details here :</div>
<div><a href="http://code.google.com/p/seek-for-android/wiki/EapSimAka">http://code.google.com/p/seek-for-android/wiki/EapSimAka</a></div>
<div>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</div>
<div>and don't have a HLR so we need to precalculate these values.</div>
<div> </div>
<div>For our testbed, we're using some MagicSIM we've programmed with our own Ki.</div>
<div>So I wonder if anybody has already done some integration of freeradius with openbsc HLR to do EAP-SIM ?</div>
<div> </div>
<div>Or is there a tool to calculate the triplets (RAND, SRES, KC) with input the IMSI (and Ki stored in the database) ?<br>If not, could someone points me where to start to write my own tool ? I don't think pysim can do it...</div>

<div> </div>
<div>I found an entry about A3/A8 authentication here </div>
<div><a href="http://openbsc.osmocom.org/trac/changeset/3606cc576502b95d4973fac2af76d1b9bdc4705b">http://openbsc.osmocom.org/trac/changeset/3606cc576502b95d4973fac2af76d1b9bdc4705b</a></div>
<div>     int get_authtuple_by_subscr(struct gsm_auth_tuple *atuple, struct gsm_subscriber *subscr)  <br>...but I want to calculate gsm_auth_tuple, not retreive it from the database...</div>
<div> </div>
<div> </div>
<div>Thanks for any information :) </div>
<div> </div>
<div>-- </div>
<div>Thus0</div>
<div> </div>
<div> </div>
<div> </div>