From 8e3a6c43552fa36df9dd19a0dd0db312add43d11 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Sun, 12 Jan 2014 00:28:21 -0500 Subject: Bump Snort pkg version to 3.0.2 -- bug fixes. --- config/snort/snort.inc | 3 +-- config/snort/snort.xml | 4 ++-- config/snort/snort_post_install.php | 5 +++-- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 4351a9b0..91298838 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -54,7 +54,7 @@ if (empty($snort_version)) $snort_version = "2.9.5.5"; /* package version */ -$pfSense_snort_version = "3.0.1"; +$pfSense_snort_version = "3.0.2"; $snort_package_version = "Snort {$snort_version} pkg v{$pfSense_snort_version}"; // Define SNORTDIR and SNORTLIBDIR constants according to pfSense version @@ -662,7 +662,6 @@ function snort_post_delete_logs($snort_uuid = 0) { /* Clean-up packet capture files if any exist */ $filelist = glob("{$snort_log_dir}/snort.log.*"); - unset($filelist[count($filelist) - 1]); foreach ($filelist as $file) @unlink($file); diff --git a/config/snort/snort.xml b/config/snort/snort.xml index c50c066a..9d4f1d61 100755 --- a/config/snort/snort.xml +++ b/config/snort/snort.xml @@ -47,7 +47,7 @@ Currently there are no FAQ items provided. Snort 2.9.5.5 - Services:2.9.5.5 pkg v3.0.1 + Services:2.9.5.5 pkg v3.0.2 /usr/local/pkg/snort/snort.inc Snort @@ -244,7 +244,7 @@ diff --git a/config/snort/snort_post_install.php b/config/snort/snort_post_install.php index a7b54503..f79737a2 100644 --- a/config/snort/snort_post_install.php +++ b/config/snort/snort_post_install.php @@ -1354,6 +1354,7 @@ EOD; /*****************************************************************************/ /* This starts the actual post-install code */ /*****************************************************************************/ +conf_mount_rw(); /* Hard kill any running Snort processes that may have been started by any */ /* of the pfSense scripts such as check_reload_status() or rc.start_packages */ @@ -1436,7 +1437,6 @@ if ($config['installedpackages']['snortglobal']['forcekeepsettings'] == 'on') { /* Add the recurring jobs created above to crontab */ configure_cron(); - conf_mount_ro(); $rebuild_rules = false; update_output_window(gettext("Finished rebuilding Snort configuration files...")); @@ -1453,8 +1453,9 @@ if ($config['installedpackages']['snortglobal']['forcekeepsettings'] == 'on') { } /* Update Snort package version in configuration */ -$config['installedpackages']['snortglobal']['snort_config_ver'] = "3.0.1"; +$config['installedpackages']['snortglobal']['snort_config_ver'] = "3.0.2"; write_config(); +conf_mount_ro(); /* Done with post-install, so clear flag */ unset($g['snort_postinstall']); diff --git a/pkg_config.8.xml b/pkg_config.8.xml index ad96f673..d6111546 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -525,7 +525,7 @@ barnyard2_UNSET=ODBC PGSQL PRELUDE;barnyard2_SET=GRE IPV6 MPLS MYSQL;snort_SET=TARGETBASED PERFPROFILE DECODERPRE REACT FLEXRESP3 GRE IPV6 MPLS NORMALIZER ZLIB;perl_SET=THREADS;WITH_THREADS=yes;WITH_IPV6=true;WITH_MPLS=true;WITH_GRE=true;WITH_TARGETBASED=true;WITH_PERFPROFILE=true;WITH_DECODERPRE=true;WITH_ZLIB=true;WITH_NORMALIZER=true;WITH_REACT=true;WITH_FLEXRESP3=true;WITHOUT_ODBC=true;WITHOUT_POSTGRESQL=true;WITHOUT_PRELUDE=true;NOPORTDOCS=true http://www.pfsense.com/packages/config/snort/snort.xml - 2.9.5.5 pkg v3.0.1 + 2.9.5.5 pkg v3.0.2 2.0 Stable /snort.xml diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index e9560106..56ac8420 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -512,7 +512,7 @@ barnyard2_UNSET=ODBC PGSQL PRELUDE;barnyard2_SET=GRE IPV6 MPLS MYSQL;snort_SET=TARGETBASED PERFPROFILE DECODERPRE FLEXRESP3 GRE IPV6 MPLS NORMALIZER ZLIB;perl_SET=THREADS;WITH_THREADS=yes;WITH_IPV6=true;WITH_MPLS=true;WITH_GRE=true;WITH_TARGETBASED=true;WITH_PERFPROFILE=true;WITH_DECODERPRE=true;WITH_ZLIB=true;WITH_NORMALIZER=true;WITH_REACT=true;WITH_FLEXRESP3=true;WITHOUT_ODBC=true;WITHOUT_POSTGRESQL=true;WITHOUT_PRELUDE=true;NOPORTDOCS=true http://www.pfsense.com/packages/config/snort/snort.xml - 2.9.5.5 pkg v3.0.1 + 2.9.5.5 pkg v3.0.2 2.0 Stable /snort.xml -- cgit v1.2.3