EAP-SIM on Radius 3.0 (devel)
Hi All, I'm testing EAP-SIM support on the latest version of freeradius (got it via git). <command> git clone git://git.freeradius.org/freeradius-server.git </command> After I have compiled and installed it, I have modified the configuration files, as I have done on the older versions (v2.2.0). But, when I try to run the daemon i got this error: <error> /usr/local/etc/raddb/radiusd.conf[613]: Failed to link to module 'rlm_sim_file': rlm_sim_file.so: cannot open shared object file: No such file or directory </error> <modified files> in /usr/local/etc/raddb/radiusd.conf: <changes_in_radiusd.conf> sim_files { simtriplets = "/usr/local/etc/raddb/simtriplets.dat" } </changes_in_radiusd.conf> in /usr/local/etc/raddb/sites-enabled/default <changes_in_default> In authorized {} sim_files </changes_in_default> in /usr/local/etc/raddb/mods-enabled/eap <changes_in_eap> sim{ } </changes_in_eap> What have changed on the 3.0 version (devel) of the freeradius?, perhaps rlm_sim_file is not needed anymore? Or there is a new configuration structure for supporting eap-sim? Please advice. Regards, --RM
Rodney Machado wrote:
After I have compiled and installed it, I have modified the configuration files, as I have done on the older versions (v2.2.0). But, when I try to run the daemon i got this error:
<error> /usr/local/etc/raddb/radiusd.conf[613]: Failed to link to module 'rlm_sim_file': rlm_sim_file.so: cannot open shared object file: No such file or directory </error>
The "sim_file" module has been deleted. See raddb/README.rst.
in /usr/local/etc/raddb/radiusd.conf:
<changes_in_radiusd.conf> sim_files { simtriplets = "/usr/local/etc/raddb/simtriplets.dat" }
For v3, module configuration is in raddb/mods-enabled. I strongly suggest following the default layout and examples.
What have changed on the 3.0 version (devel) of the freeradius?, perhaps rlm_sim_file is not needed anymore? Or there is a new configuration structure for supporting eap-sim?
There are other ways to update the SIM triplets. See rlm_passwd, which can read data from flat-text files. Alan DeKok.
Hi Alan, Thanks for your quick answer.
The "sim_file" module has been deleted. See raddb/README.rst. I have just read it, you were right.
For v3, module configuration is in raddb/mods-enabled.
I strongly suggest following the default layout and examples. I was using the recommendation found in /PATH_TO/freeradius-server/src/tests/eapsim-06/description.txt and in /PATH_TO/freeradius-server/doc/rlm_sim_triplets for testing the EAP-SIM feature.
There are other ways to update the SIM triplets. See rlm_passwd, which can read data from flat-text files. Your suggestion will be to treat the IMSI as regular usernames and use the rlm_passwd validate the user with the 3 groups of triplets as passwords? Did I understand right? Thanks again. Regards, -RM
On 30 Apr 2013, at 14:22, Rodney Machado <rodmachado@yahoo.com> wrote:
Hi Alan, Thanks for your quick answer.
The "sim_file" module has been deleted. See raddb/README.rst. I have just read it, you were right.
For v3, module configuration is in raddb/mods-enabled.
I strongly suggest following the default layout and examples. I was using the recommendation found in /PATH_TO/freeradius-server/src/tests/eapsim-06/description.txt and in /PATH_TO/freeradius-server/doc/rlm_sim_triplets
for testing the EAP-SIM feature.
There are other ways to update the SIM triplets. See rlm_passwd, which can read data from flat-text files. Your suggestion will be to treat the IMSI as regular usernames and use the rlm_passwd validate the user with the 3 groups of triplets as passwords? Did I understand right?
Yes. You can set the key to be the attribute containing the IMSI value. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
Rodney Machado wrote:
Your suggestion will be to treat the IMSI as regular usernames and use the rlm_passwd validate the user with the 3 groups of triplets as passwords? Did I understand right?
It should use the file to set the triplets. They are *not* passwords. See "man rlm_passwd" for examples of setting arbitrary attributes with the module. Alan DeKok.
Hi, Can you please tell me how to implement the EAP-SIM (freeradius -2.2.0) Thanks in advance.
On 6 Jun 2013, at 22:24, Kranthi <willingtolearn748@gmail.com> wrote:
Hi,
Can you please tell me how to implement the EAP-SIM (freeradius -2.2.0)
This is the development list, are you developing your own EAP-SIM code? No? Then go away. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
Sorry i want to know what configurations needs to be performed in order to use the EAP-SIM functionality. On Fri, Jun 7, 2013 at 12:59 PM, Arran Cudbard-Bell < a.cudbardb@freeradius.org> wrote:
On 6 Jun 2013, at 22:24, Kranthi <willingtolearn748@gmail.com> wrote:
Hi,
Can you please tell me how to implement the EAP-SIM (freeradius -2.2.0)
This is the development list, are you developing your own EAP-SIM code? No? Then go away.
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
participants (5)
-
Alan DeKok -
Arran Cudbard-Bell -
Kranthi -
Kranthi K -
Rodney Machado