From 17e31b167e3ea23a88871fdecf6119ee1e9daa0e Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Tue, 4 Mar 2008 23:20:10 +0000 Subject: [PATCH] - Replaced "reject" with "drop" in shorwall action. Fix #1854875 git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@661 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- ChangeLog | 2 ++ config/action.d/shorewall.conf | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a942c2f6..8931a3e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -38,6 +38,8 @@ ver. 0.8.2 (2008/??/??) - stable - Added Mac OS/X startup script. Thanks to Bill Heaton. - Absorbed some Debian patches. Thanks to Yaroslav Halchenko. - Replaced "echo" with "printf" in actions. Fix #1839673 +- Replaced "reject" with "drop" in shorwall action. Fix + #1854875 ver. 0.8.1 (2007/08/14) - stable ---------- diff --git a/config/action.d/shorewall.conf b/config/action.d/shorewall.conf index 71238a1b..4bb6f4dc 100644 --- a/config/action.d/shorewall.conf +++ b/config/action.d/shorewall.conf @@ -4,6 +4,14 @@ # # $Revision$ # +# The default Shorewall configuration is with "BLACKLISTNEWONLY=Yes" (see +# file /etc/shorewall/shorewall.conf). This means that when Fail2ban adds a +# new shorewall rule to ban an IP address, that rule will affect only new +# connections. So if the attempter goes on trying using the same connection +# he could even log in. In order to get the same behavior of the iptable +# action (so that the ban is immediate) the /etc/shorewall/shorewall.conf +# file should me modified with "BLACKLISTNEWONLY=No". +# [Definition] @@ -33,7 +41,7 @@ actioncheck = #