diff --git a/freebsd/resources/fail2ban/jail.local b/freebsd/resources/fail2ban/jail.local index 3597910..db0046f 100755 --- a/freebsd/resources/fail2ban/jail.local +++ b/freebsd/resources/fail2ban/jail.local @@ -84,7 +84,7 @@ bantime = 3600 [nginx-dos] # Based on apache-badbots but a simple IP check (any IP requesting more than -# 240 pages in 60 seconds, or 4p/s average, is suspicious) +# 300 pages in 60 seconds, or 5p/s average, is suspicious) # Block for two full days. enabled = false port = 80,443 @@ -92,6 +92,6 @@ protocol = tcp filter = nginx-dos logpath = /var/log/nginx/access*.log findtime = 60 -maxretry = 240 +maxretry = 300 banaction = pf bantime = 86400