escaped quotes and backslashes in passwords

Alan DeKok aland at deployingradius.com
Wed Mar 15 21:56:23 CET 2017


On Mar 15, 2017, at 3:59 PM, John Smith <kaziukonis.v at gmail.com> wrote:
> 
> Hi,
> 
> Thanks for reading this and if I am not clear in my thoughts please let me
> know.
> 
> FreeRADIUS Version 2.2.5 (deb8 repos)

  Ugh.

  Upgrade.

> I am using a perl module in authenticate{} to call an external api to
> validate the passwords received from Radius Proxy (Radius Proxy receives a
> password from openvpn radius plugin)
> 
> The quotes and backslashes in the passwords I receive to the radius  perl
> module, inside $RAD_REQUEST{'User-Password'} always end up escaped with
> backslashes.
> 
> I was wondering what causes this behaviour and how can it be avoided
> without resorting to using perl regexps to remove the backslashes from
> the $RAD_REQUEST{'User-Password'} values?

  Upgrade to a supported version.  If it still happens, we can then see what's up.

  Alan DeKok.




More information about the Freeradius-Users mailing list