Commit 5e43c394 authored by Joshua Tauberer's avatar Joshua Tauberer

Merge pull request #477 from anoma/master

cleanup and harden of fail2ban
parents c0ddceb2 b2eaaeca
# Fail2Ban configuration file. # Fail2Ban configuration file for Mail-in-a-Box
# For Mail-in-a-Box
[DEFAULT]
# bantime in seconds [DEFAULT]
bantime = 60
# This should ban dumb brute-force attacks, not oblivious users. # This should ban dumb brute-force attacks, not oblivious users.
findtime = 30 findtime = 30
maxretry = 20 maxretry = 20
#
# JAILS # JAILS
#
[ssh]
enabled = true
logpath = /var/log/auth.log
maxretry = 20
[ssh-ddos] [ssh-ddos]
enabled = true enabled = true
maxretry = 20
[sasl] [sasl]
enabled = true enabled = true
[dovecot] [dovecot]
enabled = true enabled = true
filter = dovecotimap filter = dovecotimap
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment