Revert "Remove fail2ban"

This reverts commit 1f0e33acc8.
This commit is contained in:
Jake Howard
2020-10-16 19:08:49 +01:00
parent 30baed441e
commit 4890c3d3e5
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,4 @@
[Definition]
failregex = ^.*haproxy\[[0-9]+\]: <HOST>:.*$
ignoreregex =

View File

@ -0,0 +1,8 @@
[haproxy]
enabled = true
bantime = 600
findtime = 120
maxretry = 15
filter = haproxy-basic
logpath = /var/log/haproxy.log
port = http,https