<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thanks a lot Brian for your Response.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span style="background-color: transparent;">Now I am trying to download the source code but i am not able to get as a package within freeradius and android-wpa_supplicant.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york',
times, serif; background-color: transparent; font-style: normal;"><span>Could you please point me the location/ r</span><span style="font-size: 12pt;">epository to get the source code ? </span></div><div class="MsoNormal"> <br><o:p></o:p></div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Thanks</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Antoni Milton.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size:
12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Brian Candler <B.Candler@pobox.com><br> <b><span style="font-weight: bold;">To:</span></b> antoni milton <antoni_india@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "freeradius-users@lists.freeradius.org" <freeradius-users@lists.freeradius.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, April 25, 2013 2:47 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: EAP-AKA testing without HLR/HSS<br> </font> </div> <div class="y_msg_container"><br>On Wed, Apr 24, 2013 at 08:11:11AM -0700, antoni milton wrote:<br>> Please let me know , if its possible to test EAP-AKA<br>> authentication without HLR/HSS using freeradius.<br><br>Please don't cross-post.<br><br>There is code in hostapd which you may be able to modify
to do what you<br>want:<br><br>$ grep -R USIM_SIM .<br>./src/eap_peer/eap_aka.c:#ifdef CONFIG_USIM_SIMULATOR<br>./src/eap_peer/eap_aka.c:#endif /* CONFIG_USIM_SIMULATOR */<br>./wpa_supplicant/android.config:#CONFIG_USIM_SIMULATOR=y<br>./wpa_supplicant/Android.mk:ifdef CONFIG_USIM_SIMULATOR<br>./wpa_supplicant/Android.mk:L_CFLAGS += -DCONFIG_USIM_SIMULATOR<br>./wpa_supplicant/ChangeLog: enable with CONFIG_SIM_SIMULATOR=y/CONFIG_USIM_SIMULATOR=y in .config<br>./wpa_supplicant/defconfig:#CONFIG_USIM_SIMULATOR=y<br>./wpa_supplicant/Makefile:ifdef CONFIG_USIM_SIMULATOR<br>./wpa_supplicant/Makefile:CFLAGS += -DCONFIG_USIM_SIMULATOR<br><br>2008-11-23 - v0.6.6<br> * added Milenage SIM/USIM emulator for EAP-SIM/EAP-AKA<br> (can be used to simulate test SIM/USIM card with a known private key;<br> enable with
CONFIG_SIM_SIMULATOR=y/CONFIG_USIM_SIMULATOR=y in .config<br> and password="Ki:OPc"/password="Ki:OPc:SQN" in network configuration)<br><br>It looks like src/crypto/milenage.c does the actual checking, and that's<br>what you'd have to move into radius.<br><br>Any questions about that code need to go to the hostapd list of course.<br><br>HTH,<br><br>Brian.<br><br><br></div> </div> </div> </div></body></html>