[Serusers] ser 0.8.12 & freeradius

Rudakov Evgeniy evgeniy at riscom.net
Tue Dec 2 12:29:32 CET 2003


On Tuesday 02 December 2003 12:00, Rudakov Evgeniy wrote:
> On Monday 01 December 2003 16:10, you wrote:
> > On 01-12 14:32, Rudakov Evgeniy wrote:
> > > On Monday 01 December 2003 13:50, Jan Janak wrote:
> > > > You have attached wrong part of the log. It doesn't say anything
> > > > about authentication.
> > >
> > > This is the my ser.cfg based on examples.
> > > That can i do anything else for report about problem ?
> >
> >   Send us SIP message dumps.
>
> Hi, i have same debuging information
> if i try to connect with dlink gateway i have this error message.
>
> 7(7153) pre_auth(): Invalid nonce value received, very suspicious !
>
> after i make debug print in the modules/auth
>
>        LOG(L_ALERT,"check_nonce(): %d and %d\n", NONCE_LEN, _nonce->len);
>         if (NONCE_LEN != _nonce->len) {
>                 return 1; /* Lengths must be equal */
>         }
>
> as result i found : what connection from xlite
> 7(7153) check_nonce(): 40 and 40
>
> return normal code (40) but connection from dlink return:
> 6(32153) check_nonce(): 40 and 32
i find what nonce code in header from my dlink is 32Bites
but needed 40.

how a can fix it this problem.
>
> may problem in the parsing
>         /* Pointer to the parsed credentials */
>         c = (auth_body_t*)((*_h)->parsed);
>
> >   Jan.
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list