diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-01 16:27:09 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-01 16:27:09 -0400 |
commit | 56f7c116d00eea10ef796ac41c477330a4d1daac (patch) | |
tree | 0203b1da8e5d8947002e2ad3a39e9e8cccad9754 /config/suricata/suricata_migrate_config.php | |
parent | 93b31c59eaa2dbde1720fa85ee42c53b46db2cab (diff) | |
download | pfsense-packages-56f7c116d00eea10ef796ac41c477330a4d1daac.tar.gz pfsense-packages-56f7c116d00eea10ef796ac41c477330a4d1daac.tar.bz2 pfsense-packages-56f7c116d00eea10ef796ac41c477330a4d1daac.zip |
Include new 'dns-events.rules' file for Suricata 2.0.3
Diffstat (limited to 'config/suricata/suricata_migrate_config.php')
-rw-r--r-- | config/suricata/suricata_migrate_config.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/suricata/suricata_migrate_config.php b/config/suricata/suricata_migrate_config.php index 97e3cde6..abbdcf64 100644 --- a/config/suricata/suricata_migrate_config.php +++ b/config/suricata/suricata_migrate_config.php @@ -116,6 +116,14 @@ foreach ($rule as &$r) { } /***********************************************************/ + /* Add the new 'dns-events.rules' file to the rulesets. */ + /***********************************************************/ + if (strpos("dns-events.rules", $pconfig['rulesets']) === FALSE) { + $pconfig['rulesets'] = rtrim($pconfig['rulesets'], "||") . "||dns-events.rules"; + $updated_cfg = true; + } + + /***********************************************************/ /* Add new HTTP Log Extended Info setting if not present */ /***********************************************************/ if (!isset($pconfig['http_log_extended'])) { |