[OpenSIPS-Users] help needed for auth-radius

Michael Kakuschky kakuschky at bergedorf.de
Fri May 22 08:47:25 CEST 2009


Jinsong Hu schrieb:
> The freeradius I got come from 
> http://cdrtool.ag-projects.com/wiki/Install
> I installed it via
> apt-get install freeradius-xs freeradius-xs-mysql
> command as listed there in debian lenny. I checked the version of the 
> installed
> freeradius, it is 1.1.7 . according to the instruction , it is a 
> patched version.
>
> attached is the result of "freeradius -X". the client I used is 
> libradiusclient-ng2 in
> debian lenny.  I suspect that client.conf or radiusd.conf some 
> configuration is wrong,
> but I just don't know what is wrong.
>
>
>
> Jimmy
>
> ----- Original Message ----- From: "Uwe Kastens" <kiste at kiste.org>
> To: "Jinsong Hu" <jinsong_hu at hotmail.com>
> Cc: <users at lists.opensips.org>
> Sent: Thursday, May 21, 2009 5:36 AM
> Subject: Re: [OpenSIPS-Users] help needed for auth-radius
>
>
>> Jimmy,
>>
>> could you repeat the request after starting freeradius with -X. I am
>> using freeradius-2 with libradiusclient-ng.
>>
>> BR
>>
>> Uwe
>>
>> Uwe Kastens schrieb:
>>> Jimmy,
>>>
>>> Have you installed all dictionaries which are required? What kind of
>>> radius server are you using?
>>>
>>> BR
>>>
>>> Uwe
>>>
>>> Jinsong Hu schrieb:
>>>>
>>>> Hi, There :
>>>>   I am trying to use auth-radius module in opensips 1.5, and it
>>>> doesn't work. I turned on the debug mode for freeradius,
>>>> and got this log. indeed, I noticed that the message doesn't contain a
>>>> row for password
>>>> like this:
>>>> User-Password = "1234567890"
>>>>
>>>> does any body know what I am missing here ? I am running freeradius
>>>> 1.1.7 version, with freeradius-ng client.
>>>> I suspect that the client config file needs change, but don't know 
>>>> how.
>>>>
>>>> can anybody help ?
>>>>
>>>> Jimmy
>>>>
>>>> rad_recv: Access-Request packet from host 127.0.0.1:58938, id=47,
>>>> length=297
>>>>         User-Name = "1234567890 at voip.mydomain.com
>>>> <mailto:1234567890 at voip.mydomain.com>"
>>>>         Digest-Attributes = 0x0a0d3137373735353530313031
>>>>         Digest-Attributes =
>>>> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>>>>         Digest-Attributes =
>>>> 0x0232346131346538633430303030303031646463306230643137316438646161656136666465363164663264616362623938 
>>>>
>>>>         Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>>>>         Digest-Attributes = 0x030a5245474953544552
>>>>         Digest-Response = "dcc035349020529884e8cfbece126a48"
>>>>         Service-Type = Sip-Session
>>>>         Sip-Uri-User = "1234567890"
>>>>         Acct-Session-Id = 
>>>> "OTllMmE4YTA3NGU1MzY3OGVhYzM2MWFhNDk2MDdjYjM."
>>>>         NAS-Port = 5060
>>>>         NAS-IP-Address = 127.0.0.1
>>>> auth: No authenticate method (Auth-Type) configuration found for the
>>>> request: Rejecting the user
>>>> auth: Failed to validate the user.
>>>> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password
>>>> attribute>] (from client localhost port 5060)
>>>>
>>>>
>>>> ------------------------------------------------------------------------ 
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>> -- 
>>
>> kiste lat: 54.322684, lon: 10.13586
>>
> Starting - reading configuration files ...
> reread_config:  reading radiusd.conf
> Config:   including file: /etc/freeradius/proxy.conf
> Config:   including file: /etc/freeradius/clients.conf
> Config:   including file: /etc/freeradius/snmp.conf
> Config:   including file: /etc/freeradius/sql.conf
> main: prefix = "/usr"
> main: localstatedir = "/var"
> main: logdir = "/var/log/freeradius"
> main: libdir = "/usr/lib/freeradius"
> main: radacctdir = "/var/log/freeradius/radacct"
> main: hostname_lookups = no
> main: snmp = no
> main: max_request_time = 6
> main: cleanup_delay = 5
> main: max_requests = 1024
> main: delete_blocked_requests = 0
> main: port = 0
> main: allow_core_dumps = no
> main: log_stripped_names = no
> main: log_file = "/var/log/freeradius/radius.log"
> main: log_auth = yes
> main: log_auth_badpass = yes
> main: log_auth_goodpass = yes
> main: pidfile = "/var/run/freeradius/freeradius.pid"
> main: user = "freerad"
> main: group = "freerad"
> main: usercollide = no
> main: lower_user = "no"
> main: lower_pass = "no"
> main: nospace_user = "no"
> main: nospace_pass = "no"
> main: checkrad = "/usr/sbin/checkrad"
> main: proxy_requests = yes
> proxy: retry_delay = 1
> proxy: retry_count = 5
> proxy: synchronous = no
> proxy: default_fallback = yes
> proxy: dead_time = 120
> proxy: post_proxy_authorize = yes
> proxy: wake_all_if_all_dead = no
> security: max_attributes = 200
> security: reject_delay = 1
> security: status_server = no
> main: debug_level = 0
> read_config_files:  reading dictionary
> read_config_files:  reading naslist
> Using deprecated naslist file.  Support for this will go away soon.
> read_config_files:  reading clients
> read_config_files:  reading realms
> radiusd:  entering modules setup
> Module: Library search path is /usr/lib/freeradius
> Module: Loaded preprocess preprocess: huntgroups = 
> "/etc/freeradius/huntgroups"
> preprocess: hints = "/etc/freeradius/hints"
> preprocess: with_ascend_hack = no
> preprocess: ascend_channels_per_line = 23
> preprocess: with_ntdomain_hack = no
> preprocess: with_specialix_jetstream_hack = no
> preprocess: with_cisco_vsa_hack = no
> preprocess: with_alvarion_vsa_hack = no
> Module: Instantiated preprocess (preprocess) Module: Loaded 
> Acct-Unique-Session-Id acct_unique: key = "Acct-Session-Id, 
> Client-IP-Address, Sip-From-Tag, Sip-To-Tag"
> Module: Instantiated acct_unique (acct_unique) Module: Loaded realm 
> realm: format = "suffix"
> realm: delimiter = "@"
> realm: ignore_default = no
> realm: ignore_null = no
> Module: Instantiated realm (suffix) Module: Loaded detail detail: 
> detailfile = 
> "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
> detail: detailperm = 384
> detail: dirperm = 493
> detail: locking = no
> Module: Instantiated detail (detail) Module: Loaded SQL sql: driver = 
> "rlm_sql_mysql"
> sql: server = "localhost"
> sql: port = ""
> sql: login = "radius"
> sql: password = "radiusrw"
> sql: radius_db = "radius"
> sql: nas_table = "nas"
> sql: sqltrace = no
> sql: sqltracefile = "/var/log/freeradius/sqltrace-%Y%m%d.log"
> sql: readclients = no
> sql: deletestalesessions = no
> sql: num_sql_socks = 25
> sql: sql_user_name = ""
> sql: default_user_profile = ""
> sql: query_on_not_found = no
> sql: authorize_check_query = ""
> sql: authorize_reply_query = ""
> sql: authorize_group_check_query = ""
> sql: authorize_group_reply_query = ""
> sql: accounting_onoff_query = ""
> sql: accounting_update_query = "          CALL 
> update_raddact_record_mediaproxy(                 
> 'radius',                 '%{Acct-Session-Time}',                 
> '%{Acct-Input-Octets}',                 
> '%{Acct-Output-Octets}',                 
> '%{Sip-User-Agents}',                 
> '%{Media-Codecs}',                 
> '%{Sip-Applications}',                 
> '%{Media-Info}',                 '0',                 
> '%{Acct-Session-Id}',                 '%{Sip-To-Tag}',                 
> '%{Sip-From-Tag}'                 )"
> sql: accounting_update_query_alt = ""
> sql: accounting_start_query = "          CALL 
> insert_radacct_record(                 'radius',                 
> '%{Acct-Session-Id}',                 
> '%{Acct-Unique-Session-Id}',                 
> '%{Billing-Party}',                 
> '%{Billing-Party}',                 '%{SIP-Proxy-IP}',                 
> '%{NAS-Port}',                 '%S',                 
> '0',                 '0',                 '0',                 
> '0',                 '%{Called-Station-Id}',                 
> '%{Calling-Station-Id}',                 
> '%{Sip-Response-Code}',                 
> '%{Service-Type}',                 '%{ENUM-TLD}',                 
> '%{Framed-IP-Address}',                 
> '%{Acct-Delay-Time}',                 '0',                 
> '%{Sip-Response-Code}',                 
> '%{Sip-Method}',                 
> '%{Sip-Translated-Request-URI}',                 
> '%{Sip-To-Tag}',                 '%{Sip-From-Tag}',                 
> '%{Sip-RPId}',                 '%{Source-IP}',                 
> '%{Source-Port}',                 '%{Canonical-URI}',                 
> '',                 ''                 )"
> sql: accounting_start_query_alt = ""
> sql: accounting_stop_query = "          CALL 
> update_radacct_record(                 'radius',                 
> '%S',                 '%{Acct-Delay-Time}',                 
> '%{Connect-Info}',                 '%{X-RTP-Stat}',                  
> '%{Acct-Session-Id}',                 '%{Sip-To-Tag}',                 
> '%{Sip-From-Tag}'                 )"
> sql: accounting_stop_query_alt = ""
> sql: accounting_failed_query = "          CALL 
> insert_radacct_record(                 'radius',                 
> '%{Acct-Session-Id}',                 
> '%{Acct-Unique-Session-Id}',                 
> '%{Billing-Party}',                 
> '%{Billing-Party}',                 '%{SIP-Proxy-IP}',                 
> '%{NAS-Port}',                 '%S',                 
> '%S',                 '0',                 '0',                 
> '0',                 '%{Called-Station-Id}',                 
> '%{Calling-Station-Id}',                 
> '%{Sip-Response-Code}',                 
> '%{Service-Type}',                 '%{ENUM-TLD}',                 
> '%{Framed-IP-Address}',                 
> '%{Acct-Delay-Time}',                 '0',                 
> '%{Sip-Response-Code}',                 
> '%{Sip-Method}',                 
> '%{Sip-Translated-Request-URI}',                 
> MD5(RAND()),                 '%{Sip-From-Tag}',                 
> '%{Sip-RPId}',                 '%{Source-IP}',                 
> '%{Source-Port}',                 '%{Canonical-URI}',                 
> '',                 ''                 )"
> sql: group_membership_query = ""
> sql: connect_failure_retry_delay = 60
> sql: simul_count_query = ""
> sql: simul_verify_query = ""
> sql: postauth_query = ""
> sql: safe-characters = 
> "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
> rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and 
> linked
> rlm_sql (sql): Attempting to connect to radius at localhost:/radius
> rlm_sql (sql): starting 0
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
> rlm_sql_mysql: Starting connect to MySQL server for #0
> rlm_sql (sql): Connected new DB handle, #0
> rlm_sql (sql): starting 1
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
> rlm_sql_mysql: Starting connect to MySQL server for #1
> rlm_sql (sql): Connected new DB handle, #1
> rlm_sql (sql): starting 2
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
> rlm_sql_mysql: Starting connect to MySQL server for #2
> rlm_sql (sql): Connected new DB handle, #2
> rlm_sql (sql): starting 3
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
> rlm_sql_mysql: Starting connect to MySQL server for #3
> rlm_sql (sql): Connected new DB handle, #3
> rlm_sql (sql): starting 4
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
> rlm_sql_mysql: Starting connect to MySQL server for #4
> rlm_sql (sql): Connected new DB handle, #4
> rlm_sql (sql): starting 5
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #5
> rlm_sql_mysql: Starting connect to MySQL server for #5
> rlm_sql (sql): Connected new DB handle, #5
> rlm_sql (sql): starting 6
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #6
> rlm_sql_mysql: Starting connect to MySQL server for #6
> rlm_sql (sql): Connected new DB handle, #6
> rlm_sql (sql): starting 7
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #7
> rlm_sql_mysql: Starting connect to MySQL server for #7
> rlm_sql (sql): Connected new DB handle, #7
> rlm_sql (sql): starting 8
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #8
> rlm_sql_mysql: Starting connect to MySQL server for #8
> rlm_sql (sql): Connected new DB handle, #8
> rlm_sql (sql): starting 9
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #9
> rlm_sql_mysql: Starting connect to MySQL server for #9
> rlm_sql (sql): Connected new DB handle, #9
> rlm_sql (sql): starting 10
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #10
> rlm_sql_mysql: Starting connect to MySQL server for #10
> rlm_sql (sql): Connected new DB handle, #10
> rlm_sql (sql): starting 11
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #11
> rlm_sql_mysql: Starting connect to MySQL server for #11
> rlm_sql (sql): Connected new DB handle, #11
> rlm_sql (sql): starting 12
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #12
> rlm_sql_mysql: Starting connect to MySQL server for #12
> rlm_sql (sql): Connected new DB handle, #12
> rlm_sql (sql): starting 13
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #13
> rlm_sql_mysql: Starting connect to MySQL server for #13
> rlm_sql (sql): Connected new DB handle, #13
> rlm_sql (sql): starting 14
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #14
> rlm_sql_mysql: Starting connect to MySQL server for #14
> rlm_sql (sql): Connected new DB handle, #14
> rlm_sql (sql): starting 15
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #15
> rlm_sql_mysql: Starting connect to MySQL server for #15
> rlm_sql (sql): Connected new DB handle, #15
> rlm_sql (sql): starting 16
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #16
> rlm_sql_mysql: Starting connect to MySQL server for #16
> rlm_sql (sql): Connected new DB handle, #16
> rlm_sql (sql): starting 17
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #17
> rlm_sql_mysql: Starting connect to MySQL server for #17
> rlm_sql (sql): Connected new DB handle, #17
> rlm_sql (sql): starting 18
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #18
> rlm_sql_mysql: Starting connect to MySQL server for #18
> rlm_sql (sql): Connected new DB handle, #18
> rlm_sql (sql): starting 19
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #19
> rlm_sql_mysql: Starting connect to MySQL server for #19
> rlm_sql (sql): Connected new DB handle, #19
> rlm_sql (sql): starting 20
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #20
> rlm_sql_mysql: Starting connect to MySQL server for #20
> rlm_sql (sql): Connected new DB handle, #20
> rlm_sql (sql): starting 21
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #21
> rlm_sql_mysql: Starting connect to MySQL server for #21
> rlm_sql (sql): Connected new DB handle, #21
> rlm_sql (sql): starting 22
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #22
> rlm_sql_mysql: Starting connect to MySQL server for #22
> rlm_sql (sql): Connected new DB handle, #22
> rlm_sql (sql): starting 23
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #23
> rlm_sql_mysql: Starting connect to MySQL server for #23
> rlm_sql (sql): Connected new DB handle, #23
> rlm_sql (sql): starting 24
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #24
> rlm_sql_mysql: Starting connect to MySQL server for #24
> rlm_sql (sql): Connected new DB handle, #24
> Module: Instantiated sql (sql) Module: Loaded always always: rcode = "ok"
> always: simulcount = 0
> always: mpp = no
> Module: Instantiated always (ok) Listening on authentication *:1812
> Listening on accounting *:1813
> Listening on proxy 127.0.0.1:1814
> Ready to process requests.
> rad_recv: Access-Request packet from host 127.0.0.1:59402, id=158, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 0 for 1 seconds
> Finished request 0
> Going to the next request
> --- Walking the entire request list ---
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:38050, id=144, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 1 for 1 seconds
> Finished request 1
> Going to the next request
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:42752, id=247, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 2 for 1 seconds
> Finished request 2
> Going to the next request
> Sending Access-Reject of id 144 to 127.0.0.1 port 38050
> Sending Access-Reject of id 158 to 127.0.0.1 port 59402
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:60679, id=153, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 3 for 1 seconds
> Finished request 3
> Going to the next request
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:41623, id=224, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 4 for 1 seconds
> Finished request 4
> Going to the next request
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:60677, id=224, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 5 for 1 seconds
> Finished request 5
> Going to the next request
> --- Walking the entire request list ---
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Sending Access-Reject of id 153 to 127.0.0.1 port 60679
> Sending Access-Reject of id 224 to 127.0.0.1 port 41623
> Sending Access-Reject of id 224 to 127.0.0.1 port 60677
> Sending Access-Reject of id 247 to 127.0.0.1 port 42752
> Waking up in 2 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:60154, id=14, 
> length=297
>     User-Name = "1234567890 at voip.mydomain.com"
>     Digest-Attributes = 0x0a0d3137373735353530313031
>     Digest-Attributes = 
> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>     Digest-Attributes = 
> 0x0232346131353663393230303030303032353336633733333664663430633732366636646434303138363335373537303563 
>
>     Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>     Digest-Attributes = 0x030a5245474953544552
>     Digest-Response = "02626ce604ccb0518182cff432a7d0bc"
>     Service-Type = Sip-Session
>     Sip-Uri-User = "1234567890"
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 5060
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password 
> attribute>] (from client localhost port 5060)
> Delaying request 6 for 1 seconds
> Finished request 6
> Going to the next request
> Waking up in 2 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:60424, id=60, 
> length=297
>     User-Name = "1234567890 at voip.mydomain.com"
>     Digest-Attributes = 0x0a0d3137373735353530313031
>     Digest-Attributes = 
> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>     Digest-Attributes = 
> 0x0232346131353663393230303030303032353336633733333664663430633732366636646434303138363335373537303563 
>
>     Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>     Digest-Attributes = 0x030a5245474953544552
>     Digest-Response = "02626ce604ccb0518182cff432a7d0bc"
>     Service-Type = Sip-Session
>     Sip-Uri-User = "1234567890"
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 5060
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password 
> attribute>] (from client localhost port 5060)
> Delaying request 7 for 1 seconds
> Finished request 7
> Going to the next request
> Waking up in 2 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:46611, id=47, 
> length=297
>     User-Name = "1234567890 at voip.mydomain.com"
>     Digest-Attributes = 0x0a0d3137373735353530313031
>     Digest-Attributes = 
> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>     Digest-Attributes = 
> 0x0232346131353663393230303030303032353336633733333664663430633732366636646434303138363335373537303563 
>
>     Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>     Digest-Attributes = 0x030a5245474953544552
>     Digest-Response = "02626ce604ccb0518182cff432a7d0bc"
>     Service-Type = Sip-Session
>     Sip-Uri-User = "1234567890"
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 5060
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password 
> attribute>] (from client localhost port 5060)
> Delaying request 8 for 1 seconds
> Finished request 8
> Going to the next request
> Waking up in 2 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:45023, id=102, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 9 for 1 seconds
> Finished request 9
> Going to the next request
> --- Walking the entire request list ---
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Sending Access-Reject of id 14 to 127.0.0.1 port 60154
> Sending Access-Reject of id 47 to 127.0.0.1 port 46611
> Sending Access-Reject of id 60 to 127.0.0.1 port 60424
> Cleaning up request 1 ID 144 with timestamp 4a156c73
> Cleaning up request 0 ID 158 with timestamp 4a156c73
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:44300, id=6, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 10 for 1 seconds
> Finished request 10
> Going to the next request
> Sending Access-Reject of id 102 to 127.0.0.1 port 45023
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:41563, id=220, 
> length=297
>     User-Name = "1234567890 at voip.mydomain.com"
>     Digest-Attributes = 0x0a0d3137373735353530313031
>     Digest-Attributes = 
> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>     Digest-Attributes = 
> 0x0232346131353663393230303030303032353336633733333664663430633732366636646434303138363335373537303563 
>
>     Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>     Digest-Attributes = 0x030a5245474953544552
>     Digest-Response = "02626ce604ccb0518182cff432a7d0bc"
>     Service-Type = Sip-Session
>     Sip-Uri-User = "1234567890"
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 5060
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password 
> attribute>] (from client localhost port 5060)
> Delaying request 11 for 1 seconds
> Finished request 11
> Going to the next request
> Cleaning up request 3 ID 153 with timestamp 4a156c74
> Cleaning up request 4 ID 224 with timestamp 4a156c74
> Cleaning up request 2 ID 247 with timestamp 4a156c74
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:55139, id=45, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 12 for 1 seconds
> Finished request 12
> Going to the next request
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:46026, id=6, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 13 for 1 seconds
> Finished request 13
> Going to the next request
> --- Walking the entire request list ---
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Sending Access-Reject of id 6 to 127.0.0.1 port 44300
> Sending Access-Reject of id 45 to 127.0.0.1 port 55139
> Sending Access-Reject of id 220 to 127.0.0.1 port 41563
> Cleaning up request 5 ID 224 with timestamp 4a156c75
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:48438, id=220, 
> length=297
>     User-Name = "1234567890 at voip.mydomain.com"
>     Digest-Attributes = 0x0a0d3137373735353530313031
>     Digest-Attributes = 
> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>     Digest-Attributes = 
> 0x0232346131353663393730303030303032383431353535613336643933383732663233626134336234653861623835363230 
>
>     Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>     Digest-Attributes = 0x030a5245474953544552
>     Digest-Response = "b9ba571ecde79f4626f4fb1036fa8455"
>     Service-Type = Sip-Session
>     Sip-Uri-User = "1234567890"
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 5060
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password 
> attribute>] (from client localhost port 5060)
> Delaying request 14 for 1 seconds
> Finished request 14
> Going to the next request
> Sending Access-Reject of id 6 to 127.0.0.1 port 46026
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:59370, id=158, 
> length=297
>     User-Name = "1234567890 at voip.mydomain.com"
>     Digest-Attributes = 0x0a0d3137373735353530313031
>     Digest-Attributes = 
> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>     Digest-Attributes = 
> 0x0232346131353663393730303030303032383431353535613336643933383732663233626134336234653861623835363230 
>
>     Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>     Digest-Attributes = 0x030a5245474953544552
>     Digest-Response = "b9ba571ecde79f4626f4fb1036fa8455"
>     Service-Type = Sip-Session
>     Sip-Uri-User = "1234567890"
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 5060
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password 
> attribute>] (from client localhost port 5060)
> Delaying request 15 for 1 seconds
> Finished request 15
> Going to the next request
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:36941, id=91, 
> length=297
>     User-Name = "1234567890 at voip.mydomain.com"
>     Digest-Attributes = 0x0a0d3137373735353530313031
>     Digest-Attributes = 
> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>     Digest-Attributes = 
> 0x0232346131353663393730303030303032383431353535613336643933383732663233626134336234653861623835363230 
>
>     Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>     Digest-Attributes = 0x030a5245474953544552
>     Digest-Response = "b9ba571ecde79f4626f4fb1036fa8455"
>     Service-Type = Sip-Session
>     Sip-Uri-User = "1234567890"
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 5060
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password 
> attribute>] (from client localhost port 5060)
> Delaying request 16 for 1 seconds
> Finished request 16
> Going to the next request
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:52494, id=168, 
> length=108
>     User-Name = "1234567890"
>     Sip-Group = "suspended"
>     Service-Type = Group-Check
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 0
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890/<no User-Password attribute>] (from 
> client localhost port 0)
> Delaying request 17 for 1 seconds
> Finished request 17
> Going to the next request
> Cleaning up request 6 ID 14 with timestamp 4a156c77
> Cleaning up request 8 ID 47 with timestamp 4a156c77
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Cleaning up request 7 ID 60 with timestamp 4a156c77
> Sending Access-Reject of id 91 to 127.0.0.1 port 36941
> Sending Access-Reject of id 158 to 127.0.0.1 port 59370
> Sending Access-Reject of id 220 to 127.0.0.1 port 48438
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Cleaning up request 9 ID 102 with timestamp 4a156c78
> Sending Access-Reject of id 168 to 127.0.0.1 port 52494
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 127.0.0.1:39021, id=132, 
> length=297
>     User-Name = "1234567890 at voip.mydomain.com"
>     Digest-Attributes = 0x0a0d3137373735353530313031
>     Digest-Attributes = 
> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>     Digest-Attributes = 
> 0x0232346131353663393730303030303032383431353535613336643933383732663233626134336234653861623835363230 
>
>     Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>     Digest-Attributes = 0x030a5245474953544552
>     Digest-Response = "b9ba571ecde79f4626f4fb1036fa8455"
>     Service-Type = Sip-Session
>     Sip-Uri-User = "1234567890"
>     Acct-Session-Id = "MmRhMmU5YzA2YmY2YWRkZGUxOTA2NDIyYzQ3ZTNmMmM."
>     NAS-Port = 5060
>     NAS-IP-Address = 127.0.0.1
> auth: No authenticate method (Auth-Type) configuration found for the 
> request: Rejecting the user
> auth: Failed to validate the user.
> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password 
> attribute>] (from client localhost port 5060)
> Delaying request 18 for 1 seconds
> Finished request 18
> Going to the next request
> Cleaning up request 10 ID 6 with timestamp 4a156c79
> Cleaning up request 12 ID 45 with timestamp 4a156c79
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Cleaning up request 11 ID 220 with timestamp 4a156c79
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Cleaning up request 13 ID 6 with timestamp 4a156c7a
> Sending Access-Reject of id 132 to 127.0.0.1 port 39021
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Cleaning up request 16 ID 91 with timestamp 4a156c7b
> Cleaning up request 15 ID 158 with timestamp 4a156c7b
> Cleaning up request 14 ID 220 with timestamp 4a156c7b
> Waking up in 1 seconds...
> --- Walking the entire request list ---
> Cleaning up request 17 ID 168 with timestamp 4a156c7c
> Waking up in 2 seconds...
> --- Walking the entire request list ---
> Cleaning up request 18 ID 132 with timestamp 4a156c7e
> Nothing to do.  Sleeping until we see a request.
> --- Walking the entire request list ---
> Nothing to do.  Sleeping until we see a request.
> Exiting...
> rlm_sql (sql): Closing sqlsocket 24
> rlm_sql (sql): Closing sqlsocket 23
> rlm_sql (sql): Closing sqlsocket 22
> rlm_sql (sql): Closing sqlsocket 21
> rlm_sql (sql): Closing sqlsocket 20
> rlm_sql (sql): Closing sqlsocket 19
> rlm_sql (sql): Closing sqlsocket 18
> rlm_sql (sql): Closing sqlsocket 17
> rlm_sql (sql): Closing sqlsocket 16
> rlm_sql (sql): Closing sqlsocket 15
> rlm_sql (sql): Closing sqlsocket 14
> rlm_sql (sql): Closing sqlsocket 13
> rlm_sql (sql): Closing sqlsocket 12
> rlm_sql (sql): Closing sqlsocket 11
> rlm_sql (sql): Closing sqlsocket 10
> rlm_sql (sql): Closing sqlsocket 9
> rlm_sql (sql): Closing sqlsocket 8
> rlm_sql (sql): Closing sqlsocket 7
> rlm_sql (sql): Closing sqlsocket 6
> rlm_sql (sql): Closing sqlsocket 5
> rlm_sql (sql): Closing sqlsocket 4
> rlm_sql (sql): Closing sqlsocket 3
> rlm_sql (sql): Closing sqlsocket 2
> rlm_sql (sql): Closing sqlsocket 1
> rlm_sql (sql): Closing sqlsocket 0
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   

Hello Hu,

did you have an uncommented

modules {
    digest  {

    }

section in your radiusd.conf ?

Regards Michael



More information about the Users mailing list