Augmentation du nombre de tentatives avant ban, durée de recidive plus progressive

This commit is contained in:
Navas 2022-06-10 10:10:35 +02:00
parent 4024bb4099
commit 4b00fff72b

View file

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