rad_tunnel_pwencode - Constraint on the length of Plain Text Password.

Alan DeKok aland at deployingradius.com
Mon Nov 20 17:19:16 CET 2006


Mahesh Nayak wrote:
> Hello,
>  
> I see that we have the following check in the "rad_tunnel_pwencode(..) ".
>  
>  
> if (len > 127)
>   len = 127;
>  
> This  means that we dont support encryption/decoding  of  password of
> length >127 ? Curious to know the the primary reason behind this check..
> since I was in dire need of using the Radius for plaintext length > 127.

  Edit the source.  It's your system.

  The limitation is simply there for compatibility with other systems,
as some don't support long passwords.  It's also an RFC requirement, so
it's probably a good idea to keep the limitation.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Devel mailing list