23 Mar
2011
23 Mar
'11
3:50 a.m.
魏景鹏 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.