mirror of https://github.com/fail2ban/fail2ban
Add Centreon jail
parent
18ba714f97
commit
9e699646f8
|
@ -6,4 +6,4 @@
|
||||||
datepattern = ^%%Y-%%m-%%d %%H:%%M:%%S
|
datepattern = ^%%Y-%%m-%%d %%H:%%M:%%S
|
||||||
|
|
||||||
[Definition]
|
[Definition]
|
||||||
failregex = ^\[0-9-]*\|[0-9-]*\|\[0-9-]*|\[[^]]*\] \[<HOST>\] Authentication failed for '.+' :
|
failregex = ^(?:\|-?\d+){3}\|\[[^\]]*\] \[<HOST>\] Authentication failed for '<F-USER>[^']+</F-USER>'
|
||||||
|
|
|
@ -821,6 +821,7 @@ action = %(banaction)s[name=%(__name__)s-tcp, port="%(tcpport)s", protocol="tcp
|
||||||
%(banaction)s[name=%(__name__)s-udp, port="%(udpport)s", protocol="udp", chain="%(chain)s", actname=%(banaction)s-udp]
|
%(banaction)s[name=%(__name__)s-udp, port="%(udpport)s", protocol="udp", chain="%(chain)s", actname=%(banaction)s-udp]
|
||||||
|
|
||||||
[centreon]
|
[centreon]
|
||||||
|
port = http,https
|
||||||
logpath = /var/log/centreon/login.log
|
logpath = /var/log/centreon/login.log
|
||||||
|
|
||||||
# consider low maxretry and a long bantime
|
# consider low maxretry and a long bantime
|
||||||
|
|
Loading…
Reference in New Issue