It turns out we will have to move in to Baller Bude with the script after all.
We ran into a few speedbumps with this last script that we don't seem to be able to get around of... At first script wasn't initiating properly for a couple of days (our fault), then when that was fixed, it turned out script can't write to the local banlist.txt file:
"command" is:"add 1.2.3.4 # TEST" default:""
"command" is:"" default:""
"response" is:"executed add 1.2.3.4 # TEST." default:""
"command" is:"test 1.2.3.4" default:""
"response" is:"1.2.3.4 is banned: local, line 2, 1.2.3.4 # TEST." default:""
Seems like script was writing the bans somewhere else into a 2nd file - but it wasn't in the banlist.txt afterwards and server-wide grep couldn't find this entry in any file, while permissions were set properly. Simply put, we couldn't figure out where new bans are stored - but for sure it wasn't the designated file.
Another problem we ran into was printing of this error lines:
18:05 <lululaglue> but i've lot of error in my screen
18:05 <lululaglue> print() on closed filehandle STATUS at
/opt/games/smokin_guns/bans_by_ip.pl line 280.
So I asked lu to disable the script so it's not turned on in tomorrow's server restart (6 am) - please enable our copy on Baller Bude. Our last banlist can be taken from here:
http://log_sg.jeuxlinux.fr/banlist.txtThanks in advance for letting us crash on your couch,
Lukasz
SG names: Bodie (aka mS // Donnie).
Admin on Jeuxlinux, RAWHIDE, #sg.wars and some other servers.