mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Use potentially faster regex for username match
This commit is contained in:
parent
64983ecc29
commit
5a0224ff0e
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ _daemon = xrdp-sesman
|
|||
|
||||
[Definition]
|
||||
|
||||
authfail_re = \[INFO \] AUTHFAIL: user=<F-USER>.+</F-USER> ip=<ADDR> time=\d+
|
||||
authfail_re = \[INFO \] AUTHFAIL: user=<F-USER>(?:\S+|.+)</F-USER> ip=<ADDR> time=\d+
|
||||
|
||||
failregex = ^%(__prefix_line)s%(authfail_re)s$
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue