diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-01-12 00:28:21 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-01-12 00:28:21 -0500 |
commit | 8e3a6c43552fa36df9dd19a0dd0db312add43d11 (patch) | |
tree | d21f85d6fcbee014b0221e546927548eced3a340 /config | |
parent | c3b3ace436cfc9f0cc0ea7e5909c58582b7ed658 (diff) | |
download | pfsense-packages-8e3a6c43552fa36df9dd19a0dd0db312add43d11.tar.gz pfsense-packages-8e3a6c43552fa36df9dd19a0dd0db312add43d11.tar.bz2 pfsense-packages-8e3a6c43552fa36df9dd19a0dd0db312add43d11.zip |
Bump Snort pkg version to 3.0.2 -- bug fixes.
Diffstat (limited to 'config')
-rwxr-xr-x | config/snort/snort.inc | 3 | ||||
-rwxr-xr-x | config/snort/snort.xml | 4 | ||||
-rw-r--r-- | config/snort/snort_post_install.php | 5 |
3 files changed, 6 insertions, 6 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 @@ <faq>Currently there are no FAQ items provided.</faq> <name>Snort</name> <version>2.9.5.5</version> - <title>Services:2.9.5.5 pkg v3.0.1</title> + <title>Services:2.9.5.5 pkg v3.0.2</title> <include_file>/usr/local/pkg/snort/snort.inc</include_file> <menu> <name>Snort</name> @@ -244,7 +244,7 @@ </custom_add_php_command> <custom_php_resync_config_command> <![CDATA[ - if ($GLOBALS['pfSense_snort_version'] == "3.0.1") + if ($GLOBALS['pfSense_snort_version'] == "3.0.2") sync_snort_package_config(); ]]> </custom_php_resync_config_command> 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']); |