- Use numeric output for iptables in "actioncheck"

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@489 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 2006-12-14 21:20:03 +00:00
parent 8ca367d609
commit 6f7df2cc3c
2 changed files with 2 additions and 1 deletions

View File

@ -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
----------

View File

@ -27,7 +27,7 @@ actionstop = iptables -D INPUT -p <protocol> --dport <port> -j fail2ban-<name>
# Notes.: command executed once before each fwban command
# Values: CMD
#
actioncheck = iptables -L INPUT | grep -q fail2ban-<name>
actioncheck = iptables -n -L INPUT | grep -q fail2ban-<name>
# Option: fwban
# Notes.: command executed when banning an IP. Take care that the