Hacker News new | ask | show | jobs
by nickdothutton 1724 days ago
Just use something like fail2ban to drop these at the packet filter level, either courtesy of your cloud provider or on the host itself. Make sure your sshd config is watertight.
3 comments

You know, or just don’t use fail2ban: https://research.securitum.com/fail2ban-remote-code-executio... . It’s adding extra attack surface for a cosmetic benefit.
Good catch, thanks!

Remedy: Don't let fail2ban send mail, or at least remove the whois part.

Are there reputable places where people can share the IPs tripping fail2ban? Like spamhaus.org, but for scanners?
Honest question: Why bother?
nftables allows to automatize blocking of IP addresses (even with a automatic timeout) without any userspace involvement.

Pretty nifty feature.