mirror of https://github.com/fail2ban/fail2ban
Changed regex prequel
Use standard prefix macro instead of literal daemon name.pull/1232/head
parent
3dd1c305ce
commit
4b4d5a95b7
|
@ -24,7 +24,7 @@ _daemon = screensharingd
|
||||||
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
||||||
# Values: TEXT
|
# Values: TEXT
|
||||||
#
|
#
|
||||||
failregex = ^.+ screensharingd.+: Authentication: FAILED :: User Name: .+ :: Viewer Address: <HOST> :: Type: DH$
|
failregex = ^%(__prefix_line)sAuthentication: Authentication: FAILED :: User Name: .+ :: Viewer Address: <HOST> :: Type: DH$
|
||||||
|
|
||||||
# Option: ignoreregex
|
# Option: ignoreregex
|
||||||
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
||||||
|
|
Loading…
Reference in New Issue