File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -43,4 +43,11 @@ enabled = false
4343filter = roundcube-auth
4444action = hestia[name=WEB]
4545logpath = /var/log/roundcube/errors
46- maxretry = 5
46+ maxretry = 5
47+
48+ [recidive]
49+ enabled = true
50+ action = hestia[name=RECIDIVE]
51+ maxretry = 3
52+ findtime = 86400
53+ bantime = 864000
Original file line number Diff line number Diff line change 6767# Implement recidive jail for fail2ban
6868if [ ! -z " $FIREWALL_EXTENSION " ]; then
6969 if ! cat /etc/fail2ban/jail.local | grep -q " recidive" ; then
70- echo -e " \n\n[recidive]\nenabled = true\nmaxretry = 3\nfindtime = 86400\nbantime = 864000" >> /etc/fail2ban/jail.local
70+ echo -e " \n\n[recidive]\nenabled = true\naction = hestia[name=RECIDIVE]\ nmaxretry = 3\nfindtime = 86400\nbantime = 864000" >> /etc/fail2ban/jail.local
7171 fi
7272fi
You can’t perform that action at this time.
0 commit comments