Dear Alan DeKok,


--Wednesday, April 24, 2002, 10:00:10 PM, you wrote to 
[EMAIL PROTECTED]:

AD> Sinnwell Wolfgang EXT <[EMAIL PROTECTED]> wrote:
>> But I found a new problem: length of Tunnel-Password
>> seems to be wrong.
>> If I understand the RFC 2868 then the password attr
>> length must be 21 (minimum: type=1 + length=1 + tag=1 + salt=2 + pw_string=16).

AD>   I'm not sure that the tag has to be there.

The problem is tag 0 is invalid.

AD>   I'll fix the code.

AD>   Hmm... the rad_decode() function in src/main/radius.c explicitely
AD> skips over the tag, too.  So until the code is fixed, the server won't
AD> inter-operate with itself.

Both rad_tunnel_pwencode and rad_tunnel_pwdecode don't care about tag at
all.  They  can  operate  with  each  over without problem. If it wasn't
changed since my last fix 2 weeks ago :)


-- 
~/ZARAZA
Да, ему чертовски повезло. Эх и паршиво б ему пришлось если бы он выжил! (Твен)


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

Reply via email to