rad_tunnel_pwencode - Constraint on the length of Plain Text Password.
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. Thank you in anticipation, Mahesh.
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
participants (2)
-
Alan DeKok -
Mahesh Nayak