With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Game server information & questions.

Moderators: Joe Kari, Pardner, TheDoctor

Postby Bodie » Thu Apr 28, 2011 11:59 pm

Let's use the one that can't crash the server even if it's shorter, please. :-) Safe option always better option.
SG names: Bodie (aka mS // Donnie).
Admin on Jeuxlinux, RAWHIDE, #sg.wars and some other servers.
User avatar
Bodie
Jeuxlinux Admin
 
Posts: 633
Joined: Thu Mar 26, 2009 7:59 pm



Postby TheDoctor » Fri Apr 29, 2011 10:08 pm

I've updated the ban script of Jeux. Players w/o guid should be kicked. Moreover, after every advrate minutes, the script will try to read and say the contents of one the variables adv1, adv2, and so forth. The script assumes, the first undefined or empty variable marks the end of the cycle, in which case it goes back to read adv1.

UPDATE: changed the script so empty variables too mark the end of the cycle, which enables to prevent the spamming of undefined variables.
Last edited by TheDoctor on Sun May 01, 2011 4:11 am, edited 1 time in total.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Bodie » Fri Apr 29, 2011 10:19 pm

Big thanks Doc (again!), will test as soon as we agree on general text of messages. :-)
SG names: Bodie (aka mS // Donnie).
Admin on Jeuxlinux, RAWHIDE, #sg.wars and some other servers.
User avatar
Bodie
Jeuxlinux Admin
 
Posts: 633
Joined: Thu Mar 26, 2009 7:59 pm



Postby Bodie » Tue May 31, 2011 2:18 pm

Black Cobra today came as "^" with 93.144. IP. He wasn't kicked by the script - nor even registered in recent visitors. I think this is a loophole in the script allowing him to fly under radar.
SG names: Bodie (aka mS // Donnie).
Admin on Jeuxlinux, RAWHIDE, #sg.wars and some other servers.
User avatar
Bodie
Jeuxlinux Admin
 
Posts: 633
Joined: Thu Mar 26, 2009 7:59 pm



Postby TheDoctor » Tue May 31, 2011 7:13 pm

rane wrote:Black Cobra today came as "^" with 93.144. IP. He wasn't kicked by the script - nor even registered in recent visitors. I think this is a loophole in the script allowing him to fly under radar.
OK, I see, he really used "^" as his exact name.

I fixed this and two other bugs:
- 1 letter name parsing bug of dumpUser(name), introduced in v6
- non-critical bug w.r.t. safelyRepeat
- a serious bug in isBanned w.r.t. uncommented blacklist entries read as whitelist entries, introduced in v6

All scripts were updated.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Bodie » Thu Jun 02, 2011 6:47 pm

It seems like script is down for Jeux today. Is everything working okay on Baller side?
SG names: Bodie (aka mS // Donnie).
Admin on Jeuxlinux, RAWHIDE, #sg.wars and some other servers.
User avatar
Bodie
Jeuxlinux Admin
 
Posts: 633
Joined: Thu Mar 26, 2009 7:59 pm



Postby TheDoctor » Thu Jun 02, 2011 8:20 pm

rane wrote:It seems like script is down for Jeux today.
After I removed a forgotten debug output line which trashed the log, it seems I forgot to start the script again...
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Bodie » Mon Jun 06, 2011 2:46 pm

Ban is:

197 # imported from g_banips on Thu 24 Mar 2011 21:32:53


Command is:

197 # imported from g_banips on Thu 24 Mar 2011 21:32:53


Response is:

197 # imported from g_banips on Thu 24 Mar 2011 21:32:53


Seems like the script doesn't understand this 1-number bans very well. Not sure who banned this way - it's a clear admin mistake a couple months ago imported by the script to the big list. But I can't remove this ban using commands. Please scratch it off manually.

Thanks in advance for that and all previous fixes. :-)
SG names: Bodie (aka mS // Donnie).
Admin on Jeuxlinux, RAWHIDE, #sg.wars and some other servers.
User avatar
Bodie
Jeuxlinux Admin
 
Posts: 633
Joined: Thu Mar 26, 2009 7:59 pm



Postby TheDoctor » Mon Jun 06, 2011 8:35 pm

rane wrote:Seems like the script doesn't understand this 1-number bans very well.
That's a security measure: you cannot add 1-number bans nor are 1-number entries enforced. Eventually, I'll modify the script such that 1-number bans are removable and the import of 1-number bans from g_banIps is prevented.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Bodie » Tue Jun 07, 2011 12:11 am

I'm glad they are taht way. Thanks.
SG names: Bodie (aka mS // Donnie).
Admin on Jeuxlinux, RAWHIDE, #sg.wars and some other servers.
User avatar
Bodie
Jeuxlinux Admin
 
Posts: 633
Joined: Thu Mar 26, 2009 7:59 pm



Postby Bodie » Tue Jul 12, 2011 10:22 pm

Script for Jeux is extremely laggy lately, it locks console forever especially in the evenings. Were there any performance-affecting bugs?
SG names: Bodie (aka mS // Donnie).
Admin on Jeuxlinux, RAWHIDE, #sg.wars and some other servers.
User avatar
Bodie
Jeuxlinux Admin
 
Posts: 633
Joined: Thu Mar 26, 2009 7:59 pm



Postby TheDoctor » Sat Feb 25, 2012 6:28 pm

I've updated the bans_by_ip.pl script today, synchronizing the scripts I run/ran for various servers and the one I published.
# v7 "ha ha"
# - fixed a bug w.r.t. to status messages/RCON handling, likely introduced in v6
# - added a child-proof lock for "del:"
# - rewritten "(ceil($FAILCOUNT/10)*10) != $FAILCOUNT" into "($FAILCOUNT % 10) != 0" to not use "ceil"
# v8 "it's impervious"
# - optional warn or kick of players w/o GUID
# - fixed getCVAR() parse bug regarding different answers: '"key" is:"value" default:"value"' vs. '"key" is:"value", the default'
# - advertising! (this has nothing to do with bans and I regret adding this functionality, originally requested by JeuxLinux)
# - fixed 1 letter name parsing bug of dumpUser(name), introduced in v6
# - fixed non-critical bug w.r.t. safelyRepeat
# - fixed a serious bug in isBanned w.r.t. whitelists, introduced in v6
# - support for external configuration (if this file is named "FILENAME.pl", it inlines a file "FILENAME.cfg")


I used to run this scripts for: Rawhide (shutdown), Paladin (wrong/unknown password), JeuxLinux 1.0 (shutdown, upgraded to 1.1) and SpecialBude (shutdown, due to a lack of ressources). Other known users of this script: Tequila (maybe a modified version), Ricochet.

Currently, I no longer run/host this script, therefore I won't expand it's functionality. However, you may contact me in case you find errors or have doubts, whether the script is working correctly.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Previous

Return to Telegraph Station

Show Sidebar
Show Sidebar

User Control Panel