#fail2ban local settings #These settings override the settings in jail.conf [ssh] enabled = true logpath = /var/log/auth.log action = iptables-allports ndn-central-action[cluster=fail2ban_homie_host, name=ssh] port = ssh maxretry = 15 bantime = 3600 filter = sshd [418] enabled = true logpath = /var/log/apache2/apache2-*.mega.log action = iptables-allports ndn-central-action[cluster=fail2ban_homie_host, name=418] maxretry = 25 filter = 418 [wp] action = iptables-allports ndn-central-action[cluster=fail2ban_homie_host, name=wp] enabled = false maxretry = 21 filter = wp logpath = /var/log/apache2/apache2-*.mega.log [sasl] logpath = /var/log/mail.log port = smtp,ssmtp filter = postfix-sasl maxretry = 50 enabled = false action = iptables-allports [xmlrpc] filter = xmlrpc logpath = /var/log/apache2/apache2-*.mega.log maxretry = 150 enabled = true action = iptables-allports ndn-central-action[cluster=fail2ban_homie_host, name=xmlrpc] [DEFAULT] bantime = 3600 ignoreip = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 64.90.32.0/19 64.111.96.0/19 66.33.192.0/19 67.205.0.0/18 69.163.128.0/17 75.119.192.0/19 107.180.224.0/19 173.236.128.0/17 205.196.208.0/20 208.97.128.0/18 208.113.128.0/17 173.245.48.0/20 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 141.101.64.0/18 108.162.192.0/18 190.93.240.0/20 188.114.96.0/20 197.234.240.0/22 198.41.128.0/17 162.158.0.0/15 104.16.0.0/12 172.64.0.0/13 131.0.72.0/22 122.248.245.244/32 54.217.201.243/32 54.232.116.4/32 192.0.80.0/20 192.0.96.0/20 192.0.112.0/20 195.234.108.0/22 192.0.96.202/32 192.0.98.138/32 192.0.102.71/32 192.0.102.95/32 10.35.28.67 10.35.29.116 10.35.32.115 66.33.205.245 64.90.62.226 66.33.205.242 backend = auto maxretry = 50 [proftpd] logpath = /var/log/auth.log filter = proftpd maxretry = 50 action = iptables-allports ndn-central-action[cluster=fail2ban_homie_host, name=proftpd] enabled = true [mysqld-auth] maxretry = 10 logpath = /var/log/mysql/mysql.*.err action = iptables-allports enabled = true