diff --git a/install/00-update-install.sh b/install/00-update-install.sh index 5345e7c..0a96ab7 100755 --- a/install/00-update-install.sh +++ b/install/00-update-install.sh @@ -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 diff --git a/install/fail2ban-nginx.sh b/install/fail2ban-nginx.sh index f0462ef..cc3b07e 100755 --- a/install/fail2ban-nginx.sh +++ b/install/fail2ban-nginx.sh @@ -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] diff --git a/install/mysql.sh b/install/mysql.sh index f4a0a7c..1e55be1 100755 --- a/install/mysql.sh +++ b/install/mysql.sh @@ -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]