Jump to content

banmask


geedoxx

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.