I may be a little bit late... but isn't this something already handled by mod_security?
De: Murk Fletcher <murk.fletc...@gmail.com> Para: Daniel Ouellet <dan...@presscom.net> Cc: misc@openbsd.org Enviadas: Quinta-feira, 29 de Setembro de 2016 20:57 Assunto: Re: Looking for a way to deal with unwanted HTTP requests using mod_perl rack-attack itself is very small, and its configuration is minimal. Use it if you have a Ruby-based web app and want to add that extra layer of protection to it that pf can't provide.