forked from ISTI-ansible-roles/ansible-roles
37 lines
925 B
YAML
37 lines
925 B
YAML
---
|
|
|
|
# Fail2ban
|
|
# Needed by the fail2ban template
|
|
cm_ip: 146.48.123.18
|
|
monitoring_ip: 146.48.123.23
|
|
# ban time in seconds. 86400 == 1 day
|
|
f2b_ban_time: 86400
|
|
f2b_findtime: 600
|
|
f2b_maxretry: 5
|
|
f2b_default_backend: auto
|
|
f2b_usedns: warn
|
|
f2b_dest_email: sysadmin@research-infrastructures.eu
|
|
f2b_sender_email: denyhosts@research-infrastructures.eu
|
|
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
|
|
|
|
f2b_packages:
|
|
- fail2ban
|
|
- iptables
|