#fail2ban local settings #These settings override the settings in jail.conf [xmlrpc] filter = xmlrpc logpath = /home/_domain_logs/*/*/*/access.log maxretry = 150 action = iptables-allports failcentral-dreamhost enabled = true [wp] logpath = /home/_domain_logs/*/*/*/access.log filter = wp enabled = true action = iptables-allports failcentral-dreamhost maxretry = 21 [ssh] port = ssh filter = sshd bantime = 3600 action = iptables-allports failcentral-dreamhost maxretry = 15 logpath = /var/log/auth.log enabled = true [DEFAULT] ignoreip = 127.0.0.0/8 10.0.0.0/8 172.17.0.0/16 172.21.0.0/16 172.22.0.0/16 172.24.0.0/16 173.236.0.0/16 192.168.0.0/16 205.196.0.0/16 208.113.0.0/16 208.96.0.0/16 208.97.0.0/16 209.17.0.0/16 216.193.0.0/16 66.33.0.0/16 67.205.0.0/16 63.208.0.0/16 64.111.0.0/16 64.173.0.0/16 64.175.0.0/16 64.90.0.0/16 66.201.0.0/16 69.163.0.0/16 75.119.0.0/16 192.0.0.0/8 0.0/16 173.236.0.0/16 192.168.0.0/16 205.196.0.0/16 208.113.0.0/16 208.96.0.0/16 208.97.0.0/16 209.17.0.0/16 216.193.0.0/16 66.33.0.0/16 67.205.0.0/16 63.208.0.0/16 64.111.0.0/16 64.173.0.0/16 64.175.0.0/16 64.90.0.0/16 66.201.0.0/16 69.163.0.0/16 75.119.0.0/16 192.0.0.0/8 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 192.88.134.0/23 185.93.228.0/22 66.248.200.0/22 52.20.63.25 3.225.202.138 3.217.200.190 54.212.71.227 52.12.170.68 34.218.21.81 3.7.90.144 13.127.240.219 18.139.6.69 18.140.184.0 3.106.6.1 backend = auto bantime = 3600 maxretry = 50 [proftpd] filter = proftpd enabled = true logpath = /var/log/auth.log maxretry = 50 action = iptables-allports failcentral-dreamhost [sasl] logpath = /var/log/mail.log port = smtp,ssmtp maxretry = 50 enabled = true filter = postfix-sasl action = iptables-allports [418] action = iptables-allports failcentral-dreamhost maxretry = 25 enabled = true logpath = /home/_domain_logs/*/*/*/access.log filter = 418