Any idea why this happens? Should I report it as a bug? After restarting 
Fail2ban resumes ok.

Running Fedora 28 fail2ban-0.10.3.1-2.fc28.noarch

I see this error referenced on https://github.com/fail2ban/fail2ban/issues/1393 
<https://github.com/fail2ban/fail2ban/issues/1393> and 
https://github.com/fail2ban/fail2ban/issues/1227

2018-10-08 06:22:44,922 fail2ban.actions        [34352]: NOTICE  [sshd] Ban 
58.218.92.23
2018-10-08 06:22:44,933 fail2ban.utils          [34352]: Level 39 7fc2040edc90 
-- exec: iptables  -n -L INPUT | grep -q 'f2b-sshd[ \t]'
2018-10-08 06:22:44,934 fail2ban.utils          [34352]: ERROR   7fc2040edc90 
-- returned 1
2018-10-08 06:22:44,934 fail2ban.CommandAction  [34352]: ERROR   Invariant 
check failed. Trying to restore a sane environment
2018-10-08 06:22:44,946 fail2ban.utils          [34352]: Level 39 7fc2041a32b0 
-- exec: iptables  -D INPUT -p tcp -m multiport --dports ssh -j f2b-sshd
iptables  -F f2b-sshd
iptables  -X f2b-sshd
2018-10-08 06:22:44,946 fail2ban.utils          [34352]: ERROR   7fc2041a32b0 
-- stderr: "iptables v1.6.2: Couldn't load target `f2b-sshd':No such file or 
directory"
2018-10-08 06:22:44,947 fail2ban.utils          [34352]: ERROR   7fc2041a32b0 
-- stderr: ''
2018-10-08 06:22:44,947 fail2ban.utils          [34352]: ERROR   7fc2041a32b0 
-- stderr: "Try `iptables -h' or 'iptables --help' for more information."
2018-10-08 06:22:44,947 fail2ban.utils          [34352]: ERROR   7fc2041a32b0 
-- stderr: 'iptables: No chain/target/match by that name.'
2018-10-08 06:22:44,947 fail2ban.utils          [34352]: ERROR   7fc2041a32b0 
-- stderr: 'iptables: No chain/target/match by that name.'
2018-10-08 06:22:44,947 fail2ban.utils          [34352]: ERROR   7fc2041a32b0 
-- returned 1
2018-10-08 06:22:44,956 fail2ban.utils          [34352]: Level 39 7fc2040edc90 
-- exec: iptables  -n -L INPUT | grep -q 'f2b-sshd[ \t]'
2018-10-08 06:22:44,957 fail2ban.utils          [34352]: ERROR   7fc2040edc90 
-- returned 1
2018-10-08 06:22:44,957 fail2ban.CommandAction  [34352]: CRITICAL Unable to 
restore environment

_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to