From 4ae00485b0cf585685e5bed6d2f3dbfb3933d939 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Sat, 29 Jun 2019 12:03:01 +0200 Subject: [PATCH] revert acktionban back, use norestored option --- config/action.d/blocklist_de.conf | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/config/action.d/blocklist_de.conf b/config/action.d/blocklist_de.conf index d8a4b3e5d..c7831fe55 100644 --- a/config/action.d/blocklist_de.conf +++ b/config/action.d/blocklist_de.conf @@ -30,6 +30,9 @@ [Definition] +# bypass reporting of restored (already reported) tickets: +norestored = 1 + # Option: actionstart # Notes.: command executed on demand at the first ban (or at the start of Fail2Ban if actionstart_on_demand is set to false). # Values: CMD @@ -55,20 +58,7 @@ actioncheck = # Values: CMD # -tmpfile = "/var/run/fail2ban/last-log-.time" - -actionban = if [ ! -e "" ] - then - # if the file doesn't exist yet, create it - touch -d @