Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Pages: [1] 2 3 ... 9   Go Down
  Print  
Author Topic: banlist plugin  (Read 22898 times) Bookmark and Share
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« 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.

Rules of Combat banlists  :
 * specify Homefront banlist from www.rulesofcombat.com


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)


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 Powerban 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:
<configuration plugin="banlist">

    <settings name="global_settings">
        <!-- level from which players won't be checked, thus never be kicked. (default: 100) -->
        <set name="immunity_level">100</set>
       
        <!-- do you want to update banlists that provide an URL automatically every hour ? (default: yes) -->
        <set name="auto_update">yes</set>
    </settings>

    <settings name="commands">
        <!-- Command to list all loaded lists -->
        <set name="banlistinfo-blinfo">100</set>
       
        <!-- Command to update all lists from their URL (if any) -->
        <set name="banlistupdate-blupdate">100</set>
       
        <!-- Command to force checking of connected players -->
        <set name="banlistcheck-blcheck">100</set>
    </settings>

<!--
You can define as much banlist files as you want.
banlists can be of 4 types : ip banlist, ip whitelist, guid banlist or guid whitelist
Each banlist definition contains the following information :
* name : the name of the banlist, will be used as a reason for the kick (useful to find them in Echelon)
* file : the path to the banlist file.
- ip banlist : a file containing ip to ban, compatible with quake3 banlist format. If an ip ends with ".0", the full range will be banned. Lines stating with "//" will be ignored.
- guid banlist : a file containing guid to ban. Lines stating with "//" will be ignored.
* message : an optional message that will be displayed in game. Keywords that can be used : $id, $ip, $guid, $name
- NOTE:  the ban message is only visible to other players. The banned player WILL NOT SEE that message as it is kicked before having a chance to load the map.
* url : an optional url from where the banlist file will be updated hourly
* force_ip_range : yes/no. If yes all IPs will be read as if they were ending with '.0'
-->

  <ip_banlist>
    <name>UAA</name>
    <file>/home/urt/banlist-uaa.txt</file>
    <force_ip_range>no</force_ip_range>
    <message>^4$name^7 is ^1BANNED^7 by the ^5[UAA]</message>
    <url>
      <![CDATA[http://www.urtadmins.com/e107_files/public/banlist.txt]]>
    </url>
  </ip_banlist> 

  <ip_banlist>
    <name>Powerban</name>
    <file>/home/urt/banlist-powerban.txt</file>
    <force_ip_range>no</force_ip_range>
    <message>^4$name^7 is ^1BANNED</message>
    <url>
      <![CDATA[http://powerban.urban-terror.fr/?banlist=powerban&dl=1]]>
    </url>
  </ip_banlist>

</configuration>




config example for Homefront
This config defines a banlist that is updated hourly from the Rules of Combat (RoC)
Code:
<configuration plugin="banlist">

    <settings name="global_settings">
        <!-- level from which players won't be checked, thus never be kicked. (default: 100) -->
        <set name="immunity_level">100</set>
       
        <!-- do you want to update banlists that provide an URL automatically every hour ? (default: yes) -->
        <set name="auto_update">yes</set>
    </settings>

    <settings name="commands">
        <!-- Command to list all loaded lists -->
        <set name="banlistinfo-blinfo">100</set>
       
        <!-- Command to update all lists from their URL (if any) -->
        <set name="banlistupdate-blupdate">100</set>
       
        <!-- Command to force checking of connected players -->
        <set name="banlistcheck-blcheck">100</set>
    </settings>


    <rules_of_combat>
        <name>Rules of Combant</name>
        <file>@conf/rules_of_combat.txt</file>
        <message>$id is BANNED (RoC)</message>
        <url><![CDATA[http://gbl.rulesofcombat.com/gbl.php]]></url>
    </rules_of_combat>

</configuration>



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.net/forums/configurations/post-your-banlist-url's-here/

« Last Edit: May 09, 2011, 12:19:52 PM by Courgette » Logged


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

good job Courgette
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: July 21, 2008, 02:02:13 PM »

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

Sr. Member
****
Posts: 238
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

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« 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

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« 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

Sr. Member
****
Posts: 238
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: 228
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

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« 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: 228
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: 228
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

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« 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

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« 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
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« 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 ... 9   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal