Is there an alternative to fail2ban that is just a single binary? It doesn't need to have all of the features of fail2ban, blocking dictionary attacks against ssh is all I need.
Ask HN: Alternatives to Fail2ban?
1–8 of 8 posts
Re: Ask HN: Alternatives to Fail2ban?
#2Edit: I should add, there will still be some syslog entries, but that can be filtered out using regex filters in rsyslog one so desired. Only do so once it is confirmed most of the brute forcing has stopped.
[1] - https://nochan.net/b/Internet-Crap/20260108-Confuse-Some-SSH...
Re: Ask HN: Alternatives to Fail2ban?
#3Re: Ask HN: Alternatives to Fail2ban?
#4Re: Ask HN: Alternatives to Fail2ban?
#5sshguard 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/
Thanks. I've replaced fail2ban with sshguard on one machine, we'll see how it goes.
Re: Ask HN: Alternatives to Fail2ban?
#6sshguard 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/
Re: Ask HN: Alternatives to Fail2ban?
#7You gotta get over that eventually and really, the sooner the better.
Re: Ask HN: Alternatives to Fail2ban?
#8sshguard 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/