I have a public HTTP server running FreeBSD.
Nginx allows me to limit throughput per connection, but I don't want to limit each IP to only 1 connection so I need a solution to limit per IP. Nginx cannot do that for me and the 3rd party modules to do it are no longer maintained.
With nginx not being an option I figure something OS level should be able to handle it, but all the other questions and answers all seem to assume I know the IPs I want to traffic shape from. Since my server is a public HTTP server I don't want to traffic shape for a specific set of IPs but rather for every IP, and grouped by the IP.
Is there any way FreeBSD can possible limit throughput per IP for all IPs?
On a side note, my backup solution is Varnish which does seem to support this scenario but would be an extra piece of software to support.