File: /home4/cca63905/public_html/guiaweb/dev/setup/fail2ban/jail.d/web-dolibarr-limitpublic.conf
[web-dol-limitpublic]
; rule to add rate limit on some public pages
; note: you must keep enough for public access like agenda export, emailing trackers, stripe ipn access, ...
enabled = true
port = http,https
filter = web-dolibarr-limitpublic
logpath = /mypath/documents/documents/dolibarr.log
action = %(action_mw)s
bantime = 86400 ; 1 day
findtime = 86400 ; 1 day
maxretry = 500 ; 500 access to a public page in the same day, we ban