Package: fail2ban Version: 0.8.13-1 Severity: normal Tags: newcomer Dear Maintainer,
using "protocol = all" in the [default] part of jail.local throws an error in fail2ban.log like this when attempting to ban: 2016-01-12 23:29:33,345 fail2ban.actions.action[10712]: ERROR iptables -n -L INPUT | grep -q 'fail2ban-ssh[ \t]' returned 100 2016-01-12 23:29:33,345 fail2ban.actions.action[10712]: ERROR Invariant check failed. Trying to restore a sane environment 2016-01-12 23:29:33,351 fail2ban.actions.action[10712]: ERROR iptables -n -L INPUT | grep -q 'fail2ban-ssh[ \t]' returned 100 2016-01-12 23:29:33,351 fail2ban.actions.action[10712]: CRITICAL Unable to restore environment According to github a similar issue has been fixed in 2012: https://github.com/fail2ban/fail2ban/issues/75 -- System Information: Debian Release: 8.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages fail2ban depends on: ii lsb-base 4.1+Debian13+nmu1 pn python:any <none> Versions of packages fail2ban recommends: ii iptables 1.4.21-2+b1 ii python-pyinotify 0.9.4-1 ii whois 5.2.7 Versions of packages fail2ban suggests: ii bsd-mailx [mailx] 8.1.2-0.20141216cvs-2 pn python-gamin <none> ii rsyslog [system-log-daemon] 8.4.2-1+deb8u1 -- no debconf information