Files
dolibarr/dev/setup/fail2ban/jail.d/web-accesslog-limit403.conf
2025-03-28 22:54:41 +01:00

13 lines
431 B
Plaintext

[web-accesslog-limit403]
; rule against call of 403 forbidden access (for all servers)
; note: you must change the path of log file to the one of the web server for the virtual host of the Dolibarr
enabled = true
port = http,https
filter = web-accesslog-limit403
logpath = /var/log/apache2/*access*_log
action = %(action_mw)s
bantime = 600 ;
findtime = 30 ;
maxretry = 100 ; 100 error 403 in 30 second, we can ban