thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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!

Author Topic: banlist plugin  (Read 84712 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin
« Reply #75 on: May 20, 2011, 05:44:44 PM »
The whitelist feature of this plugin is just to make exceptions for guid/ip that would be kicked by a banlist.

You cannot enforce just a whitelist with this plugin

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: banlist plugin
« Reply #76 on: May 20, 2011, 05:57:30 PM »
I know xlr made this plugin ( a whitelist ) for someone way back when (CoD4).
Wondering if it will be released?
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #77 on: June 05, 2011, 03:21:27 AM »
I was wondering...

I have had to ban the 187, 189, and 190 I.P. ranges in their entirety due to 60% of all hackers on my servers come from those.

I tried then to add individual I.P. addresses to the whitelist but it still won't let them in.

is it possible to make that work?

I would like to let in trusted players from those ranges by their I.P.

Thanks in advance

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin
« Reply #78 on: June 05, 2011, 03:59:44 AM »
should work. provide a b3.log showing the whitelisted guy connecting and getting kicked. Also provide whitelist and plugin config

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #79 on: June 05, 2011, 04:47:07 AM »
it seems I need to try again... looks like his clientid changed again due to him reinstalling the game and the tagprotect plugin got him

that may have been the problem.

as soon as I can get him away from his movie I will try again

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #80 on: June 05, 2011, 05:59:27 AM »
okay... it doesn't show in the b3 logs that he is getting banned because I am banning the I.P. ranges through UrbanTerror and trying to allow through the whitelist through the b3 plugin.

Doo I need to ban the ranges in the banlist plugin lists for it to work?

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #81 on: June 05, 2011, 06:17:04 AM »
okay... I set up another banlist called rangebanlist.txt

Quote
187.0.0.0
189.0.0.0
190.0.0.0
70.0.0.0 (this one is my buddies for testing purposes)


and set it up in banlist.xml

Quote
<ip_banlist>
           <name>Range Banlist</name>
           <file>/home/banlists/rangebanlist.txt</file>
           <force_ip_range>yes</force_ip_range>
           <message>^4$name^7 is ^1BANNED^7 (is ^5in the range banlist)</message>
</ip_banlist>

but it soesn't keep him out... he can get in anyway. ashouldn't this keep out anyone that has an I.P. starting with 70?

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: banlist plugin
« Reply #82 on: June 05, 2011, 09:10:46 AM »
okay... it doesn't show in the b3 logs that he is getting banned because I am banning the I.P. ranges through UrbanTerror and trying to allow through the whitelist through the b3 plugin.

Doo I need to ban the ranges in the banlist plugin lists for it to work?
If URT is banning them , then B3 can't overwrite it... try using B3 to ban the ranges...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin
« Reply #83 on: June 05, 2011, 11:12:40 AM »
let say you have a player with IP 241.141.0.45,

having force_ip_range enabled means that you can use 241.141.0.0
in your banlist to ban all ip from 241.141.0.0 to 241.141.0.0

so the range is only for Class C network addresses

hope this helps

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #84 on: June 05, 2011, 04:21:25 PM »
let say you have a player with IP 241.141.0.45,

having force_ip_range enabled means that you can use 241.141.0.0
in your banlist to ban all ip from 241.141.0.0 to 241.141.0.0

so the range is only for Class C network addresses

hope this helps


Don't you mean "to ban all ip from 241.141.0.0 to 241.141.255.255"?

So if I inderstand this right...

This will not ban 187.0.0.0

I have to do it like this:
187.1.0.0
187.2.0.0
187.3.0.0
all the way through to 187.255.0.0  to ban all ip's from 187.1.0.0 - 187.255.255.255?

I think I am confused because if they have an ip of 187.0.120.5 (example) they would get through that.

See.... I need to ban every single ip address starting with 187, 189, and 190 and only allow in trusted players that fall in those ranges
« Last Edit: June 05, 2011, 04:44:50 PM by PsYc0TiC »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin
« Reply #85 on: June 05, 2011, 04:23:14 PM »
A.B.C.D

where A.B.C cannot be a range. Only if D is 0 then it does match for A.B.C.0 up to A.B.C.255

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #86 on: June 05, 2011, 04:47:25 PM »
A.B.C.D

where A.B.C cannot be a range. Only if D is 0 then it does match for A.B.C.0 up to A.B.C.255

I am confused.

Because banning 187.0.0.0 works in urbanterror but from what I can tell it doesn't work in b3 with the banlist plugin...

I have set up in the new rangebanlist.txt called by the banlist plugin every ip from:
187.1.0.0 - 187.255.0.0
and that doesn't keep them out. Does this only work on the last decimal of the ip? If so this doesn't really help my situation any because the last decimal is not the issue... it starts from the second on
« Last Edit: June 05, 2011, 07:28:11 PM by PsYc0TiC »

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: banlist plugin
« Reply #87 on: June 05, 2011, 07:10:05 PM »
this one was kind of confusing for me

this is my banlist url http://nyc2.wildcatsclan.net/KJ/echelon/banlist.php

it receives bans from 3 servers on separate boxes.

how should i configure my plugin.xml?

i have it set like this(just one of the servers, for example) ; and it doesnt seem to be working. do i need to change .php to .txt?

Code: [Select]
<ip_banlist>
    <name>KJ TDM</name>
    <file>/service141/UrbanTerror/q3ut4/banlist.txt</file>
    <force_ip_range>no</force_ip_range>
    <message>^4$name^7 is ^1BANNED^7 by ^6[KJ Banlist]</message>
    <url>http://nyc2.wildcatsclan.net/KJ/echelon/banlist.php</url>
  </ip_banlist>  
« Last Edit: June 05, 2011, 07:23:53 PM by beepbeep »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin
« Reply #88 on: June 06, 2011, 12:12:32 AM »
what your b3.log says ? filter out lines that contains BanlistPlugin in it

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: banlist plugin
« Reply #89 on: June 06, 2011, 03:03:05 PM »
just this repeatedly
Code: [Select]
Line 90821: 110606 04:01:13	VERBOSE	Parsing Event: Client Authenticated: BanlistPlugin

 


Rate this page +1 at Google Search

anything