Y
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
loeg
1724 days ago
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.
link
tempodox
1724 days ago
Good catch, thanks!
Remedy: Don't let fail2ban send mail, or at least remove the whois part.
link
nousermane
1724 days ago
Are there reputable places where people can share the IPs tripping fail2ban? Like spamhaus.org, but for scanners?
link
cpach
1723 days ago
Honest question: Why bother?
link
megous
1724 days ago
nftables allows to automatize blocking of IP addresses (even with a automatic timeout) without any userspace involvement.
Pretty nifty feature.
link