Banning IP ranges? (12)

1 Name: Anonymous 2005-04-17 15:38 ID:bXzq2Xe0 [Del]

I'm a Wakaba newbie, and I've had a troll posting crap on my board for a while. Banning doesn't work, as he seems to have a dynamic IP. Is it possible to ban ranges like 255.255..? I've tried that syntax, but end up with a ban on 0.0.0.255

2 Name: !WAHa.06x36 2005-04-17 16:02 ID:YE6mQTet [Del]

That's what the Mask input is for. The simplest way to use it is to give a bit range. For instance, 123.123.123.123 with Mask set to 16 will ban 123.123... 8 will ban 123.123.123.*, and values in between will be differently sized subnets between the two.

3 Name: Anonymous 2005-04-17 23:36 ID:bXzq2Xe0 [Del]

Ooo, nifty. So a mask of 7 would ban a 128 wide range, up and down from 123?

4 Name: dmpk2k!hinhT6kz2E 2005-04-18 01:41 ID:Heaven [Del]

7 gives two choices: 1xxxxxxx or 0xxxxxxx. In other words 0-127 and 128-256. Since 123 < 128, 123.123.123.[0-127] would be banned.

5 Name: Anonymous 2005-04-18 16:59 ID:bXzq2Xe0 [Del]

So... 5 would give 000xxxxx-111xxxxx, or 0-31, 32-63, 64-95, 96-127, 128-159, 160-191, 192-223, 224-255. And since 123 is in the 96-127 range, it would ban 123.123.123.[96-127]?

6 Name: !WAHa.06x36 2005-04-19 05:29 ID:Heaven [Del]

Yes. This is how IP addresses are divided into subnets by routers, too. You may have noticed the netmask entry in your TCP/IP settings, which is essentially the same thing.

7 Post deleted by moderator.

8 Post deleted by user.

9 Name: Spiner!OWPJYRiLro : 2006-03-14 02:46 ID:e6oas+Sa [Del]

>>2

>123.123.123.123 with Mask set to 16 will ban 123.123... 8 will ban 123.123.123.*

If 8 masks the fourth group and 16 masks the third and fourth group... If I wanted to mask the second, third and fourth group (123.XXX.XXX.XXX) would I set the mask to:

24, through + 8 (8 16 24) or 32, through * 2 (8 16 32) or something else entirely?

I need to ban 172.XXX.XXX.XXX.

10 Name: Spiner!OWPJYRiLro : 2006-03-14 02:58 ID:e6oas+Sa [Del]

Alright, after some experimenting I've gotten what looks like this:

IP: 172.0.0.0
Mask: 24
172.0.0.0/255.0.0.0

I'm assuming 0 means wildcard/disregard? Either way, will it work?

11 Name: !WAHa.06x36 : 2006-03-14 07:49 ID:Heaven [Del]

>>10

Right, that's pretty much it. For whole groups, 0 works as a wildcard. It's more complex than that and you can ban smaller sub-ranges too, but essentially that's it.

12 Post deleted by moderator.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: