From e0ed41a22e29dd9a4b7cdbd8fe14453036bb9e08 Mon Sep 17 00:00:00 2001 From: lostcontrol Date: Thu, 14 Dec 2006 21:20:03 +0000 Subject: [PATCH] - Use numeric output for iptables in "actioncheck" git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@489 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- CHANGELOG | 1 + config/action.d/iptables.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index fc591814..fad0e412 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,7 @@ ver. 0.7.6 (200?/??/??) - ??? ---------- - Added a "sleep 1" in redhat-initd. Thanks to Jim Wight - Use /dev/log for SYSLOG output. Thanks to Joerg Sommrey +- Use numeric output for iptables in "actioncheck" ver. 0.7.5 (2006/12/07) - beta ---------- diff --git a/config/action.d/iptables.conf b/config/action.d/iptables.conf index 27809e13..d9be0202 100644 --- a/config/action.d/iptables.conf +++ b/config/action.d/iptables.conf @@ -27,7 +27,7 @@ actionstop = iptables -D INPUT -p --dport -j fail2ban- # Notes.: command executed once before each fwban command # Values: CMD # -actioncheck = iptables -L INPUT | grep -q fail2ban- +actioncheck = iptables -n -L INPUT | grep -q fail2ban- # Option: fwban # Notes.: command executed when banning an IP. Take care that the