Re: htaccess limits

Rich Bowen <[email protected]> Wed, 13 May 2026 12:08:40 -0400
Newsgroups gmane.comp.apache.user
Message-ID <[email protected]>

> On May 13, 2026, at 11:34=E2=80=AFAM, Paul <[email protected]> wrote:
>=20
>=20
> We tried this, but our "abusers", a well distributed attack, were =
spoofing the referer. I've stopped (dropped) them at the moment with a =
rather ugly bit of logic in the perl/cgi, but if they're serious, it =
won't take them long to wake up.


I=E2=80=99d also recommend that you solve this at a different layer. =
Using fail2ban to detect abuse, and then block it at the firewall, is =
fairly easy to set up with mod_security, and solves a lot of adjacent =
problems too.

I have a recipe for that at =
https://drbacchus.com/fail2ban-filter-block-based-on-mod_security-failures=
/ which sets up the integration between mod_sec and fail2ban, and I=E2=80=99=
m using to detect common attacks that don=E2=80=99t necessarily come =
from a single known address.

=E2=80=94=20
Rich Bowen
[email protected]