Updated 'murmur' filter to use new double-anchored regex based on @yarikoptic's suggestions.

pull/1264/head
Ross Brown 2015-12-17 17:45:24 +00:00
parent fd36b058ce
commit ead2d509dc
1 changed files with 9 additions and 2 deletions

View File

@ -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 =