# Fail2ban - configuration Octave (à copier dans /etc/fail2ban/jail.local) # Décommenter / adapter les jails souhaités. [DEFAULT] bantime = 1h findtime = 10m maxretry = 5 [sshd] enabled = true port = ssh filter = sshd logpath = /var/log/auth.log maxretry = 3 [nginx-http-auth] enabled = false port = http,https filter = nginx-http-auth logpath = /var/log/nginx/*error.log maxretry = 5 [nginx-botsearch] enabled = false port = http,https filter = nginx-botsearch logpath = /var/log/nginx/*access.log maxretry = 2