(RADIATOR) SIP Authentication
Jesus Rodriguez
jesusr at endercom.com
Tue Aug 5 11:27:11 CDT 2003
Hello,
There is some example about setting up SIP Digest authentication? I'm trying
to configure a b2bua (Vovida) and radiator authentication but it doesn't work.
I always get "Bad password":
*** Received from 10.20.0.5 port 1024 ....
Code: Access-Request
Identifier: 78
Authentic: H<214><213><199><147>(<196>b<135><231><188>53<252><151><198>
Attributes:
User-Name = "1000"
User-Password =
"o}<28>]<249><5><24>tT<149><187><168><171><243>}<210><4>@1X<31>@_<246><28><182><231><168><140>R<233><137>"
NAS-IP-Address = 10.20.0.5
NAS-Port = 1000
Called-Station-Id = "637589919"
Calling-Station-Id = "1000"
Tue Aug 5 16:25:02 2003: DEBUG: Handling request with Handler
'NAS-IP-Address=10.20.0.5'
Tue Aug 5 16:25:02 2003: DEBUG: Deleting session for 1000, 10.20.0.5, 1000
Tue Aug 5 16:25:02 2003: DEBUG: Handling with Radius::AuthFILE:
Tue Aug 5 16:25:02 2003: DEBUG: Radius::AuthFILE looks for match with 1000
Tue Aug 5 16:25:02 2003: DEBUG: Radius::AuthFILE REJECT: Bad Password
Tue Aug 5 16:25:02 2003: INFO: Access rejected for 1000: Bad Password
Tue Aug 5 16:25:02 2003: DEBUG: Packet dump:
*** Sending to 10.20.0.5 port 1024 ....
Code: Access-Reject
Identifier: 78
Authentic: H<214><213><199><147>(<196>b<135><231><188>53<252><151><198>
Attributes:
Reply-Message = "Request Denied"
Session-Timeout = 15
I'm using the simplest configuration model in Radiator:
<Handler NAS-IP-Address=10.20.0.5>
AcctLogFileName %L/detail-b2bua-%y%m%d
<AuthBy FILE>
Filename %D/users
</AuthBy FILE>
</Handler>
And this is the user 1000 entry in users file:
1000 User-Password = "1000"
Session-Timeout = 60
One of my doubts is if i can use clear text passwords with SIP Digest
authentication.
This is the "Proxy-Authorization" line of the INVITE:
Proxy-Authorization: Digest username="1000",realm="citem.com",nonce="3f2fd1ac0c62d52ecf72c69f5d967bee4310c1f8",response="2a4c4bc49581d5e32071ddfeec372ffc",uri="sip:637589919 at citem.com"
And this is the username and password sent by b2bua to radiator:
20030805-175052.521 [06151] DBUG bcWorker: AuthAgent.cxx:106 Setting UID (1000), password (2a4c4bc49581d5e32071ddfeec372ffc) from Proxy-Authorization header
Thanks.
Saludos
JesusR.
-------------------------------
Jesus Rodriguez
Endercom Comunicaciones, S.L.
jesusr at endercom.com
http://www.endercom.com
Tel. +34 934424293
-------------------------------
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list