RCON ban penalty server CVAR's do nothing
Hello there, the following CVAR's to automatically ban IP addresses for multiple bad RCON passwords don't appear to work at all:
sv_rcon_banpenalty, sv_rcon_maxfailures, sv_rcon_minfailures, sv_rcon_minfailuretime
Most of my HLDS instances get round the clock attempts, usually from Russian IP addresses, trying to update the sv_contact CVAR. Usually they try to write values "HLBrute v1.X" or "Code by ZeaL", but the passwords tried are usually just short rubbish ones. I have a strong enough password for it to not be guessed yet, though I'd appreciate the automatic banning feature to function.
My current values are: sv_rcon_banpenalty 60 sv_rcon_maxfailures 10 sv_rcon_minfailures 5 sv_rcon_minfailuretime 30
If possible, could a new CVAR be made "listipcfgfile" pointing to a "listip.cfg" file to read/write? CVAR "bannedcfgfile" for "baned.cfg" works nicely, would be great if we could point a IP bans list too.
Confirmed. I tried several values and they're not working for me either.
what version are you running? How are you testing?
Can't confirm it on 5956 server build. Ban for rcon brute works.
1.1.2.6 5758
sv_rcon_banpenalty 10 sv_rcon_maxfailures 5 sv_rcon_minfailures 3 sv_rcon_minfailuretime 57
PS: My HLDS won't update to a later version than this one -.-
@di57inct, https://developer.valvesoftware.com/wiki/SteamCMD
@vjatseslav can't understand how to use it/too lazy. Why use another tool? I'm used to hldsupdatetool.exe .
https://developer.valvesoftware.com/wiki/HLDSUpdateTool mentions that SteamCMD is the new tool for steampipe games, half‐life and counter‐strike have moved on to this new format, and its likely that the rest will aswell. Time to read up on steamcmd!
For other games, you will have to log in with a Steam Account Note:You must log out of the regular Steam client in order to properly log in to SteamCMD Update Tool.
Enter your password. Then check your e-mail for your Steam Guard access code and enter it
Pure bullshit. In this case why wouldn't I rather use Steam directly to download HLDS?
Hmm, still seeing Brute force attacks on latest beta build (5971) OS: Linux
Protocol version 48 Exe version 1.1.2.7/Stdio (cstrike) Exe build: 15:58:58 Feb 28 2013 (5971)
Bad Rcon from 82.146.57.125:52439: rcon 33839662 "999999" stats L 03/08/2013 - 01:14:07: Bad Rcon: "rcon 33839662 "999999" stats" from "82.146.57.125:52439" Bad rcon_password.
@MasteRs-git, set:
sv_rcon_banpenalty 60 sv_rcon_maxfailures 1 sv_rcon_minfailures 1 sv_rcon_minfailuretime 6000 // or even higher