From 3252b158900e801bbd48f64c7ab326a4c809e76d Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Tue, 19 Dec 2006 21:51:28 +0000 Subject: [PATCH] =?UTF-8?q?-=20Fixed=20removal=20of=20host=20in=20hosts.de?= =?UTF-8?q?ny.=20Thanks=20to=20Ren=C3=A9=20Berber?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_6@497 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- CHANGELOG | 1 + README | 3 ++- config/fail2ban.conf.hostsdeny | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 16b7e67a..63fe8c26 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -10,6 +10,7 @@ Fail2Ban (version 0.6.3) 200?/??/?? ver. 0.6.3 (200?/??/??) - stable ---------- - Send SIGTERM instead of SIGINT when using "-k" +- Fixed removal of host in hosts.deny. Thanks to René Berber ver. 0.6.2 (2006/12/11) - stable ---------- diff --git a/README b/README index 53aa18f4..a3a8371f 100644 --- a/README +++ b/README @@ -139,7 +139,8 @@ Thanks: Kévin Drapel, Marvin Rouge, Sireyessire, Robert Edeker, Tom Pike, Iain Lea, Andrey G. Grozin, Yaroslav Halchenko, Jonathan Kamens, Stephen Gildea, Markus Hoffmann, Mark -Edgington, Patrick Börjesson, kojiro, zugeschmiert +Edgington, Patrick Börjesson, kojiro, zugeschmiert, René +Berber License: -------- diff --git a/config/fail2ban.conf.hostsdeny b/config/fail2ban.conf.hostsdeny index 5bfeab3b..43efb34d 100644 --- a/config/fail2ban.conf.hostsdeny +++ b/config/fail2ban.conf.hostsdeny @@ -140,7 +140,7 @@ fwban = IP= && echo "ALL: $IP" >> %(hostsdeny)s # Values: CMD # Default: iptables -D INPUT -s -j DROP # -fwunban = IP= && sed -i.old s/ALL:\ $IP// %(hostsdeny)s +fwunban = IP= && sed -i.old /ALL:\ $IP/d %(hostsdeny)s [MAIL] # Option: enabled