Is it possible to get packet id in pre-proxy section?
Alan DeKok
aland at deployingradius.com
Wed Mar 23 08:50:01 CET 2011
魏景鹏 wrote:
> One side auth with pap method, but the other side needs chap auth
> method, so I have to do some translating work.
>
> chap-string = Packet-Id + Cleartext-Password + authenticator
>
> chap-password = packet-id + md5(chap-string)
>
> Is it possible to get packet id in pre-proxy section?
It's not the packet Id. It's a random 8 bit Id.
The simplest way to do this would be via a Perl module. You *might*
be able to do it via "unlang", but I haven't tried.
Alan DeKok.
More information about the Freeradius-Users
mailing list