diff --git a/config/action.d/complain.conf b/config/action.d/complain.conf index e4ceb35f..d0156a44 100644 --- a/config/action.d/complain.conf +++ b/config/action.d/complain.conf @@ -58,7 +58,8 @@ actioncheck = # Tags: See jail.conf(5) man page # Values: CMD # -actionban = oifs=${IFS}; +actionban = %(_bypass_if_restored)s + oifs=${IFS}; IFS=.; SEP_IP=( ); set -- ${SEP_IP}; ADDRESSES=$(dig +short -t txt -q $4.$3.$2.$1.abuse-contacts.abusix.org); IFS=,; ADDRESSES=$(echo $ADDRESSES) IFS=${oifs} diff --git a/config/action.d/dshield.conf b/config/action.d/dshield.conf index a0041986..35eaa3be 100644 --- a/config/action.d/dshield.conf +++ b/config/action.d/dshield.conf @@ -26,6 +26,10 @@ # configure how often the buffer is flushed). # +[INCLUDES] + +before = helpers-common.conf + [Definition] # Option: actionstart @@ -64,7 +68,8 @@ actioncheck = # few seconds out, are incorrect. See # http://sourceforge.net/tracker/index.php?func=detail&aid=2017795&group_id=121032&atid=689047 # -actionban = TZONE=`date +%%z | sed 's/\([+-]..\)\(..\)/\1:\2/'` +actionban = %(_bypass_if_restored)s + TZONE=`date +%%z | sed 's/\([+-]..\)\(..\)/\1:\2/'` DATETIME="`perl -e '@t=localtime(