| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/a/w/e/awebpaca/Dolibarr/dev/setup/fail2ban/filter.d/ |
Upload File : |
# Fail2Ban configuration file # # Regexp to detect forbidden access on pages (public or not) so we can add mitigation on IP making too much # access to your a Dolibarr instance. [Definition] # To test, you can inject this example into log # echo `myvirtualhost.com:443 1.2.3.4 - - [15/Dec/2022:09:57:47 +0000] "GET /public/abc" 403 123 "-" "Mozilla" >> /var/log/apache2/access.log # # then # fail2ban-client status web-accesslog-limit403 # # To test rule file on a existing log file # fail2ban-regex /var/log/apache2/access.log /etc/fail2ban/filter.d/web-accesslog-limit403.conf --print-all-matched failregex = <HOST> - - .*HTTP/[0-9]+(.[0-9]+)?" 403 ignoreregex =