On 24/01/19 19:39, tech-lists wrote:> Hi,
>
> I already use sshguard to block woodpeckers on sshd. Is there something
> similar for apache? If so, would it work with sshguard? I use pf for
> firewall.
>
> Basically something that's causing 404s 5 times per second. How can I
> (automatically) block it?
>
security/py-fail2ban may be what you are looking for.
It has modules to read various common log files (including apache) and
to manage locks for various firewalls and other tools. It's also easy to
create new modules.
--
Guido Falsi <mad at madpilot.net>