We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd186e commit 073c475Copy full SHA for 073c475
install/debian/8/fail2ban/action.d/hestia.conf
@@ -0,0 +1,9 @@
1
+# Fail2Ban configuration file for hestia
2
+
3
+[Definition]
4
5
+actionstart = /usr/local/hestia/bin/v-add-firewall-chain <name>
6
+actionstop = /usr/local/hestia/bin/v-delete-firewall-chain <name>
7
+actioncheck = iptables -n -L INPUT | grep -q 'fail2ban-<name>[ \t]'
8
+actionban = /usr/local/hestia/bin/v-add-firewall-ban <ip> <name>
9
+actionunban = /usr/local/hestia/bin/v-delete-firewall-ban <ip> <name>
install/debian/8/fail2ban/filter.d/hestia.conf
@@ -0,0 +1,10 @@
+# Fail2Ban filter for unsuccessful hestia authentication attempts
+#
+[INCLUDES]
+before = common.conf
+failregex = .* <HOST> failed to login
+ignoreregex =
10
0 commit comments