I have a defined zone in Nginx for limiting requests, it's plain straight forward as described in their documentation:
limit_req_zone $binary_remote_addr zone=leash:10m rate=18r/s;
So far so good.
It works great with clients who act offensively, but recently some of them have started rotating their IP addresses while accessing my service, mostly within a /24 range, so I was wondering is it possibble to apply the zone connection count limit to a whole IP range (not just per IP), something like a --connlimit-mask 24 flag would do with iptables...?