laruss5
6 hours ago
sshguard is exactly this - single C binary, no interpreter needed. It tails your logs (journalctl/syslog) and bans offenders via iptables/nftables/pf. No Python, no dependencies beyond the firewall backend: https://www.sshguard.net/
jech
3 hours ago
One hour later, it appears that sshguard is working fine. It's structured as a dozen binaries or so, but it has no dependencies. I haven't done any CPU usage measurements, but I haven't seen it appear in top's output.
jech
5 hours ago
> sshguard is exactly this
Thanks. I've replaced fail2ban with sshguard on one machine, we'll see how it goes.