[RADIATOR] Using radius on SIP tunnel server

Wayne wayne at hamilton.net
Mon May 11 14:43:12 CDT 2009


Hello All,

I have been using radius for years on my cisco and 3com routers without any
problem. I am now trying to get it to work with a SIP tunnel server. I first
tried it on version 3.1 that I have in production and it failed in the
tunnel server. So I loaded 4.4 on a test server and  it also failed. 

I did have any luck  when I tried to use the standard dictionary and
dictionary.sip. So I changed to dictionary and dictionary.sip.pre-rfc. Then
I got an error stating WARNING: No such attribute Digest-Response-Auth. So I
added ATTRIBUTE        Digest-Response-Auth    106   string to
dictionary.sip.pre-rfc. This was probably not the right thing to do but now
I seem to be responding but still no luck on the tunnel server.

This is what I get now in my debug log. Any help would be great.

*** Received from 66.196.48.188 port 45171 ....
Code:       Access-Request
Identifier: 123
Authentic:
<149><139><156><228><169><199><139><164><192><174>W<144>z<216><159><22>
Attributes:
        NAS-IP-Address = 66.196.48.188
        NAS-Port = 10
        Digest-Response = "f0fc5d0cbfce4ab5cf2cf25bbbfcb2a7"
        Digest-Attributes =
<9><10>00000001<8><10>41425354<5><6>auth<1><16>realtunnel.com<6><5>md5<2>22d
3136373137383532383a31323432303639393732373236<3><6>POST<10><7>marty<4><6>g8
76
        User-Name = "marty"

Mon May 11 14:26:01 2009: DEBUG: Rewrote user name to marty
Mon May 11 14:26:01 2009: DEBUG: Handling request with Handler
'Realm=ezbizcomm.com'
Mon May 11 14:26:01 2009: DEBUG: Rewrote user name to marty
Mon May 11 14:26:01 2009: DEBUG:  Deleting session for marty, 66.196.48.188,
10
Mon May 11 14:26:01 2009: DEBUG: Handling with Radius::AuthSQL:
Mon May 11 14:26:01 2009: DEBUG: Handling with Radius::AuthSQL:
Mon May 11 14:26:01 2009: DEBUG: Query is: 'select PASSWORD from SUBSCRIBERS
where USERNAME='marty'':
Mon May 11 14:26:01 2009: DEBUG: Radius::AuthSQL looks for match with marty
[marty]
Mon May 11 14:26:01 2009: DEBUG: Radius::AuthSQL ACCEPT: : marty [marty]
Mon May 11 14:26:01 2009: DEBUG: AuthBy SQL result: ACCEPT,
Mon May 11 14:26:01 2009: DEBUG: Access accepted for marty
Mon May 11 14:26:01 2009: DEBUG: Packet dump:
*** Sending to 66.196.48.188 port 45171 ....
Code:       Access-Accept
Identifier: 123
Authentic:  .<136><136><234><213><149><159><25><132>T)<233>0<158><152><135>
Attributes:
        Digest-Response-Auth = "649b0299d88bcd0c5339a7060a3182b1"
        Message-Authenticator =
<0><0><0><0><0><0><0><0><0><0><0><0><0><0><0><0>




More information about the radiator mailing list