Freeradius not unescaping \ and "

Murray Long murray at skyrove.com
Fri Sep 3 17:58:36 CEST 2010


Ok, debug logs and config files are attached.

It looks like the problem could be with rlm_perl.   as the proxying
happens correctly if we disable the perl module completely.
However, even with no logic happening in the perl script, additional
\'s are added to the attributes.

Please see the attached log of a login attempt for
Username: "murray/A\"
Password: "A\"

which is eventually proxied as
    User-Name = "A\\\\\\\\"
    User-Password = "A\\\\\\\\"

Thanks,
Murray

On Fri, Sep 3, 2010 at 3:33 PM, Alan DeKok <aland at deployingradius.com> wrote:
>
> Murray Long wrote:
> > I am running the latest version provided by Ubuntu, 2.1.8+dfsg-1ubuntu1
> > Is this not considered recent?
> > I will try 2.1.9 from the freeradius site and see how that goes.
>
>  Well.. it works in the current 2.1.x branch.
>
>  How about posting debug logs?
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl_module.pm
Type: application/x-perl
Size: 2480 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100903/5189091a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radiusd.conf
Type: application/octet-stream
Size: 5445 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100903/5189091a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radius.log
Type: text/x-log
Size: 14638 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100903/5189091a/attachment-0001.bin>


More information about the Freeradius-Users mailing list