Interview Prep/Linux/SSH & Access Hardening

What are the limits of fail2ban?

IntermediateProductionSSH & Access Hardening
Answer

It is reactive and per-host: distributed attacks from thousands of IPs each trying a couple of times slip under maxretry. IPv6 makes per-address bans weak. Behind a load balancer it sees the LB's IP unless the real client IP is logged. It also adds no value if password auth is already disabled, beyond reducing noise. Edge controls (security groups, WAF, rate limits) and key-only auth matter more. Always add your bastion and monitoring IPs to ignoreip.

All Linux questions Roadmap: Linux

More on SSH & Access Hardening