mirror of https://github.com/fail2ban/fail2ban
commit
35766e720d
|
@ -27,6 +27,7 @@ ver. 0.9.2 (2014/XX/XXX) - wanna-be-released
|
||||||
possible to extend a stock filter or jail regexp in .local file
|
possible to extend a stock filter or jail regexp in .local file
|
||||||
(opposite to simply set failregex/ignoreregex that overwrites it),
|
(opposite to simply set failregex/ignoreregex that overwrites it),
|
||||||
see gh-867.
|
see gh-867.
|
||||||
|
- Monit config for fail2ban in /files/monit
|
||||||
|
|
||||||
- Enhancements:
|
- Enhancements:
|
||||||
* Enable multiport for firewallcmd-new action. Closes gh-834
|
* Enable multiport for firewallcmd-new action. Closes gh-834
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
check process fail2ban with pidfile /var/run/fail2ban/fail2ban.pid
|
||||||
|
group services
|
||||||
|
start program = "/etc/init.d/fail2ban force-start"
|
||||||
|
stop program = "/etc/init.d/fail2ban stop || :"
|
||||||
|
if failed unixsocket /var/run/fail2ban/fail2ban.sock then restart
|
||||||
|
if 5 restarts within 5 cycles then timeout
|
||||||
|
|
||||||
|
check file fail2ban_log with path /var/log/fail2ban.log
|
||||||
|
if match "ERROR|WARNING" then alert
|
Loading…
Reference in New Issue