Forum

> > CS2D > General > Variable IP ban
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Variable IP ban

7 replies
To the start Previous 1 Next To the start

old Variable IP ban

Banaan
User Off Offline

Quote
At my server, a very irritating guy (not a hacker, just irritating) showed up, faking everyone and being a moron. He didn't have a USGN account, so i banned his IP. I thought happily to myself: 'YAY! that irritating guy is gone! '

But he wasn't. The next day he showed up again. And the day after. And he kept coming.

When i took a look at the list of bans this morning, I noticed the IP of this guy always started with the same numbers, but ended different. So I thought happily to myself: 'YAY! maybe there's hope! Maybe it's possible to ban all IP's starting with (for instance) 12.345. '

So the question is, is it really possible?

old Re: Variable IP ban

ilovemyself
User Off Offline

Quote
Unless you buy static ip address from your service provider, ip adr. will keep changing.

If i restart my modem/router now, i will get a new ip adr.

Use PeerGuardian2 to ban him.

old Re: Variable IP ban

Nem
User Off Offline

Quote
Yes, maybe if you ban him via 2 first cell in adress, he will gone. but maybe no, second cell in my IP gonna change sometimes, maybe week, maybe month. maybe he got that weird IP too.

old Re: Variable IP ban

sonnenschein
User Off Offline

Quote
Nemesis has written
Yes, maybe if you ban him via 2 first cell in adress, he will gone. but maybe no, second cell in my IP gonna change sometimes, maybe week, maybe month. maybe he got that weird IP too.

But if you ban all second ones, you are banning the whole country.

old Re: Variable IP ban

DC
Admin Off Offline

Quote
I'll just confirm what Roni said. CS2D supports wildcards (*) in IP bans since 0.1.1.6

some examples

1.2.3.* = bans all ips starting with 1.2.3.

1.2.*.* = bans all ips starting with 1.2.

1.*.*.* = bans all ips starting with 1.

*.*.*.4 = bans all ips ending with 4.

*.2.*.* = bans all ips with 2 at second position.

*.*.*.* = bans all ips (not recommended )

just note that the "ban-mask" always has to have 3 dots (.) in it and between them there has to be either a number from 0 - 255 or one single * (which is a wildcard and means that there can be any number at this position and the ban will match).
edited 3×, last 02.01.10 01:50:18 pm

old Re: Variable IP ban

Nem
User Off Offline

Quote
LinuxGuy has written
Nemesis has written
Yes, maybe if you ban him via 2 first cell in adress, he will gone. but maybe no, second cell in my IP gonna change sometimes, maybe week, maybe month. maybe he got that weird IP too.

But if you ban all second ones, you are banning the whole country.

Agree. Anyway he cant do that if he know what mean second cell, only one way to stop that bastard - U.S.G.N. only.
DC has written
*.*.*.*

look like 3 dead ppl, like that (-_(-_-)_-)

old Re: Variable IP ban

Banaan
User Off Offline

Quote
ok tnx a perfect answer

I did try USGN only, but then very few people joined and it got boring...
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview