Jump to content


Welcome to PBBans

Welcome to PBBans, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of PBBans by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Customize your experience here
Guest Message by DevFuse
 

banmaskjust a noob question


2 replies to this topic

#1 geedoxx

    Normal User

  • Members
  • Pip
  • Reputation: 0
    None
  • 5 posts

Posted Apr 25, 2007 - 01:49 AM

hello!
first of all i want to excuse myself for asking such a noob question! well i dont know if it is really such a noob question, but i would like to avoid some flaming :)

i have a real annoying cheater on the server, who is always getting a new guid when i banned him. so i thought maybe the banmask could help me, but as asson as this player reconnects to the internet he gets a new ip from his provider.
then i tried to banmask a wider range of the ip's from this provider (found the ranges out with ripe.net).
but i could not banmask all ip-ranges from this provider because this provider has extremely much ranges.

now you could ask that i will ban also non-cheaters that use the same provider. well, i am lucky that this guy is coming from a country from which we have usually no players on the server.

so my question is less about how the banmask works, and more about how ip's work. is there a way to banmask a provider or country?

please dont flame me, asking such a question, this is really the only guy from this country on my server and he is spoiling the fun for all players

#2 kcinc0gnito

    Normal User

  • Members
  • Pip
  • Reputation: 7
    A step in the right direction
  • 788 posts

Posted Apr 25, 2007 - 01:58 AM

How to ban by IP using old Q3 rcon method

If the bad guys IP is static then there is no problem , first thing to check is if the filterban variable is on or off;
/rcon seta g_filterban 0/1 (0 = IP banning is off 1 = IP banning is on)

next we add the llama's IP
/rcon addIP 312.27.48.132 (pb_sv_banmask 312.27.48.132 has the same effect)
job done.
note:
If you use the banmask pb command the IP ban is added to your pbbans.dat just like normal bans.

if his IP is dynamic you need to do a little more work .. first stage is to collect some IP addresses he connects with .. it will look something like this;
312.27.48.120
312.27.48.38
312.27.32.12
312.27.32.89
312.27.48.10
312.27.48.91
312.27.32.140
notice that the common numbers are 312.27.48 and 312.27.32 ... what we do now is ban all IP's within that range like this

/rcon addIP 312.27.48
/rcon addIP 312.27.32

this will filter all IP's in the range of 312.27.48.0 through 312.27.48.255 and 312.27.32.0 through 312.27.32.255 this effectively bans your lamer without banning a whole IP range that affects a lot of innocent people

if we just ban the whole IP range
/rcon addIP 312.27
this bans all IP's from 312.27.48.0 through 312.27.255.255
( we get 65,000 people by multiplying 255x255)

your call , its your server, ban 65,000 in one stroke or do a little work and ban a llama

All the above IP's are fictitious and for demo purposes only but if you are prepared to put in the effort an effective ban can be applied to anyone regardless of wether the IP is static or dynamic


another option (and generally prefered) is to use

PB_SV_BanMask [IP Address / Subnet Mask]
Permanently bans players from joining the server from the specified IP Address / Subnet Mask; for example: issuing PB_SV_BanMask "12.34." will cause PB to deny access to all players trying to join from an IP Address that begins with "12.34."; These bans are written to the pbbans.dat file just like bans issued with the PB_SV_Ban command

#3 5chaap2k

    Normal User

  • Retired Staff
  • Reputation: 0
    None
  • 686 posts
  • Gender:Male
  • Location:The Netherlands
  • XFire:5chaap2k

Posted Apr 25, 2007 - 02:37 AM

you can also track the players IP changes trough the PBBans MPI4 (Master Player Index)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



DMCA.com