2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
# Fail2ban
|
|
|
|
# Needed by the fail2ban template
|
|
|
|
# ban time in seconds. 86400 == 1 day
|
|
|
|
f2b_ban_time: 86400
|
|
|
|
f2b_findtime: 600
|
|
|
|
f2b_maxretry: 5
|
|
|
|
f2b_default_backend: auto
|
|
|
|
f2b_usedns: warn
|
2015-08-07 11:25:06 +02:00
|
|
|
f2b_dest_email: 'sysadmin@{{ domain_name }}'
|
|
|
|
f2b_sender_email: 'denyhosts@{{ domain_name }}'
|
2015-05-28 11:32:57 +02:00
|
|
|
f2b_default_banaction: iptables-multiport
|
|
|
|
# Default action: ban. Not send email
|
|
|
|
f2b_default_action: action_
|
|
|
|
f2b_default_iptableschain: INPUT
|
|
|
|
f2b_ssh_enabled: true
|
|
|
|
f2b_ssh_ddos_enabled: true
|
|
|
|
f2b_apache_auth_enabled: false
|
|
|
|
f2b_apache_noscript_enabled: false
|
|
|
|
f2b_apache_overflow_enabled: false
|
|
|
|
f2b_php_url_popen: false
|
|
|
|
f2b_nginx_auth_enabled: false
|
|
|
|
f2b_vsftpd_enabled: false
|
|
|
|
f2b_vsftpd_logpath: /var/log/vsftpd.log
|
|
|
|
f2b_recidive_enabled: true
|
|
|
|
# 604800: one week
|
|
|
|
f2b_recidive_findtime: 604800
|
|
|
|
# 14515200 24 weeks
|
|
|
|
f2b_recidive_ban_time: 14515200
|
|
|
|
|
2015-06-19 18:45:02 +02:00
|
|
|
f2b_packages:
|
|
|
|
- fail2ban
|
|
|
|
- iptables
|