From 018a8098314a10a3823cbc61d197c76b4baa6fec Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 10 Apr 2022 11:40:56 +0200 Subject: [PATCH] crontab: Add job for periodic ipblocklist updates. Signed-off-by: Stefan Schantl --- config/cron/crontab | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/cron/crontab b/config/cron/crontab index c421046261..7762a56ffd 100644 --- a/config/cron/crontab +++ b/config/cron/crontab @@ -65,6 +65,9 @@ HOME=/ # Perform a surciata rules update every 12 hours. @ 12h [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ids-ruleset >/dev/null 2>&1 +# Update Lists for IP-based blocking. +%hourly,random * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ipblocklists >/dev/null 2>&1 + # Retry sending spooled mails regularly %hourly * /usr/sbin/dma -q -- 2.39.5