]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
crontab: Add job for periodic ipblocklist updates.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 10 Apr 2022 09:40:56 +0000 (11:40 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 7 Jul 2022 15:27:06 +0000 (17:27 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cron/crontab

index c421046261fb61f5db3a51fa6efa5697d10ddfc6..7762a56ffd7c176b5544df6694b3aa766aae0414 100644 (file)
@@ -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