From: Stefan Schantl Date: Sun, 2 Jan 2022 08:55:59 +0000 (+0100) Subject: ids-functions.pl: Log the download attempt of a ruleset. X-Git-Url: http://git.ipfire.org/?p=people%2Fstevee%2Fipfire-2.x.git;a=commitdiff_plain;h=e498947d3abf9f341611d97836a5e4dd0703e4da ids-functions.pl: Log the download attempt of a ruleset. Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 96905b617f..024fe077a5 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -320,6 +320,9 @@ sub downloadruleset ($) { # Loop through the hash of sheduled providers. foreach my $provider ( keys %sheduled_providers) { + # Log download/update of the ruleset. + &_log_to_syslog("Downloading ruleset for provider: $provider."); + # Grab the download url for the provider. my $url = $IDS::Ruleset::Providers{$provider}{'dl_url'};