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 TheDoctor » Thu Feb 03, 2011 10:02 pm

rane wrote:Are you up for some perl to update our scripts with this feature?

Generally, yes. But you should know, there might be a bug in the current version of the script which I first have to catch before I can continue development.

Furthermore, I want you to formulate several concrete examples of bans with their exceptions to verify the necessity of this feature. From a strict theoretical viewpoint, the requested mechanism would not give you more expressibility: every banlist with exceptions can be rewritten into a banlist without exceptions, although it might inflate.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Bodie » Sun Feb 06, 2011 11:23 am

Example:

Morgan:

IPs: 62.224.159 (3x), 62.224.161 (2x), 62.224.162 (2x), 62.224.163, 62.224.164 (7x), 62.224.165, 62.224.166 (2x), 62.224.168, 62.224.169 (2x), 62.224.171 (2x), 62.224.172 (2x), 62.224.173 (6x), 62.224.174 (2x), 62.224.175, 62.224.176, 62.224.177, 62.224.178 (2x), 62.224.179 (3x), 62.224.180 (3x), 62.224.181 (8x), 62.224.182 (6x), 62.224.183 (3x), 62.224.184, 62.224.185, 62.224.186 (4x), 62.224.187 (3x), 62.224.188 (4x), 62.224.189 (3x), 62.224.190, 62.224.191, 62.224.243 (2x), 91.37.225 (5x), 91.37.226 (2x), 91.37.227, 91.37.228 (3x), 91.37.229, 91.37.232 (2x), 91.37.233, 91.37.236 (3x), 91.37.237, 91.37.238 (2x), 91.37.241 (3x), 91.37.242 (2x), 91.37.244 (2x), 91.37.245, 91.37.246 (4x), 91.37.249 (3x), 91.37.250, 91.37.251 (2x), 91.37.252 (4x), 91.37.253 (4x), 91.37.254, 91.37.255 (5x)

Apu today:
62.224.171.24

I have no way of banning Morgan without banning Apu. But if Apu had his exception I could set for a few days with his current IP, Morgan would be banned and Apu could play. That's a growing problem we should address somehow. Or we will either be forced to ban innocent people or unban some cheaters...
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 » Sun Feb 06, 2011 2:12 pm

OK, I'll expand the script to support a whitelist. As I don't want to add separate file for it, the whitelist entries will go also into the (local) banlist. A special character should distinguish white entries from black entries. This could either '+' or '-' or some other symbol. Which character do you prefer?

Example, using '+':
Code: Select all
62.224. # disallow Morgan (black entry)
+62.224.171.24 # allow Apu (white entry)


White entries will always override black entries regardless of their relative position in the banlist.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Bodie » Sun Feb 06, 2011 2:35 pm

Thank you, this will help a lot.

As for the character... anything will work. "+" is fine with me.

In the longer run we have to move to GUID, MAC and maybe some other types of identification and bans. Current system with bans based on IPs and logs only mentioning GUIDs is getting a bit out of hand already.
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 Feb 07, 2011 2:54 am

I've updated the script to support whitelist entries as discussed (see first two posts).

rane wrote:In the longer run we have to move to GUID.
I'm recently got convinced this would be very inadvisable. If GUIDs are used to enforce bans SG-wide, we will loose the ability to track players. Given our limited manpower and time, this will hurt us very much since we would have to prove the use of cheats again and again.

Concerning BB, I'll probably move away from the current GUID-based ban system towards an IP-based list. My experiences with SpecialBude (R.I.P.) and Paladin show automatically generated IP-based banlists to be quite reliable and they are certainly not easier to circumvent than GUID-based bans.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby TheDoctor » Wed Mar 02, 2011 3:31 am

Rane, did JeuxLinux already upgrade to v6 of the ban script? If so, I would be very interested to get access to the following file:
Code: Select all
$userinfo_log = 'common_userinfo.log'

It contains ClientUserinfoChanged lines together with IP and timestamps ;-)
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Bodie » Wed Mar 02, 2011 5:08 am

Sorry. We didn't manage to snatch it before Baller went down. I mailed lu yesterday to ask him for the upgrade since Baller is up again and I hope he'll get round to it this week.

When that's done, I'll give you the file or just request it being shared with other Jeux logs. You have an account to access our logs I believe.
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 » Sat Mar 12, 2011 9:46 am

Sorry again Doc. Lu updated the script (so we have whitelists and can ban long nicknames) but he didn't have time to get to fixing logs before he left on vacations. He promised to get to it when he's back in a couple weeks.
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 » Sat Mar 12, 2011 6:06 pm

I seriously dislike the feature that automatically removes imported bans from g_banips. When script fails or falls asleep, this feature removes normal bans and prevents me from banning people. Can I turn it off?
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 Mar 12, 2011 8:14 pm

rane wrote:I seriously dislike the feature that automatically removes imported bans from g_banips. When script fails or falls asleep, this feature removes normal bans and prevents me from banning people. Can I turn it off?

Yes. Set $manage_g_banips to 0 (default). This will stop the script from moving entries from g_banIPs to its local banlist.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Bodie » Sat Mar 12, 2011 9:26 pm

Darn, I can't do it until Lu is back from vacations. :-\ I seriously could use an account on Jeux to manage the server...

It's good g_banips management is an option though. Thanks for help.
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 » Wed Mar 23, 2011 8:56 pm

I gave it another shot and mailed lu asking for both reconfigs. Hope he's back by now.

For some reason script seems to be working weird on Jeux. It often falls asleep and it has long sleep times not kicking people even though they are on the list. It performs much better on Rawhide and I can't really say why, their banlist isn't any shorter than ours.

If you could take a look Doc, it'd be nice. I don't know what might clutter it and logs aren't of any help either.

If I give it a command, for example "test 83.208.0.0" it'll give me an answer right away. But the guy with 83.208 on the server won't be kicked despite many script's cycles. It's like script went through all the commands with every cycle but for some reason refused to kick the person out.

You still have our rcon and access to our logs, I hope. If not, PM me and I'll send you the info.
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 » Fri Mar 25, 2011 5:21 pm

I think the problem is related to the g_banips management module. When one address is present there, script seems to refuse to add more of them so it won't ban 2nd cheater until 1st cheater's ban is gone from g_banips.

Since we have huge throughput it often happens 2-3 cheaters ought to be banned at once. Script typically only dares to add 1 IP though.
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 Mar 25, 2011 5:51 pm

rane wrote:I think the problem is related to the g_banips management module. When one address is present there, script seems to refuse to add more of them so it won't ban 2nd cheater until 1st cheater's ban is gone from g_banips.

Since we have huge throughput it often happens 2-3 cheaters ought to be banned at once. Script typically only dares to add 1 IP though.

The script tries to add the IP address of the last encountered cheater to g_banIPs. It will never add more than one IP, but it will replace the previous IP. Just to clarify: the presence or absence of an IP address in g_banIPs is independent from the clientkicks the script issues for a banlisted user. Of course, a user cannot even connect to a server if he is banned, therefore remaining invisible to the script. But a cheater ought to be kicked, if the script was able to correctly query his user info. If there is a delay of a few seconds, the script is delaying the kick to read out the user info (with the intent to log he GUID).
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby TheDoctor » Wed Mar 30, 2011 1:35 am

I found the cause of the error and updated SB's, Rawhide's and Paladin's script. You'll find the updated version at the usual location (see first post). If you want to switch Jeux's script to bb.smokin-guns.org, let me know in advance. You also got a PM which you haven't read yet, but which is partly superceded by this post.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



PreviousNext

Return to Telegraph Station

Show Sidebar
Show Sidebar

User Control Panel

cron