Make use of fail2ban jail.d

This commit is contained in:
Michael Kroes committed 2016-03-29 18:43:05 +02:00
1 parent 710ad87602
commit 1e02bb0bf1
18 files changed
+55 -68

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+5
View File
@@ -0,0 +1,5 @@
[dovecot]
enabled = true
filter = dovecotimap
findtime = 30
maxretry = 20
@@ -0,0 +1,7 @@
[miab-management-daemon]
enabled = true
filter = miab-management-daemon
port = http,https
logpath = /var/log/syslog
maxretry = 20
findtime = 30
+7
View File
@@ -0,0 +1,7 @@
[miab-munin]
enabled = true
port = http,https
filter = miab-munin
logpath = /var/log/nginx/access.log
maxretry = 20
findtime = 30
+7
View File
@@ -0,0 +1,7 @@
[miab-owncloud]
enabled = true
port = http,https
filter = miab-owncloud
logpath = /home/user-data/owncloud/owncloud.log
maxretry = 20
findtime = 30
@@ -0,0 +1,7 @@
[miab-postfix-submission]
enabled = true
port = 587
filter = miab-postfix-submission
logpath = /var/log/mail.log
maxretry = 20
findtime = 30
+7
View File
@@ -0,0 +1,7 @@
[miab-roundcube]
enabled = true
port = http,https
filter = miab-roundcube
logpath = /var/log/roundcubemail/errors
maxretry = 20
findtime = 30
+4
View File
@@ -0,0 +1,4 @@
[recidive]
enabled = true
maxretry = 10
+2
View File
@@ -0,0 +1,2 @@
[sasl]
enabled = true
+2
View File
@@ -0,0 +1,2 @@
[ssh-ddos]
enabled = true
+3
View File
@@ -0,0 +1,3 @@
[ssh]
maxretry = 7
bantime = 3600
-62
View File
@@ -6,65 +6,3 @@
# ours too. The string is substituted during installation.
ignoreip = 127.0.0.1/8 PUBLIC_IP
# JAILS
[ssh]
maxretry = 7
bantime = 3600
[ssh-ddos]
enabled = true
[sasl]
enabled = true
[dovecot]
enabled = true
filter = dovecotimap
findtime = 30
maxretry = 20
[management-daemon]
enabled = true
filter = miab-management-daemon
port = http,https
logpath = /var/log/syslog
maxretry = 20
findtime = 30
[roundcube]
enabled = true
port = http,https
filter = roundcube
logpath = /var/log/roundcubemail/errors
maxretry = 20
findtime = 30
[owncloud]
enabled = true
port = http,https
filter = owncloud
logpath = /home/user-data/owncloud/owncloud.log
maxretry = 20
findtime = 30
[munin]
enabled = true
port = http,https
filter = munin
logpath = /var/log/nginx/access.log
maxretry = 20
findtime = 30
[postfix-submission]
enabled = true
port = 587
filter = postfix-submission
logpath = /var/log/mail.log
maxretry = 20
findtime = 30
[recidive]
enabled = true
maxretry = 10