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
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.
Ooo, nifty. So a mask of 7 would ban a 128 wide range, up and down from 123?
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.
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]?
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.
>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.
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?
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.