You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not a Sōzu user, I just read through your new release notes and the code for the per-IP rate-limiter and noticed that this has no concept of subnet-level restrictions.
Thus, if I'm on a IPv6 /64 - I can bypass this functionality completely by simply using a new IPv6 address for every connection.
The rate-limiter requires ipv4_prefix and ipv6_prefix options to be effective.
Hello @jpds, thanks you for your feedback, it is really interesting, I think I will introduce this in sozu, not sure for the default subnet to use in ipv4 and ipv6, maybe /24 and /64 as you said.
I think we need both as the current rate limit is for handling rate limit by ip as an api gateway, and the subnet aware will be there for ddos purposes.
Activity
FlorentinDUBOIS commentedon May 27, 2026
Hello @jpds, thanks you for your feedback, it is really interesting, I think I will introduce this in sozu, not sure for the default subnet to use in ipv4 and ipv6, maybe /24 and /64 as you said.
jpds commentedon May 27, 2026
For the Caddy module for this, I just left the default at single IPs, whilst highly recommending in the docs that people configure
/24and/56.FlorentinDUBOIS commentedon Jun 1, 2026
I think we need both as the current rate limit is for handling rate limit by ip as an api gateway, and the subnet aware will be there for ddos purposes.
feat(server): add a per-(cluster, source-subnet) connection limit (so…