Update jail.local

This commit is contained in:
FusionPBX 2018-10-11 12:25:37 -06:00 committed by GitHub
parent 009702bd12
commit 0a9359728a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -119,8 +119,8 @@ maxretry = 120
[nginx-dos] [nginx-dos]
# Based on apache-badbots but a simple IP check (any IP requesting more than # 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)
enabled = false enabled = true
port = 80,443 port = 80,443
protocol = tcp protocol = tcp
filter = nginx-dos filter = nginx-dos
@ -128,4 +128,4 @@ logpath = /var/log/nginx/access*.log
action = iptables-allports[name=nginx-dos, protocol=all] action = iptables-allports[name=nginx-dos, protocol=all]
findtime = 60 findtime = 60
bantime = 86400 bantime = 86400
maxretry = 240 maxretry = 300