From aebd24ec5485dacc5146728fa22387340b51099e Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 2 Jul 2013 20:09:27 +1000 Subject: [PATCH] BF: replace with ed so its cross platform, fixes permission problem gh-266, and Yaroslav doesn't revert to perl --- ChangeLog | 2 ++ config/action.d/hostsdeny.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e5c38eb1..51835de4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,8 @@ ver. 0.8.11 (2013/XX/XXX) - wanna-be-released * filter.d/common.conf -- make colon after [daemon] optional. Closes gh-267 * filter.d/apache-common.conf -- support apache 2.4 more detailed error log format. Closes gh-268 + Daniel Black + * action.d/hostsdeny -- ensure permissions are fixed - gh-266 - New Features: Daniel Black & ykimon * filter.d/3proxy.conf -- filter added diff --git a/config/action.d/hostsdeny.conf b/config/action.d/hostsdeny.conf index 50a4545c..36e34948 100644 --- a/config/action.d/hostsdeny.conf +++ b/config/action.d/hostsdeny.conf @@ -39,7 +39,7 @@ actionban = IP= && # Tags: See jail.conf(5) man page # Values: CMD # -actionunban = IP= && sed /ALL:\ $IP/d > .new && mv .new +actionunban = echo "/ALL: $/
d
w
q" | ed [Init]