[Users] OpenSER with freeRadius

Edson 4lists at gmail.com
Thu Mar 9 21:25:18 CET 2006


Please, if not there, include on the beginning of Your config the statement
“fork=yes” and give it a try.

 

Otherwise, how about send us Your complete config file?

 

Regards,

 

Edson.

 

  _____  

From: users-bounces at openser.org [mailto:users-bounces at openser.org] On Behalf
Of C. Ed Felt
Sent: quinta-feira, 9 de março de 2006 16:47
To: users at openser.org
Cc: 'Jaime Work'
Subject: Re: [Users] OpenSER with freeRadius

 

Thanks for all the great suggestions on further troubleshooting.
Currently we wish to focus on the Authentication piece of radius with
openser, we will look at the billing problem later.  

results without turning up debug level
[root at microtel root]# openser -c /usr/local/etc/openser/openser.cfg
Listening on
             udp: 68.157.82.100 [68.157.82.100]:5060
             tcp: 68.157.82.100 [68.157.82.100]:5060
Aliases:
             tcp: adsl-068-157-082-100.sip.bct.bellsouth.net:5060
             udp: adsl-068-157-082-100.sip.bct.bellsouth.net:5060

config file ok, exiting...

I have attached the debug after turning up debugging to level 9.

[root at microtel root]# openser -c /usr/local/etc/openser/openser.cfg 2>
openserdebug2006-03-09.log
Listening on
             udp: 68.157.82.100 [68.157.82.100]:5060
             tcp: 68.157.82.100 [68.157.82.100]:5060
Aliases:
             tcp: adsl-068-157-082-100.sip.bct.bellsouth.net:5060
             udp: adsl-068-157-082-100.sip.bct.bellsouth.net:5060

[root at microtel root]# gzip -9 openserdebug2006-03-09.log

Thanks,

C. Ed Felt Caflo Network Engineer/Programmer
 <http://www.caflo.com/> 
(801) 766-8433 (home)
(801) 420-8879 (cell)
74999 (h.323)
74777 (sip)
edeefelt at hotmail.com <mailto://edeefelt@hotmail> 
efelt at caflobvi.com
chat: edeefelt(aim), edeefelt (yahoo), edeefelt at hotmail.com (msn),
v_2chafe at hotmail.com (msn)
http://www.thefelts.net <http://www.thefelts.net/> 



Edson wrote: 

Hi Ed,
 
Please, what is the output of "openser -c <config-file>"?
 
If they doesn't display much information, it can be due to a broken config
file.
 
Regards,
 
Edson.
 
  

-----Original Message-----
From: users-bounces at openser.org [mailto:users-bounces at openser.org] On
Behalf Of Bogdan-Andrei Iancu
Sent: quinta-feira, 9 de março de 2006 07:13
To: efelt at caflobvi.com
Cc: Jaime Work; users at openser.org
Subject: Re: [Users] OpenSER with freeRadius
 
Hi Ed,
 
please note that there is not log attached :).
 
to get a higher debug level, changed in your cfg script the debug value
(9 for ex). The cfg value has priority over the parameters.
 
regards,
bogdan
 
C. Ed Felt wrote:
 
    

Fellow OpenSER users:
 
We have been using SER at our VoIP company for a few years now and
have been running in to security issues.  We are pleased to see
someone has taken improving SER seriously and are trying to move to
OpenSER but are having problems with the implementation we need:
OpenSER with Radius Accounting and Radius Authentication (with
freeradius and MySQL).
 
I compiled the latest stable version of openser on an FC1 Linux PC
with the needed modules added for Radius Authentication and
Accounting.  I am also using the latest version of freeradius.
 
I have spent plenty of time in the email archives and documentation
before asking you for help.
I seemed to have everything installed correctly after adding the line
'modparam("auth_radius", "radius_config",
"/usr/local/etc/radiusclient-ng/radiusclient.conf")' to the default
openser config file.  All the radius modules seem to load now and
openser doesn't exit with any errors.  But when I start openser and
check "ps -eaf | grep openser" it isn't running so I assume.  Here are
the last few lines of /var/log/messages:
 
 
I tried adding verbosity to the debug "-ddddd" but didn't get any more
information than the logs above.
I have also all ready included the needed dictionary file from openser
for freeradius in the freeradius dictionary config.
 
Here is my current config under modules loading for auth (only change
to default config besides modparam above):
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/openser/modules/auth.so"
#loadmodule "/usr/local/lib/openser/modules/auth_db.so"
loadmodule "/usr/local/lib/openser/modules/auth_radius.so"
#loadmodule "/usr/local/lib/openser/modules/group_radius.so"
#loadmodule "/usr/local/lib/openser/modules/uri_radius.so"
 
Please let me know what else I can try to get this working.  Some kind
of walk thru for the freeradius configuration would be helpful as well
(freeradius with MySQL).
 
--
 
*Thanks,*
 
*C. Ed Felt Caflo Network Engineer/Programmer*
 <http://www.caflo.com/> <http://www.caflo.com/>
(801) 766-8433 (home)
(801) 420-8879 (cell)
74999 (h.323)
74777 (sip)
edeefelt at hotmail.com  <mailto://edeefelt@hotmail>
<mailto://edeefelt@hotmail>
efelt at caflobvi.com  <mailto://efelt@caflobvi.com>
<mailto://efelt@caflobvi.com>
*chat: *edeefelt(aim), edeefelt (yahoo), edeefelt at hotmail.com (msn),
v_2chafe at hotmail.com (msn)
http://www.thefelts.net  <http://www.thefelts.net/>
<http://www.thefelts.net/>
 
------------------------------------------------------------------------
 
_______________________________________________
Users mailing list
Users at openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
 
 
      

 
_______________________________________________
Users mailing list
Users at openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
    

 
 
 
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060309/495d65a7/attachment.htm>


More information about the sr-users mailing list