aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_post_install.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-12-28 15:56:52 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-28 15:56:52 -0500
commitc7b2fcd5a689cec5cd151556f37eabadb0cb286d (patch)
tree2a91ba44b495fff4f463c45c45fba3406acb3a10 /config/suricata/suricata_post_install.php
parente21ee2ef12f1302f454df38f030ea8c70dbaa411 (diff)
downloadpfsense-packages-c7b2fcd5a689cec5cd151556f37eabadb0cb286d.tar.gz
pfsense-packages-c7b2fcd5a689cec5cd151556f37eabadb0cb286d.tar.bz2
pfsense-packages-c7b2fcd5a689cec5cd151556f37eabadb0cb286d.zip
Check for ET IQRisk update once every 6 hours instead of once daily.
Diffstat (limited to 'config/suricata/suricata_post_install.php')
-rw-r--r--config/suricata/suricata_post_install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_post_install.php b/config/suricata/suricata_post_install.php
index 5000a17d..d5c771be 100644
--- a/config/suricata/suricata_post_install.php
+++ b/config/suricata/suricata_post_install.php
@@ -127,7 +127,7 @@ if ($config['installedpackages']['suricata']['config'][0]['autogeoipupdate'] !=
if ($config['installedpackages']['suricata']['config'][0]['et_iqrisk_enable'] == 'on') {
log_error(gettext("[Suricata] Installing Emerging Threats IQRisk IP List..."));
include("/usr/local/pkg/suricata/suricata_etiqrisk_update.php");
- install_cron_job("/usr/bin/nice -n20 /usr/local/bin/php -f /usr/local/pkg/suricata/suricata_etiqrisk_update.php", TRUE, 0, 0, "*", "*", "*", "root");
+ install_cron_job("/usr/bin/nice -n20 /usr/local/bin/php -f /usr/local/pkg/suricata/suricata_etiqrisk_update.php", TRUE, 0, "*/6", "*", "*", "*", "root");
}
// remake saved settings if previously flagged