Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
71 |
- |
1 |
# Fail2Ban filter for murmur/mumble-server
|
|
|
2 |
#
|
|
|
3 |
|
|
|
4 |
[INCLUDES]
|
|
|
5 |
|
|
|
6 |
before = common.conf
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
[Definition]
|
|
|
10 |
|
|
|
11 |
_daemon = murmurd
|
|
|
12 |
|
|
|
13 |
# N.B. If you allow users to have usernames that include the '>' character you
|
|
|
14 |
# should change this to match the regex assigned to the 'username'
|
|
|
15 |
# variable in your server config file (murmur.ini / mumble-server.ini).
|
|
|
16 |
_usernameregex = [^>]+
|
|
|
17 |
|
|
|
18 |
_prefix = <W>[\n\s]*(\.\d{3})?\s+\d+ => <\d+:%(_usernameregex)s\(-1\)> Rejected connection from <HOST>:\d+:
|
|
|
19 |
|
|
|
20 |
failregex = ^%(_prefix)s Invalid server password$
|
|
|
21 |
^%(_prefix)s Wrong certificate or password for existing user$
|
|
|
22 |
|
|
|
23 |
ignoreregex =
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
# DEV Notes:
|
|
|
27 |
#
|
|
|
28 |
# Author: Ross Brown
|