Skip to content

Commit b64c1ef

Browse files
ScIT-Raphaelhestiacp-bot
authored andcommitted
Configured Fail2Ban for Hestia.
1 parent 88546dd commit b64c1ef

File tree

33 files changed

+88
-405
lines changed

33 files changed

+88
-405
lines changed

install/debian/8/fail2ban/action.d/vesta.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

install/debian/8/fail2ban/filter.d/vesta.conf

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
[ssh-iptables]
22
enabled = true
33
filter = sshd
4-
action = vesta[name=SSH]
4+
action = hestia[name=SSH]
55
logpath = /var/log/auth.log
66
maxretry = 5
77

88
[vsftpd-iptables]
99
enabled = false
1010
filter = vsftpd
11-
action = vesta[name=FTP]
11+
action = hestia[name=FTP]
1212
logpath = /var/log/vsftpd.log
1313
maxretry = 5
1414

1515
[exim-iptables]
1616
enabled = true
1717
filter = exim
18-
action = vesta[name=MAIL]
18+
action = hestia[name=MAIL]
1919
logpath = /var/log/exim4/mainlog
2020

2121
[dovecot-iptables]
2222
enabled = true
2323
filter = dovecot
24-
action = vesta[name=MAIL]
24+
action = hestia[name=MAIL]
2525
logpath = /var/log/dovecot.log
2626

2727
[mysqld-iptables]
2828
enabled = false
2929
filter = mysqld-auth
30-
action = vesta[name=DB]
30+
action = hestia[name=DB]
3131
logpath = /var/log/mysql.log
3232
maxretry = 5
3333

34-
[vesta-iptables]
34+
[hestia-iptables]
3535
enabled = true
36-
filter = vesta
37-
action = vesta[name=VESTA]
36+
filter = hestia
37+
action = hestia[name=HESTIA]
3838
logpath = /var/log/vesta/auth.log
3939
maxretry = 5

install/debian/9/fail2ban/action.d/vesta.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

install/debian/9/fail2ban/filter.d/vesta.conf

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
[ssh-iptables]
22
enabled = true
33
filter = sshd
4-
action = vesta[name=SSH]
4+
action = hestia[name=SSH]
55
logpath = /var/log/auth.log
66
maxretry = 5
77

88
[vsftpd-iptables]
99
enabled = false
1010
filter = vsftpd
11-
action = vesta[name=FTP]
11+
action = hestia[name=FTP]
1212
logpath = /var/log/vsftpd.log
1313
maxretry = 5
1414

1515
[exim-iptables]
1616
enabled = true
1717
filter = exim
18-
action = vesta[name=MAIL]
18+
action = hestia[name=MAIL]
1919
logpath = /var/log/exim4/mainlog
2020

2121
[dovecot-iptables]
2222
enabled = true
2323
filter = dovecot
24-
action = vesta[name=MAIL]
24+
action = hestia[name=MAIL]
2525
logpath = /var/log/dovecot.log
2626

2727
[mysqld-iptables]
2828
enabled = false
2929
filter = mysqld-auth
30-
action = vesta[name=DB]
30+
action = hestia[name=DB]
3131
logpath = /var/log/mysql.log
3232
maxretry = 5
3333

34-
[vesta-iptables]
34+
[hestia-iptables]
3535
enabled = true
36-
filter = vesta
37-
action = vesta[name=VESTA]
36+
filter = hestia
37+
action = hestia[name=HESTIA]
3838
logpath = /var/log/vesta/auth.log
3939
maxretry = 5

install/ubuntu/14.04/fail2ban/action.d/vesta.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

install/ubuntu/14.04/fail2ban/filter.d/vesta.conf

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,39 @@
1-
[DEFAULT]
2-
ignoreip = 127.0.0.1/8
3-
41
[ssh-iptables]
52
enabled = true
63
filter = sshd
7-
action = vesta[name=SSH]
4+
action = hestia[name=SSH]
85
logpath = /var/log/auth.log
96
maxretry = 5
107

118
[vsftpd-iptables]
129
enabled = false
1310
filter = vsftpd
14-
action = vesta[name=FTP]
11+
action = hestia[name=FTP]
1512
logpath = /var/log/vsftpd.log
1613
maxretry = 5
1714

1815
[exim-iptables]
1916
enabled = true
2017
filter = exim
21-
action = vesta[name=MAIL]
18+
action = hestia[name=MAIL]
2219
logpath = /var/log/exim4/mainlog
23-
maxretry = 5
2420

2521
[dovecot-iptables]
2622
enabled = true
2723
filter = dovecot
28-
action = vesta[name=MAIL]
24+
action = hestia[name=MAIL]
2925
logpath = /var/log/dovecot.log
30-
maxretry = 5
3126

3227
[mysqld-iptables]
3328
enabled = false
3429
filter = mysqld-auth
35-
action = vesta[name=DB]
30+
action = hestia[name=DB]
3631
logpath = /var/log/mysql.log
3732
maxretry = 5
3833

39-
[vesta-iptables]
34+
[hestia-iptables]
4035
enabled = true
41-
filter = vesta
42-
action = vesta[name=VESTA]
36+
filter = hestia
37+
action = hestia[name=HESTIA]
4338
logpath = /var/log/vesta/auth.log
4439
maxretry = 5
45-
46-
[roundcube-auth]
47-
enabled = false
48-
filter = roundcube-auth
49-
port = http,https
50-
logpath = /var/log/roundcube/errors
51-
maxretry = 5

install/ubuntu/14.10/fail2ban/action.d/vesta.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)