mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 15:02:59 +02:00
crontab: Add job for periodic ipblocklist updates.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user