You are here: Big Brother Bot ForumAdd-OnsPluginsReleases!banlist plugin v2.1.2
Pages: [1] 2 3   Go Down
  Print  
Author Topic: banlist plugin v2.1.2  (Read 8244 times)
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline Offline
WWW
« on: July 03, 2008, 01:56:03 PM »

Description:

This plugin has been made to allow easy sharing of cheater banlists between clans.
It also has the advantage of not requiring any game server reboot after banlist updates.

IP banlists / whitelists :
 * specify as many banlist files as you want.
 * understands range ip ban. (ie: ip ending with '.0')
 * option to enforce range ip ban as if all ip addresses where ending with ".0"
 
GUID banlists / whitelists  :
 * specify as many guid banlist files as you want.

For all banlists :

 * an url can be specified for hourly updates.
 * a specific message can be set to be displayed upon kick. (keywords understood: $id, $ip, $guid, $name)


Changelog :

09/07/2008
- allows to define multiple banlists
- understands guid banlists

21/07/2008 - 1.0.0
- banlist can be updated hourly from an url

26/07/2008 - 1.1.0
- makes use of thread while updating banlist from url
- makes use of thread while checking a player
- fails nicely on http error (thanks to flinkaflenkaflrsk's bug report)
- when loading config, check all connected players
- when loading config, if possible, update banlist files older than an hour
- upon player check, if banlist file is missing, fail nicely
- upon player check, if banlist file is missing and url is provided, update file from url and check player
- fix minor bug when using command !reconfig

27/07/2008 - 1.1.1
- better network error handling
- adds command !banlistinfo

09/08/2008 - 1.1.2 (Thanks to Anubis)
- fix a bug with game parsers that don't collect IP addresses. (i.e: empty IP)
- similar fix for guid

15/10/2008 - 1.1.3
-  add the ip/guid that triggered the kick in the kick message so it appears in the log/echelon

27/03/2009 - 2.0.0
/!\ UPGRADING USERS : beware of major changes in config file format
- add immunity level, so admin won't be checked against banlists
- add ip whitelist
- add guid whitelist
- add general "auto update" option
- add command !banlistupdate that will update all banlist with a URL
- add command !banlistcheck that will check all connected players
- the force_ip_range option is now per banlist
- message can contains the following keywords : $id, $ip, $guid, $name
- a player found in a banlist but 'immunized' by its level is given a notice, (so it can be seen in Echelon)

27/11/2009 - 2.1.0
- in guid banlists, search is now case-insensitive

29/11/2009 - 2.1.1
- better handling of a few cases where exceptions could be raised

16/12/2009 - 2.1.2
- typo in example config file


Download :  latest version | source code repository (RSS feed)

Urban Terror banlists : Urban terror cheaters banlists can be found on the Urban Terror Admin Alliance and on the ~SG~ clan website.


config example for Urban Terror
This config defines two ip banlists that are updated hourly from the given url.
Those two banlist are cheaters only banlists maintained by the Urban Terror Admin Alliance and the Powerban project.
Code: xml


   
       
       100
       
       
       yes
   


   
       
       100
       
       
       100
       
       
       100
   




 
   UAA
   /home/urt/banlist-uaa.txt
   no
   ^4$name^7 is ^1BANNED^7 by the ^5[UAA]
   
     
   

 
 

 
   Powerban
   /home/urt/banlist-powerban.txt
   no
   ^4$name^7 is ^1BANNED
   
     
   

 



If you know other banlist sources for other games, feel free to post your config here.

Banlist list : If you maintain a banlist of cheaters, please let us know on http://www.bigbrotherbot.com/forums/configurations/post-your-banlist-url's-here/
« Last Edit: March 07, 2010, 09:05:49 AM by Courgette » Logged


Newbie
*
Posts: 3
Offline Offline
« Reply #1 on: July 05, 2008, 05:27:45 AM »

good job Courgette
Logged
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline Offline
WWW
« Reply #2 on: July 21, 2008, 02:02:13 PM »

new version : v1.0.0
provides banlists hourly auto-update via URL
Logged


B3 Contributor
Sr. Member
****
Posts: 239
Offline Offline
« Reply #3 on: July 24, 2008, 02:12:44 PM »

this plugin uses the format of the UAA so it can be a direct referal to that or does it not understand the -1?
Logged

Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline Offline
WWW
« Reply #4 on: July 24, 2008, 11:23:07 PM »

it just ignores whatever is after the ip, so the :-1 won't be interpreted.

If you want to comment out an IP , you have to make the line start with "//"
Logged


Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline Offline
WWW
« Reply #5 on: July 25, 2008, 03:09:40 PM »

release v1.1.0 is out
release v1.1.1 is out
« Last Edit: July 26, 2008, 10:04:16 AM by tomdesinto » Logged


B3 Contributor
Sr. Member
****
Posts: 239
Offline Offline
« Reply #6 on: July 27, 2008, 09:29:08 AM »

yay \0/ testing paid off  Wink
Logged

Sr. Member
****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 229
Offline Offline
WWW
« Reply #7 on: August 05, 2008, 02:45:40 PM »

Hi,
what is the format of ipbanlist and gidbanlist files? Does it contain only list of IPs/GUIDs in the separate lines (without ban duration)? So its like:
IP:
192.192.192.1
192.193.191.1
...
...

GUIDs:
2131242354235252151252355235
1235423523525123542352352352
...

am I right?

ps. I understand my question could be silly, but ... well, I'm not really familiar with python Wink
Logged

Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline Offline
WWW
« Reply #8 on: August 05, 2008, 11:30:28 PM »

For both files the format is :

  • One IP/GUID per line
  • A line starting with '//' will be ignored (commented out)

For the IP file only:

banlist plugin ignores whatever is after the ip, so you can safely use a banlist file generated by your game.
That's also mean that even if ban durations are written in the file, banlist plugin will ignore that info and consider all ip as permanent ban.
Logged


Sr. Member
****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 229
Offline Offline
WWW
« Reply #9 on: August 07, 2008, 01:56:43 PM »

Thanks for description.
Well... usefull plugin. I'll try it Smiley Thanks for sharing.

regards
Logged

Sr. Member
****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 229
Offline Offline
WWW
« Reply #10 on: August 08, 2008, 01:27:52 PM »

Well... there is something wrong with this plugin... it makes a disaster on the server just after executing this plugin. As I saw in the logs it found somehow that IP was the same as specified in the ipbanlist file, but it wasn't:

080808 23:13:15   BOT       BanlistPlugin: kicking Deeq <3, ip:, guid:xxxxxxxxxxxxxxxxxxxxxxxxx. Found in banlist : banlist 1

maybe it's not empty IP - safe? (B3 does not using IP's right now)
« Last Edit: August 08, 2008, 01:37:54 PM by Anubis » Logged

Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline Offline
WWW
« Reply #11 on: August 09, 2008, 02:46:41 AM »

Fix released : v1.1.2
see first post for download link
« Last Edit: August 24, 2008, 01:24:25 PM by Courgette » Logged


Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline Offline
WWW
« Reply #12 on: March 27, 2009, 03:08:57 PM »

New major release v2.0

main new features are ip_whitelist and guid_whitelist
but there are many other additions.

See changelog in top message
« Last Edit: March 27, 2009, 03:11:37 PM by Courgette » Logged


Jr. Member
**
Posts: 10
Offline Offline
« Reply #13 on: August 22, 2009, 09:35:58 AM »

Any way this will work with COD4?
Logged
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline Offline
WWW
« Reply #14 on: August 22, 2009, 09:41:31 AM »

Well, I've never tried, but it should work on COD.

If you have error, please post the log
Logged


Tags: plugin 
Pages: [1] 2 3   Go Up
  Print  
 
Jump to: