aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-12-05 09:40:02 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-15 12:15:47 -0500
commitbb4ed0301d5fa42e24fd83011b1d816242e8dea6 (patch)
tree6fe2644a88a69974349e111f5eaebea76ebc5c1c
parentb27343fb9fd709ff654c5a8e1a1cddfa32896fcb (diff)
downloadpfsense-packages-bb4ed0301d5fa42e24fd83011b1d816242e8dea6.tar.gz
pfsense-packages-bb4ed0301d5fa42e24fd83011b1d816242e8dea6.tar.bz2
pfsense-packages-bb4ed0301d5fa42e24fd83011b1d816242e8dea6.zip
Only grab ET IQRisk IP list if explicitly enabled.
-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 f82ff42c..4ced40be 100644
--- a/config/suricata/suricata_post_install.php
+++ b/config/suricata/suricata_post_install.php
@@ -120,7 +120,7 @@ if ($config['installedpackages']['suricata']['config'][0]['autogeoipupdate'] !=
}
// Download the latest ET IQRisk updates and create cron task if the feature is not disabled
-if ($config['installedpackages']['suricata']['config'][0]['et_iqrisk_enable'] != 'off') {
+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");