====== Fail2ban ======
===== Installation =====
sudo apt-get install fail2ban
===== Configuration =====
/etc/fail2ban/jail.local
[sshd]
enabled = true
[sshd-ddos]
enabled = true
[recidive]
enabled = true
===== Quelques temps apres l'installation de fail2ban.. =====
# fail2ban-client status sshd
Status for the jail: sshd
|- Filter
| |- Currently failed: 18
| |- Total failed: 717
| `- File list: /var/log/auth.log
`- Actions
|- Currently banned: 6
|- Total banned: 79
`- Banned IP list: 51.75.254.172 223.240.86.204 103.80.55.19 157.230.235.233 159.89.171.81 125.137.191.215