Yes Alan i am using the same dictionary files which coming with the
installation,
 i also add to the end of the dictionary file dictionary.sip file and
another dictionary.ser  file which include another attributes.
totaly i have original dictionary + dictionary.sip + dictionary.ser

btw i have the radclient working now
radclient -f digest localhost auth testing123

Received response ID 101, code 2, length = 45
        Reply-Message = "Hello, test with digest"

I just need to figure out how to authenticate ser users through the radius.
on one server it's working fine and i installed it, and never had
these problems, but here on the 2 server i can not figure the problem
out.

my ser server running and sending authentication to the radius server
and i don't see anything on the radius logs.
now here is the problem the register request coming on the 5060 port
and the ser server sending to authenticate the user with radiusclient.
for some reason it's not working i don't see anything in the radius
logs.

here is my debug which ser sending to radius:

9(16198) SIP Request:
 9(16198)  method:  <REGISTER>
 9(16198)  uri:     <sip:xxx.xxx.xxx.xxx>
 9(16198)  version: <SIP/2.0>
 9(16198) parse_headers: flags=1
 9(16198) Found param type 232, <branch> = <z9hG4bK8347cac54f37811f>; state=16
 9(16198) end of header reached, state=5
 9(16198) parse_headers: Via found, flags=1
 9(16198) parse_headers: this is the first via
 9(16198) After parse_msg...
 9(16198) preparing to run routing scripts...
 9(16198) REGISTER: Authenticating user
 9(16198) parse_headers: flags=4096
 9(16198) end of header reached, state=9
 9(16198) DEBUG: get_hdr_field: <To> [34];
uri=[sip:[EMAIL PROTECTED]
 9(16198) DEBUG: to body [<sip:[EMAIL PROTECTED]>
]
 9(16198) get_hdr_field: cseq <CSeq>: <100> <REGISTER>
 9(16198) DEBUG: get_hdr_body : content_length=0
 9(16198) found end of header
 9(16198) pre_auth(): Credentials with given realm not found
 9(16198) REGISTER: challenging user
 9(16198) build_auth_hf(): 'WWW-Authenticate: Digest realm="ip of the
server", nonce="426027c596c98d33f4f2e26cd277527bfaed7b1b"
'
 9(16198) parse_headers: flags=-1
 9(16198) check_via_address(62.219.160.40, 62.219.160.40, 1)
 9(16198) DEBUG:destroy_avp_list: destroing list (nil)
 9(16198) receive_msg: cleaning up

Thanks Alan for any help.


On 4/15/05, Alan DeKok <[EMAIL PROTECTED]> wrote:
> Alex <[EMAIL PROTECTED]> wrote:
> > inside raddb/users i have :
> > test Auth-Type := Digest, User-Password == "test"
> >      Reply-Message = "Hello, test with digest"
> 
>  DO NOT SET Auth-Type.
> 
> > I am running just installation test:
> >  radclient -f digest localhost 1645 auth testing123
> >
> > radclient:No token read where we expected an attribute name
> >
> > what it can be ??
> 
>  Can you answer the questions I asked in my previous responses?
> 
> > If there any way i can remove totally the installations of all
> > radiusclients and freeradiuses, and reinstall them ??
> 
>  Yes.  "rm".
> 
>  Alan DeKok.
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to