linux:apps:fail2ban
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:apps:fail2ban [2023/09/08 08:30] – [MAIL] oscar | linux:apps:fail2ban [2024/12/28 08:18] (current) – [/etc/fail2ban/filter.d/nginx-x00.conf] oscar | ||
|---|---|---|---|
| Line 505: | Line 505: | ||
| [Definition] | [Definition] | ||
| - | failregex = ^{" | + | # Blocking repeated 404|444|403|400 |
| + | # This will also match requests that are entirely empty | ||
| + | failregex = ^< | ||
| - | ignoreregex | + | datepattern |
| + | ^[^\[]*\[({DATE}) | ||
| + | {^LN-BEG} | ||
| + | |||
| + | journalmatch = _SYSTEMD_UNIT=nginx.service + _COMM=nginx | ||
| </ | </ | ||
linux/apps/fail2ban.1694161814.txt.gz · Last modified: by oscar
