"PELLE Thierry FTRD/DAC/ISS" <[EMAIL PROTECTED]>
wrote:
> according to RFC 2868 the Tunnel-Password field must be padded
> to have a length of an EVEN multiple of 16. The sentence is not
> clear but I think it means that length/16 must be EVEN.
I don't think so.
> But in freeradius Access-Accept traces I see a Tunnel-Password of
> length 16...
> Where is the problem.
I don't think there's a problem. The Tunnel-Password must be a
multiple of 16, not an EVEN multiple of 16. See the additional text:
...the length of the Padding sub-field is variable, between 1
and 15 octets.
If the length was meant to be a multiple of 32 (even multiples of
16), then there would be 1 to 31 octets of padding.
The code is fine.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html