Fail2ban in Centos 7 not banning

Discussion in 'Server Operation' started by dannytoma, Jan 14, 2016.

  1. dannytoma

    dannytoma New Member

    Hi, I have installed a server using The Perfect Server - CentOS 7 tutorial. I have a problem with the fail2ban, I can't get it to ban. In logs only appears fail2ban.filter Found IP but no fail2ban.action Ban IP:
    I have installed fail2ban v0.9.3 and iptables v1.4.21.

    Code:
    2016-01-14 11:11:15,284 fail2ban.filter [32727]: INFO [sasl-iptables] Found 185.130.5.240
    2016-01-14 11:20:24,409 fail2ban.filter [32727]: INFO [wp-auth] Found 119.81.250.147
    2016-01-14 11:55:10,469 fail2ban.filter [32727]: INFO [sasl-iptables] Found 185.130.5.240
    2016-01-14 12:39:11,396 fail2ban.filter [32727]: INFO [sasl-iptables] Found 185.130.5.240
    2016-01-14 13:23:10,145 fail2ban.filter [32727]: INFO [sasl-iptables] Found 185.130.5.240
    Thanks.
     
  2. TW Woodward

    TW Woodward New Member

    Hi, has anyone figured out this issue? I'm having the same problem, fail2ban finds the offending IP addresses, but does nothing until I restart the service. Once I restart fail2ban, all of the offending IPs move to jail.
     

Share This Page