|
|
|
|
|
by netsectoday
2114 days ago
|
|
Collecting bans isn't a good thing today with the scale of background noise malicious behavior. You will very quickly collect thousands of IP addresses doing this and need to implement ipset - an iptables plugin that allows O(log n) lookup time on a list of IP addresses. Another issue; the overlap between SSH scanners also running HTTP/S attacks is negligible. From experience; what makes sense is shifting your SSH port away from 22, disabling password based authentication, whitelisting your IP address from your cloud provider's firewall, and still aggressively auto-banning incorrect logins with fail2ban. Then, for good measure, implement a WAF to protect your HTTP/S traffic as well. Do not turn your production system into a honeypot. Only do this with a separate system that contains no valuable data. |
|