EAP-AKA testing without HLR/HSS
Antoni Milton
antoni_india at yahoo.com
Tue Apr 30 11:04:59 CEST 2013
Thanks a lot Brian for your Response.
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.
Could you please point me the location/ repository to get the source code ?
Thanks
Antoni Milton.
________________________________
From: Brian Candler <B.Candler at pobox.com>
To: antoni milton <antoni_india at yahoo.com>
Cc: "freeradius-users at lists.freeradius.org" <freeradius-users at lists.freeradius.org>
Sent: Thursday, April 25, 2013 2:47 PM
Subject: Re: EAP-AKA testing without HLR/HSS
On Wed, Apr 24, 2013 at 08:11:11AM -0700, antoni milton wrote:
> Please let me know , if its possible to test EAP-AKA
> authentication without HLR/HSS using freeradius.
Please don't cross-post.
There is code in hostapd which you may be able to modify to do what you
want:
$ grep -R USIM_SIM .
./src/eap_peer/eap_aka.c:#ifdef CONFIG_USIM_SIMULATOR
./src/eap_peer/eap_aka.c:#endif /* CONFIG_USIM_SIMULATOR */
./wpa_supplicant/android.config:#CONFIG_USIM_SIMULATOR=y
./wpa_supplicant/Android.mk:ifdef CONFIG_USIM_SIMULATOR
./wpa_supplicant/Android.mk:L_CFLAGS += -DCONFIG_USIM_SIMULATOR
./wpa_supplicant/ChangeLog: enable with CONFIG_SIM_SIMULATOR=y/CONFIG_USIM_SIMULATOR=y in .config
./wpa_supplicant/defconfig:#CONFIG_USIM_SIMULATOR=y
./wpa_supplicant/Makefile:ifdef CONFIG_USIM_SIMULATOR
./wpa_supplicant/Makefile:CFLAGS += -DCONFIG_USIM_SIMULATOR
2008-11-23 - v0.6.6
* added Milenage SIM/USIM emulator for EAP-SIM/EAP-AKA
(can be used to simulate test SIM/USIM card with a known private key;
enable with CONFIG_SIM_SIMULATOR=y/CONFIG_USIM_SIMULATOR=y in .config
and password="Ki:OPc"/password="Ki:OPc:SQN" in network configuration)
It looks like src/crypto/milenage.c does the actual checking, and that's
what you'd have to move into radius.
Any questions about that code need to go to the hostapd list of course.
HTH,
Brian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130430/324886df/attachment.html>
More information about the Freeradius-Users
mailing list