aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-07-25 13:01:18 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-07-25 13:01:18 -0400
commit8d9fa4aa122bc12e81faf5f81125edc2f64e3853 (patch)
treece687f5b8b338e3b3e943ae6aa0ba5fa4b094a9e /config/snort
parente90252e2731fd88a3b53889e6ef1ef370642667f (diff)
downloadpfsense-packages-8d9fa4aa122bc12e81faf5f81125edc2f64e3853.tar.gz
pfsense-packages-8d9fa4aa122bc12e81faf5f81125edc2f64e3853.tar.bz2
pfsense-packages-8d9fa4aa122bc12e81faf5f81125edc2f64e3853.zip
Bump Snort GUI package version to 3.1.1 for bug fix.
Diffstat (limited to 'config/snort')
-rwxr-xr-xconfig/snort/snort.inc2
-rwxr-xr-xconfig/snort/snort.xml4
-rw-r--r--config/snort/snort_migrate_config.php2
-rw-r--r--config/snort/snort_post_install.php2
4 files changed, 5 insertions, 5 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index ce7560b8..2a6d006a 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -51,7 +51,7 @@ $snortver = array();
exec("/usr/local/bin/snort -V 2>&1 |/usr/bin/grep Version | /usr/bin/cut -c20-26", $snortver);
/* Used to indicate latest version of this include file has been loaded */
-$pfSense_snort_version = "3.1";
+$pfSense_snort_version = "3.1.1";
/* get installed package version for display */
$snort_package_version = "Snort {$config['installedpackages']['package'][get_pkg_id("snort")]['version']}";
diff --git a/config/snort/snort.xml b/config/snort/snort.xml
index d9bc0ee6..3feede80 100755
--- a/config/snort/snort.xml
+++ b/config/snort/snort.xml
@@ -47,7 +47,7 @@
<faq>Currently there are no FAQ items provided.</faq>
<name>Snort</name>
<version>2.9.6.2</version>
- <title>Services:2.9.6.2 pkg v3.1</title>
+ <title>Services:2.9.6.2 pkg v3.1.1</title>
<include_file>/usr/local/pkg/snort/snort.inc</include_file>
<menu>
<name>Snort</name>
@@ -279,7 +279,7 @@
</custom_add_php_command>
<custom_php_resync_config_command>
<![CDATA[
- if ($GLOBALS['pfSense_snort_version'] == "3.1")
+ if ($GLOBALS['pfSense_snort_version'] == "3.1.1")
sync_snort_package_config();
]]>
</custom_php_resync_config_command>
diff --git a/config/snort/snort_migrate_config.php b/config/snort/snort_migrate_config.php
index 49ab95d5..5e1e5113 100644
--- a/config/snort/snort_migrate_config.php
+++ b/config/snort/snort_migrate_config.php
@@ -459,7 +459,7 @@ unset($r);
// Write out the new configuration to disk if we changed anything
if ($updated_cfg) {
- $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.1";
+ $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.1.1";
log_error("[Snort] Saving configuration settings in new format...");
write_config("Snort pkg: migrate existing settings to new format as part of package upgrade.");
log_error("[Snort] Settings successfully migrated to new configuration format...");
diff --git a/config/snort/snort_post_install.php b/config/snort/snort_post_install.php
index b36578b8..25be448a 100644
--- a/config/snort/snort_post_install.php
+++ b/config/snort/snort_post_install.php
@@ -178,7 +178,7 @@ if (stristr($config['widgets']['sequence'], "snort_alerts-container") === FALSE)
$config['widgets']['sequence'] .= ",{$snort_widget_container}";
/* Update Snort package version in configuration */
-$config['installedpackages']['snortglobal']['snort_config_ver'] = "3.1";
+$config['installedpackages']['snortglobal']['snort_config_ver'] = "3.1.1";
write_config("Snort pkg: post-install configuration saved.");
/* Done with post-install, so clear flag */