mirror of
https://github.com/myvesta/vesta
synced 2025-07-07 13:31:53 -07:00
fail2ban improvements from ioannidesalex
This commit is contained in:
parent
04d4b4cb59
commit
48c7b7f797
9 changed files with 108 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[DEFAULT]
|
||||||
|
ignoreip = 127.0.0.1/8
|
||||||
|
|
||||||
[ssh-iptables]
|
[ssh-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
@ -17,12 +20,14 @@ enabled = true
|
||||||
filter = exim
|
filter = exim
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/exim4/mainlog
|
logpath = /var/log/exim4/mainlog
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[dovecot-iptables]
|
[dovecot-iptables]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecot
|
filter = dovecot
|
||||||
action = vesta[name=MAIL]
|
action = vesta[name=MAIL]
|
||||||
logpath = /var/log/dovecot.log
|
logpath = /var/log/dovecot.log
|
||||||
|
maxretry = 5
|
||||||
|
|
||||||
[mysqld-iptables]
|
[mysqld-iptables]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -37,3 +42,10 @@ filter = vesta
|
||||||
action = vesta[name=VESTA]
|
action = vesta[name=VESTA]
|
||||||
logpath = /var/log/vesta/auth.log
|
logpath = /var/log/vesta/auth.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
[roundcube-auth]
|
||||||
|
enabled = false
|
||||||
|
filter = roundcube-auth
|
||||||
|
port = http,https
|
||||||
|
logpath = /var/log/roundcube/errors
|
||||||
|
maxretry = 5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue