diff --git a/templates/jail.local b/templates/jail.local index 8642d2b..fd68533 100644 --- a/templates/jail.local +++ b/templates/jail.local @@ -7,7 +7,8 @@ destemail = {{ reverse_proxy_default_serveradmin_email }} banaction = nftables-multiport banaction_allports = nftables-allports action = %(action_mwl)s - +maxretry = 10 +bantime = 1h apache_error_log = /var/log/apache2/*error.log apache_access_log = /var/log/apache2/*access.log @@ -37,9 +38,6 @@ enabled = true [apache-fakegooglebot] enabled = true -[apache-modsecurity] -enabled = true - [apache-shellshock] enabled = true @@ -47,3 +45,6 @@ enabled = true [recidive] enabled = true +bantime = 4h +bantime.increment = true +bantime.maxtime = 1w