On Wed, Jan 7, 2015 at 5:18 PM, Jim Freeman <jfree...@gmail.com> wrote: > We're getting some congestion from blind-shooting (or maybe just > stupid-shooting) scrapers who make (mostly bad) requests, with > occasional successes. > > We'd like to tarpit unsuccessful responses. > > Any experience on how to accomplish that ? > > ( A rspitarpit directive would be awesome ) > > > Kudos on an awesome tool, > ...jfree >
hi Jim, you can count http response errors then decide to trigger a tarpit if you go over a threshold. An example can be found in this blog article, about load-balancing WAF: http://blog.haproxy.com/2012/10/16/high-performance-waf-platform-with-naxsi-and-haproxy/ Look for the http_err_rate keyword. Baptiste