Hello,

I'm running an L4D server with 4 forks on Debian 7 (64-bit), installed
yesterday via SteamCMD.  I think there's a bug in the code for the RCON
password, because it doesn't handle the "%" character correctly.  It
apparently gets doubled, so a literal "%" becomes "%%", a literal "%%"
becomes "%%%%", etc.

Passwords without "%" work fine, even if they have other special
characters.  I even tried backslash-escaping the "%" but it didn't make a
difference.  Here are some examples pasted from the console:

    rcon_password my$Secret#Password!
    rcon_password
    "rcon_password" = "my$Secret#Password!" ( def. "" )
     - remote console password.

    rcon_password my%Secret#Password!"
    rcon_password
    "rcon_password" = "my%%Secret#Password!"" ( def. "" )
     - remote console password.

    rcon_password my\%Secret#Password!
    rcon_password
    "rcon_password" = "my\%%Secret#Password!" ( def. "" )
     - remote console password.

When I enter the "rcon_password" commands on a forked server's netconsole,
I get the output above.  However, on the console of the main server, I see
the correct values:

    #01:"rcon_password" = "my$Secret#Password!"
    #01: ( def. "" )

    #01:"rcon_password" = "my%Secret#Password!""
    #01: ( def. "" )

    #01:"rcon_password" = "my\%Secret#Password!"
    #01: ( def. "" )

Regardless of which password I use (with or without the doubled "%"), I
can't connect to the server via RCON if the password contains this
character.  I'm pretty sure this is a recent change, because my old RCON
password had the "%" in it and it worked fine.  Also, this doesn't happen
on any of my other SRCDS servers.

    - Dave
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to