how to pass special chars in passwords ?

Aug 23, 2016 at 10:12 AM
Edited Aug 23, 2016 at 1:21 PM
One user has special chars in its Cisco's enable password (ï alias \357)
Freeradius accepts it in the escaped style \357 but Ssh.net sends it directly and then is rejected

It works with Putty or radtest who use the escaped one
Sending Access-Request of id 133 to 127.0.1.1 port 1812
    User-Name = "uuuuuuu"
    User-Password = "pppp\357ppppp"
Instead Ssh.net sends
Packet-Type = Access-Request
User-Name = "uuuuuuu"
Reply-Message = "Password: "
User-Password = "ppppïppppp"
In Freeradius debug, seeing
+- entering group PAP {...}
[pap] login attempt with password "ppppïppppp"
[pap] Using MD5 encryption.
[pap] Passwords don't match
++[pap] returns reject

looks like an ascii encoding

I don't know if pb comes from freeradius or ssh.net
Is it possible to replace these special chars by the escaped one (\<octal value>) in the connectioninfo params ?

Thanks for help