summaryrefslogtreecommitdiff
path: root/fail2ban/tests/config/filter.d/test.local
blob: a954f81ee0405b90cde6748cd5a5524148bc2b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[INCLUDES]
#before = common.conf

[Definition]
# overwrite default daemon, additionally it should be accessible in jail with "%(known/_daemon)s":
_daemon = test
# interpolate previous regex (from test.conf) + new 2nd + dynamical substitution) of "two" an "where":
failregex = %(known/failregex)s
            failure %(_daemon)s <two> (filter.d/test.<where>) <HOST>
# parameter "two" should be specified in jail by "filter=test[..., two=2]"

[Init]
# this parameter can be used in jail with "%(known/three)s":
three = 3
# this parameter "where" does not overwrite "where" in definition of test.conf (dynamical values only):
where = local