[Serusers] Problem with Radius Auth, any hint?

John Foster jfoste2003 at yahoo.com
Fri Oct 3 12:54:08 CEST 2003


Hi 
 
I m using RADIATOR with ser0.8.11, while ser is running it doesnt send req to radius, following are snapd of log generated at ser (ngrep o/p)
 
#
U 202.133.64.66:5060 -> 202.133.64.71:5060
  REGISTER sip:voice.cooking.com.pk SIP/2.0..Via: SIP/2.0/UDP 202.133.64.66;branch=z9hG4bKnp1730137267-43b5a45e202.133.64.6
  6..From: <sip:12321 at voice.cooking.com.pk>;tag=671fccba..To: <sip:12321 at voice.cooking.com.pk>..Call-ID: 1969536413-43c1d03
  a at 1969536416-43c1d037..Contact:  <sip:12321 at 202.133.64.66>;expires=600;q=0.500..Expires: 600..CSeq: 22 REGISTER..Content-
  Length: 0..User-Agent: Ahead SIPPS IP Phone Version 2.0.42.13....
#
U 202.133.64.71:5060 -> 202.133.64.66:5060
  SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 202.133.64.66;branch=z9hG4bKnp1730137267-43b5a45e202.133.64.66..From: <sip:123
  ;tag=671fccba..To">21 at voice.cooking.com.pk>;tag=671fccba..To: <sip:12321 at voice.cooking.com.pk>;tag=b27e1a1d33761e85846fc98f5f3a7e58.bdca..Ca
  ll-ID: 1969536413-43c1d03a at 1969536416-43c1d037..CSeq: 22 REGISTER..WWW-Authenticate: Digest realm="cooking.com.pk", nonce
  ="3f7d19d62902cb25358e2c666df77d1369d90974"..Server: Sip EXpress router (0.8.11 (i386/linux))..Content-Length: 0..Warning
  : 392 202.133.64.71:5060 "Noisy feedback tells:  pid=13339 req_src_ip=202.133.64.66 req_src_port=5060 in_uri=sip:voice.co
  oking.com.pk out_uri=sip:voice.cooking.com.pk via_cnt==1"....

 
While here is my ser.cfg
 
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode",   0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
#modparam("auth_dbs", "calculate_ha1", yes)
modparam("auth_radius", "radius_config", "/usr/local/etc/radiusclient/radiusclient.conf")
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
#modparam("auth_db", "password_column", "password")
modparam("auth_radius", "service_type", 15)
:
:
:
:
# Uncomment this if you want to use digest authentication
                        if (!radius_www_authorize("cooking.com.pk")) {
                                www_challenge("cooking.com.pk", "0");
                                break;
                        };

 
Any hint?
JF



---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20031003/72fa8d7d/attachment.htm>


More information about the sr-users mailing list