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
|
||||
|
||||
failregex = Rejected connection from <HOST>:\d+: Invalid server password$
|
||||
Rejected connection from <HOST>:\d+: Wrong certificate or password for existing user$
|
||||
# N.B. If you allow users to have usernames that include the '>' character you
|
||||
# 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 =
|
||||
|
||||
|
|
Loading…
Reference in New Issue