Merge pull request #477 from anoma/master

cleanup and harden of fail2ban
This commit is contained in:
Joshua Tauberer 2015-07-02 06:22:57 -04:00
commit 5e43c394d5
1 changed files with 2 additions and 17 deletions

View File

@ -1,34 +1,19 @@
# Fail2Ban configuration file.
# For Mail-in-a-Box
[DEFAULT]
# Fail2Ban configuration file for Mail-in-a-Box
# bantime in seconds
bantime = 60
[DEFAULT]
# This should ban dumb brute-force attacks, not oblivious users.
findtime = 30
maxretry = 20
#
# JAILS
#
[ssh]
enabled = true
logpath = /var/log/auth.log
maxretry = 20
[ssh-ddos]
enabled = true
maxretry = 20
[sasl]
enabled = true
[dovecot]
enabled = true
filter = dovecotimap