summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Jaquier <cyril.jaquier@fail2ban.org>2007-10-23 22:07:35 +0000
committerCyril Jaquier <cyril.jaquier@fail2ban.org>2007-10-23 22:07:35 +0000
commit155f24635460873a50bfc27e90d5cf52d71cd008 (patch)
treefaef206eeb553737a0119042b0910734466676bc
parent714aa1f46b6114ec6dccbbb5733a9a2e5c9bc5a6 (diff)
downloadfail2ban-155f24635460873a50bfc27e90d5cf52d71cd008.tar.gz
- Fixed ipfw action script. Thanks to Nick Munger
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@624 a942ae1a-1317-0410-a47c-b1dcaea8d605
-rw-r--r--CHANGELOG1
-rw-r--r--config/action.d/ipfw.conf4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 08c6abd4..962270e0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -18,6 +18,7 @@ ver. 0.9.0 (2007/??/??) - alpha
to Yaroslav Halchenko
- Replaced ssocket.py with asyncore/asynchat implementation.
Correct fix for bug #1769616
+- Fixed ipfw action script. Thanks to Nick Munger
ver. 0.8.0 (2007/05/03) - stable
----------
diff --git a/config/action.d/ipfw.conf b/config/action.d/ipfw.conf
index 0d5f1bbb..5305265e 100644
--- a/config/action.d/ipfw.conf
+++ b/config/action.d/ipfw.conf
@@ -37,7 +37,7 @@ actioncheck =
# <time> unix timestamp of the ban time
# Values: CMD
#
-actionban = ipaction add deny tcp from <ip> to <localhost> <port>
+actionban = ipfw add deny tcp from <ip> to <localhost> <port>
# Option: actionunban
@@ -48,7 +48,7 @@ actionban = ipaction add deny tcp from <ip> to <localhost> <port>
# <time> unix timestamp of the ban time
# Values: CMD
#
-actionunban = ipaction delete `ipfw list | grep -i <ip> | awk '{print $1;}'`
+actionunban = ipfw delete `ipfw list | grep -i <ip> | awk '{print $1;}'`
[Init]