35 lines
626 B
Django/Jinja
35 lines
626 B
Django/Jinja
[DEFAULT]
|
|
# Ban hosts for 1 hour
|
|
bantime = 3600
|
|
# Check for repeated failures for 10 minutes
|
|
findtime = 600
|
|
# Allow 3 failures before banning
|
|
maxretry = 3
|
|
|
|
# Email notifications (uncomment and configure if needed)
|
|
destemail = idobkin@gmail.com
|
|
sender = idobkin@gmail.com
|
|
action = %(action_mwl)s
|
|
|
|
[sshd]
|
|
enabled = true
|
|
port = ssh
|
|
filter = sshd
|
|
logpath = /var/log/auth.log
|
|
maxretry = 3
|
|
|
|
[apache]
|
|
enabled = false
|
|
port = http,https
|
|
filter = apache-auth
|
|
logpath = /var/log/apache2/error.log
|
|
maxretry = 3
|
|
|
|
[nginx-http-auth]
|
|
enabled = false
|
|
port = http,https
|
|
filter = nginx-http-auth
|
|
logpath = /var/log/nginx/error.log
|
|
maxretry = 3
|
|
|