File tree Expand file tree Collapse file tree 7 files changed +54
-0
lines changed
Expand file tree Collapse file tree 7 files changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,10 @@ filter = hestia
3737action = hestia[name=HESTIA]
3838logpath = /var/log/hestia/auth.log
3939maxretry = 5
40+
41+ [roundcube-auth]
42+ enabled = false
43+ filter = roundcube-auth
44+ port = http,https
45+ logpath = /var/log/roundcube/errors
46+ maxretry = 5
Original file line number Diff line number Diff line change @@ -37,3 +37,10 @@ filter = hestia
3737action = hestia[name=HESTIA]
3838logpath = /var/log/hestia/auth.log
3939maxretry = 5
40+
41+ [roundcube-auth]
42+ enabled = false
43+ filter = roundcube-auth
44+ port = http,https
45+ logpath = /var/log/roundcube/errors
46+ maxretry = 5
Original file line number Diff line number Diff line change 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>
Original file line number Diff line number Diff line change 1+ # Fail2Ban filter for unsuccessful hestia authentication attempts
2+ #
3+
4+ [INCLUDES]
5+ before = common.conf
6+
7+ [Definition]
8+ failregex = .* <HOST> failed to login
9+ ignoreregex =
10+
Original file line number Diff line number Diff line change @@ -37,3 +37,10 @@ filter = hestia
3737action = hestia[name=HESTIA]
3838logpath = /var/log/hestia/auth.log
3939maxretry = 5
40+
41+ [roundcube-auth]
42+ enabled = false
43+ filter = roundcube-auth
44+ port = http,https
45+ logpath = /var/log/roundcube/errors
46+ maxretry = 5
Original file line number Diff line number Diff line change @@ -37,3 +37,10 @@ filter = hestia
3737action = hestia[name=HESTIA]
3838logpath = /var/log/hestia/auth.log
3939maxretry = 5
40+
41+ [roundcube-auth]
42+ enabled = false
43+ filter = roundcube-auth
44+ port = http,https
45+ logpath = /var/log/roundcube/errors
46+ maxretry = 5
Original file line number Diff line number Diff line change @@ -37,3 +37,10 @@ filter = hestia
3737action = hestia[name=HESTIA]
3838logpath = /var/log/hestia/auth.log
3939maxretry = 5
40+
41+ [roundcube-auth]
42+ enabled = false
43+ filter = roundcube-auth
44+ port = http,https
45+ logpath = /var/log/roundcube/errors
46+ maxretry = 5
You can’t perform that action at this time.
0 commit comments