From: Stefan Schantl Date: Sun, 10 Apr 2022 09:40:56 +0000 (+0200) Subject: crontab: Add job for periodic ipblocklist updates. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=018a8098314a10a3823cbc61d197c76b4baa6fec;p=people%2Fstevee%2Fipfire-2.x.git crontab: Add job for periodic ipblocklist updates. Signed-off-by: Stefan Schantl --- 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