-
Notifications
You must be signed in to change notification settings - Fork 3
Description
The current IPv6 connlimit mask is /64, which is typically what is given out to customers by ISPs.
Unfortunately, it's way too easy to easy to obtain bigger ranges, for example with HE's TunnelBroker which gives out IPv6 /48 blocks completly for free. That is 65 thousand /64 addresses, meaning 65 thousand possible bots connecting to the server.
Limiting by the /48 or /56 range entirely is not a very good idea either, as it's pretty likely that ISPs will assign multiple customers IPs that both fall in the same /56 range.
I suggest that the connection limits for IPv6 be set up in the following way:
/48
- max. 15 connections; /56
- max. 10 connections; /64
- max. 5 connections.
I have not seen this actually be abused yet, however it's very likely that kaboomserver/server#147 was caused by someone exploiting this to spambot the server.