192 |
- |
1 |
# Fail2Ban configuration file
|
|
|
2 |
#
|
|
|
3 |
# Author: Simon Brown
|
|
|
4 |
#
|
|
|
5 |
# Filter for Mac OS X Screen Sharing service
|
|
|
6 |
|
|
|
7 |
[INCLUDES]
|
|
|
8 |
|
|
|
9 |
# Read common prefixes. If any customizations available -- read them from
|
|
|
10 |
# common.local
|
|
|
11 |
before = common.conf
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
[Definition]
|
|
|
15 |
|
|
|
16 |
_daemon = screensharingd
|
|
|
17 |
|
|
|
18 |
# Option: failregex
|
|
|
19 |
# Notes.: regex to match the password failures messages in the logfile. The
|
|
|
20 |
# host must be matched by a group named "host". The tag "<HOST>" can
|
|
|
21 |
# be used for standard IP/hostname matching and is only an alias for
|
|
|
22 |
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
|
|
23 |
# Values: TEXT
|
|
|
24 |
#
|
|
|
25 |
failregex = ^%(__prefix_line)sAuthentication: FAILED :: User Name: .+ :: Viewer Address: <HOST> :: Type: DH$
|
|
|
26 |
|
|
|
27 |
# Option: ignoreregex
|
|
|
28 |
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
|
29 |
# Values: TEXT
|
|
|
30 |
#
|
|
|
31 |
ignoreregex =
|