fail2ban
Ceci est une ancienne révision du document !
Table des matières
Fail2Ban
# fail2ban-client status ssh Status for the jail: ssh |- filter | |- File list: /var/log/auth.log | |- Currently failed: 0 | `- Total failed: 0 `- action |- Currently banned: 0 | `- IP list: `- Total banned: 0
Exception pour une adresse IP
Pour ajouter une exception pour Fail2ban, on édite le fichier jail.local et on rajoute la ou les adresses qu'on veut ignorer, séparées par un espace :
# vim /etc/fail2ban/jail.local [DEFAULT] ignoreip = 127.0.0.1/8 MON_IP UNE_AUTRE_IP
Sources
fail2ban.1503566805.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)