mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-05-13 14:36:43 +00:00
Fix: use a safer regex
This commit is contained in:
parent
aca76842af
commit
f1e6f0ec21
1 changed files with 1 additions and 1 deletions
|
|
@ -11,5 +11,5 @@
|
|||
# Author: Michele Bologna https://www.michelebologna.net/
|
||||
|
||||
[Definition]
|
||||
failregex = .*\[UFW BLOCK\] IN=.* SRC=<HOST>
|
||||
failregex = ^\s*\S+ kernel:(?: +\[[^\]]+\])? \[UFW (?:LIMIT )?BLOCK\] (?:\b(?:IN=\w+|OUT=|(?:(?!OUT=|IN=)[A-Z]+=[^ \[]*)+) )*SRC=<ADDR> DST=\S+
|
||||
ignoreregex =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue