mirror of https://github.com/fail2ban/fail2ban
Updated 'murmur' filter to use new double-anchored regex based on @yarikoptic's suggestions.
parent
fd36b058ce
commit
ead2d509dc
|
@ -10,8 +10,15 @@ before = common.conf
|
||||||
|
|
||||||
_daemon = murmurd
|
_daemon = murmurd
|
||||||
|
|
||||||
failregex = Rejected connection from <HOST>:\d+: Invalid server password$
|
# N.B. If you allow users to have usernames that include the '>' character you
|
||||||
Rejected connection from <HOST>:\d+: Wrong certificate or password for existing user$
|
# should change this to match the regex assigned to the 'username'
|
||||||
|
# variable in your server config file (murmur.ini / mumble-server.ini).
|
||||||
|
_usernameregex = [^>]+
|
||||||
|
|
||||||
|
_prefix = <W>[\n\s]*(\.\d{3})?\s+\d+ => <\d+:%(_usernameregex)s\(-1\)> Rejected connection from <HOST>:\d+:
|
||||||
|
|
||||||
|
failregex = ^%(_prefix)s Invalid server password$
|
||||||
|
^%(_prefix)s Wrong certificate or password for existing user$
|
||||||
|
|
||||||
ignoreregex =
|
ignoreregex =
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue