aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_post_install.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-09-20 16:35:40 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-15 12:04:34 -0500
commitd2600c88e6720a1f6f2dad74bbe8dac60b435d97 (patch)
tree462477383f8000ec544dd9fe0842d29bef61c101 /config/suricata/suricata_post_install.php
parent9c33543db52aea06e01d4289a55fe9522a40327c (diff)
downloadpfsense-packages-d2600c88e6720a1f6f2dad74bbe8dac60b435d97.tar.gz
pfsense-packages-d2600c88e6720a1f6f2dad74bbe8dac60b435d97.tar.bz2
pfsense-packages-d2600c88e6720a1f6f2dad74bbe8dac60b435d97.zip
Ensure defined CONSTANTS are unique to this package.
Diffstat (limited to 'config/suricata/suricata_post_install.php')
-rw-r--r--config/suricata/suricata_post_install.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/config/suricata/suricata_post_install.php b/config/suricata/suricata_post_install.php
index 42f72eca..46204f91 100644
--- a/config/suricata/suricata_post_install.php
+++ b/config/suricata/suricata_post_install.php
@@ -64,10 +64,10 @@ global $config, $g, $rebuild_rules, $pkg_interface, $suricata_gui_include;
* updated version icluded with the *
* updated GUI package. *
****************************************/
-if (!defined('SID_MODS_PATH'))
- define('SID_MODS_PATH', '/var/db/suricata/sidmods/');
-if (!defined('IPREP_PATH'))
- define('IPREP_PATH', '/var/db/suricata/iprep/');
+if (!defined('SURICATA_SID_MODS_PATH'))
+ define('SURICATA_SID_MODS_PATH', '/var/db/suricata/sidmods/');
+if (!defined('SURICATA_IPREP_PATH'))
+ define('SURICATA_IPREP_PATH', '/var/db/suricata/iprep/');
/****************************************
* End of PHP cachine workaround *
@@ -77,7 +77,7 @@ if (!defined('IPREP_PATH'))
$suricatadir = SURICATADIR;
$suricatalogdir = SURICATALOGDIR;
$flowbit_rules_file = FLOWBITS_FILENAME;
-$suricata_enforcing_rules_file = ENFORCING_RULES_FILENAME;
+$suricata_enforcing_rules_file = SURICATA_ENFORCING_RULES_FILENAME;
$rcdir = RCFILEPREFIX;
// Hard kill any running Suricata process that may have been started by any
@@ -109,8 +109,8 @@ conf_mount_rw();
safe_mkdir(SURICATALOGDIR);
// Create the IP Rep and SID Mods lists directory
-safe_mkdir(SID_MODS_PATH);
-safe_mkdir(IPREP_PATH);
+safe_mkdir(SURICATA_SID_MODS_PATH);
+safe_mkdir(SURICATA_IPREP_PATH);
// remake saved settings if previously flagged
if ($config['installedpackages']['suricata']['config'][0]['forcekeepsettings'] == 'on') {