Files
dolibarr/dev/setup/fail2ban/jail.d/web-accesslog-limit404.conf
2025-03-28 22:47:39 +01:00

12 lines
320 B
Plaintext

[web-accesslog-limit404]
; rule against call of 404 forbidden access (for all servers)
enabled = true
port = http,https
filter = web-accesslog-limit404
logpath = /var/log/apache2/*access*_log
action = %(action_mw)s
bantime = 600 ;
findtime = 30 ;
maxretry = 100 ; 100 error 404 in 30 second, we can ban