- 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
0.x
Cyril Jaquier 2007-10-23 22:07:35 +00:00
parent 714aa1f46b
commit 155f246354
2 changed files with 3 additions and 2 deletions

View File

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

View File

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