more lenient fail2ban rules

This commit is contained in:
Joby 2024-10-23 20:55:32 -06:00
parent c76bd70eb7
commit 00d33e6ea9
3 changed files with 6 additions and 6 deletions

View file

@ -33,7 +33,7 @@ enabled = true
port = ssh
filter = sshd
logpath = /var/log/auth.log
maxretry = 10
maxretry = 20
bantime = 86400
action = iptables-multiport[name=sshd]
nginx-banned-ips
@ -43,7 +43,7 @@ enabled = true
filter = nginx-http-auth
port = http,https
logpath = /var/log/nginx/error.log
maxretry = 5
maxretry = 20
bantime = 3600
action = iptables-multiport[name=nginx-http-auth]
nginx-banned-ips

View file

@ -34,7 +34,7 @@ enabled = true
port = http,https
filter = nginx-4xx-strict
logpath = /var/log/nginx/access.log
maxretry = 10
maxretry = 20
findtime = 600
bantime = 3600
action = iptables-multiport[name=nginx-strict]
@ -45,7 +45,7 @@ enabled = true
port = http,https
filter = nginx-4xx-moderate
logpath = /var/log/nginx/access.log
maxretry = 10
maxretry = 20
findtime = 600
bantime = 1800
action = iptables-multiport[name=nginx-moderate]
@ -56,7 +56,7 @@ enabled = true
port = http,https
filter = nginx-4xx-lenient
logpath = /var/log/nginx/access.log
maxretry = 20
maxretry = 40
findtime = 600
bantime = 900
action = iptables-multiport[name=nginx-lenient]

View file

@ -49,7 +49,7 @@ enabled = true
filter = mysql
port = 3306
logpath = /var/log/mysql/error.log
maxretry = 10
maxretry = 20
findtime = 600
bantime = 3600
action = iptables-multiport[name=mysql]