Skip to content

Commit b0ff7c0

Browse files
author
Kristan Kenney
authored
Merge pull request hestiacp#711 from ifaist0s/f2b-recidive-chain
F2b recidive chain
2 parents 9358765 + 034118b commit b0ff7c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bin/v-add-firewall-chain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ case $chain in
6262
WEB) port='80,443'; protocol=TCP ;;
6363
DB) port='3306,5432'; protocol=TCP ;;
6464
HESTIA) port=$hestiaport; protocol=TCP ;;
65+
RECIDIVE) port='1:65535'; protocol=TCP ;;
6566
*) check_args '2' "$#" 'CHAIN PORT' ;;
6667
esac
6768

install/deb/fail2ban/jail.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ maxretry = 5
4848
[recidive]
4949
enabled = true
5050
filter = recidive
51-
action = hestia[name=HESTIA]
51+
action = hestia[name=RECIDIVE]
5252
logpath = /var/log/fail2ban.log
5353
maxretry = 5
5454
findtime = 86400

0 commit comments

Comments
 (0)