2 ms·
Why is it less effective on v6? You just ban the /48 or bigger.
by Dagger2 4mo ago
Why is it less effective on v6? You just ban the /48 or bigger.
- will4274 4mo agoIt's difficult for servers to know how big client allocations are. With v4, pretty much everybody got /32s, but with v6, sizes vary. So you've got to start with small bans, and then switch to big bans later, but not too aggressively so you don't accidentally ban legitimate customers. It's a tricky balance.
- Dagger2 4mo agoYou have to do that with range bans in v4 too, since you have no idea how big the pool of addresses a user can pull from is -- and with CGNAT in the picture you're kind of doomed to banning legitimate customers on v4 no matter what you do.
- will4274 4mo agoYes, you ban some legitimate customers with v4. But the span between the smallest allocations and biggest allocations is much smaller, so simple strategies (like banning the bad address) scale further.
- Dagger2 3mo agoI think the span would be about the same, or smaller even, if you limited yourself to a granularity of 4 bits for v6. Allocations are often rounded to 4 bits in v6 because it correlates to exactly one character of the v6 address. I'd also like to note that being worried about accidental overbanning in v6 but then being dismissive of it in v4 is a double standard.