Ceci est une ancienne révision du document !
Exemple d'installation et de configuration sous Debian avec apache :
Installation :
apt-get install fail2ban
Editer le fichier :
vim /etc/fail2ban/jail.conf
Exemple de configuration :
[apache] enabled = true port = http,https filter = apache-auth logpath = /var/log/apache*/*error*.log action = iptables-allports[name=apache, protocol=all] mail[name=$HOSTNAME, dest="abuse@domain.com", sender=$HOSTNAME] maxretry = 5 bantime = 600