From 168d9e3a981e7bbf9d54aa2dd8c1aed4d904238c Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Fri, 3 Jul 2015 22:25:20 -0400 Subject: Add new feature to hide deprecated rules categories in GUI. --- config/snort/snort_migrate_config.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config/snort/snort_migrate_config.php') diff --git a/config/snort/snort_migrate_config.php b/config/snort/snort_migrate_config.php index dcc5aa76..2d8d8927 100644 --- a/config/snort/snort_migrate_config.php +++ b/config/snort/snort_migrate_config.php @@ -116,6 +116,14 @@ if (empty($config['installedpackages']['snortglobal']['openappid_detectors'])) { $updated_cfg = true; } +/**********************************************************/ +/* Create new HIDE_DEPRECATED_RULES setting if not set */ +/**********************************************************/ +if (empty($config['installedpackages']['snortglobal']['hide_deprecated_rules'])) { + $config['installedpackages']['snortglobal']['hide_deprecated_rules'] = "off"; + $updated_cfg = true; +} + /**********************************************************/ /* Migrate per interface settings if required. */ /**********************************************************/ -- cgit v1.2.3 From 4106c494cdc49668e23a4bae378edc69521468bb Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Mon, 13 Jul 2015 19:26:12 -0400 Subject: Bump Snort package to version 3.2.6 --- config/snort/snort_migrate_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort/snort_migrate_config.php') diff --git a/config/snort/snort_migrate_config.php b/config/snort/snort_migrate_config.php index 2d8d8927..ae1daf6a 100644 --- a/config/snort/snort_migrate_config.php +++ b/config/snort/snort_migrate_config.php @@ -541,7 +541,7 @@ unset($r); // Log a message if we changed anything if ($updated_cfg) { - $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.2.5"; + $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.2.6"; log_error("[Snort] Settings successfully migrated to new configuration format..."); } else -- cgit v1.2.3