Files
dolibarr/dev/setup/fail2ban/jail.d/web-dolibarr-hackattempt.conf
2025-04-09 15:04:57 +02:00

12 lines
338 B
Plaintext

[web-dolibarr-hackattempt]
; rule against bruteforce hacking (login + api)
enabled = true
port = http,https
filter = web-dolibarr-hackattempt
logpath = /mypath/documents/documents/dolibarr.log
action = %(action_mw)s
bantime = 86400 ; 1 day
findtime = 3600 ; 1 hour
maxretry = 3 ; 5 hack attempts in 1 hour, we ban