[CentOS] fail2ban problem new installation

Sat Dec 19 09:37:14 UTC 2015
Tony Mountifield <tony at softins.co.uk>

In article <1612557.81lQ3GSSy2 at techz>,
Günther J. Niederwimmer <gjn at gjn.priv.at> wrote:
> Hello,
> I have a big problem with fail2ban and firewalld on my new system.
> I have a server running (CentOS 7.1) and run a Update to 7.2 on this system 
> all is working ?
> BUT I install a new system with CentOS 7 1511 on this systems fail2ban don't 
> work anymore. I have this error  or more, in the firewalld
> 2015-12-19 08:39:55 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -I 
> INPUT_direct 1 -p tcp -m multiport --dports ssh -m set --match-set fail2ban-
> sshd src -j REJECT --reject-with icmp-port-unreachable' failed: iptables 
> v1.4.21: Set fail2ban-sshd doesn't exist.
> Try `iptables -h' or 'iptables --help' for more information.
> Is on 7.2 some missing or not installed
> I installed fail2ban from the epel repo.
> Thanks for a answer,

Do you have the ipset RPM installed? rpm -q ipset

Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org