From f35da076df5d0c02947f5e8cf5f6092925f6e55f Mon Sep 17 00:00:00 2001 From: sebres Date: Mon, 16 Jan 2017 09:55:01 +0100 Subject: [PATCH] ChangeLog entry --- ChangeLog | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e7b5522..37d74955 100644 --- a/ChangeLog +++ b/ChangeLog @@ -166,11 +166,14 @@ fail2ban-client set loglevel INFO (DateDetector.matchTime calls rarer DateTemplate.matchDate now); - several standard filters extended with exact prefixed or anchored date templates; * Added possibility to recognize restored state of the tickets (see gh-1669). - For the shell-based actions it is enough to add following script-piece at begin - of `actionban` (or `actionunban`), to prevent execution for the restored - (after restart) tickets. + New option `norestored` introduced, to ignore restored tickets (after restart). + To avoid execution of ban/unban for the restored tickets, `norestored = true` + could be added in definition section of action. + For conditional usage in the shell-based actions an interpolation `` + could be used also. E. g. it is enough to add following script-piece at begin + of `actionban` (or `actionunban`) to prevent execution: `if [ '' = '1' ]; then exit 0; fi;` - Several actions extended now: + Several actions extended now using `norestored` option: - complain.conf - dshield.conf - mail-buffered.conf