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,
In article 1612557.81lQ3GSSy2@techz, Günther J. Niederwimmer gjn@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
Cheers Tony
Hello, Am Saturday 19 December 2015, 09:37:14 schrieb Tony Mountifield:
In article 1612557.81lQ3GSSy2@techz,
Günther J. Niederwimmer gjn@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
Yes this is installed :-(, I look it before I wrote ;-).
Cheers Tony
On Sat, 19 Dec 2015, Günther J. Niederwimmer 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.
Things to check:
* the output of "ipset -l -n" to see if you have any ip sets defined
* that the fail2ban-firewalld rpm is installed
* that firewalld.service and fail2ban.service are both enabled and running