Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:fail2ban [2022/01/30 04:47] – Added new rule for clients consistently exceeding the maximum connection allowance Karloch | howto:fail2ban [2025/08/18 14:15] (current) – Updated filter for hack.log, now matching all hack attempts, not just FTP Karloch | ||
|---|---|---|---|
| Line 92: | Line 92: | ||
| before = common.conf | before = common.conf | ||
| [Init] | [Init] | ||
| - | maxlines=6 | + | maxlines = 3 |
| [Definition] | [Definition] | ||
| - | failregex = ^SUSPECTED | + | failregex = ^SUSPECTED |
| + | datepattern = {}(?: | ||
| ignoreregex = | ignoreregex = | ||
| </ | </ | ||
| Line 105: | Line 106: | ||
| failregex = .* !TEMPORARY BAN of .* < | failregex = .* !TEMPORARY BAN of .* < | ||
| SMTP BLACKLISTED SERVER on .* \(.*\)\: .* \[< | SMTP BLACKLISTED SERVER on .* \(.*\)\: .* \[< | ||
| + | ^.*\[< | ||
| ignoreregex = | ignoreregex = | ||
| </ | </ | ||