view common/fail2ban/jail.local @ 4:894e6287926f

Fix "slow query" log - previously MySQL didn't have permission to write it
author IBBoard <dev@ibboard.co.uk>
date Wed, 27 Aug 2014 13:46:07 +0000
parents 956e484adc12
children b7c30595c97a
line wrap: on
line source

[ssh-iptables]
enabled = false

[ssh-apf]
enabled  = true
filter   = sshd
action   = apf[name=SSH]
logpath  = /var/log/secure
maxretry = 5
bantime  = 604800

[apache-badbots]
enabled  = true
filter   = apache-badbots
action   = apf[name=ApacheBadBots]
logpath  = /var/log/apache/access_*.log
findtime = 604800
bantime  = 604800

[apache-instaban]
enabled  = true
maxretry = 1
filter   = ibb-apache-exploits-instaban
action   = apf[name=ApacheInstaban]
logpath  = /var/log/apache/access_*.log
findtime = 604800
bantime  = 604800

[apache-auth]
enabled  = true
maxretry = 5
filter   = apache-auth
action   = apf[name=ApacheAuth]
logpath  = /var/log/apache/error_*.log
findtime = 86400
bantime  = 604800

[repeat-offenders]
enabled  = true
maxretry = 2
filter   = ibb-repeat-offender
action   = apf[name=RepeatOffenders]
logpath  = /var/log/fail2ban.log
findtime = 2592000
bantime  = 2592000

[spam-email]
enabled = true
maxretry = 1
filter = ibb-postfix-spammers
action = apf[name=SpamEmail]
logpath = /var/log/maillog
findtime = 604800
bantime  = 604800

[mail-abuse]
enabled = true
maxretry = 1
filter = ibb-postfix-malicious
action = apf[name=MailAbuse]
logpath = /var/log/maillog
findtime = 604800
bantime  = 604800

[mail-rejected]
enabled = true
maxretry = 10
filter = ibb-postfix
action = apf[name=MailRejected]
logpath = /var/log/maillog
findtime = 604800
bantime  = 604800

[sasl]
enabled = true
maxretry = 10
filter = postfix-sasl
action = apf[name=SASLFailures]
logpath = /var/log/maillog
findtime = 604800
bantime  = 604800