From b093fd924757a2c803fb5c5f66fd15ae4966e6fc Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Mon, 3 Nov 2014 12:35:22 -0500 Subject: Bug Fix: should be restart_all instead of start_all interfaces. --- config/snort/snort_check_for_rule_updates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php index fc78cf28..edf99dc8 100755 --- a/config/snort/snort_check_for_rule_updates.php +++ b/config/snort/snort_check_for_rule_updates.php @@ -790,7 +790,7 @@ if ($snortdownload == 'on' || $emergingthreats == 'on' || $snortcommunityrules = } error_log(gettext("\tRestarting Snort to activate the new set of rules...\n"), 3, $snort_rules_upd_log); touch("{$g['varrun_path']}/snort_pkg_starting.lck"); - snort_start_all_interfaces(TRUE); + snort_restart_all_interfaces(TRUE); sleep(3); unlink_if_exists("{$g['varrun_path']}/snort_pkg_starting.lck"); if ($pkg_interface <> "console") -- cgit v1.2.3 From bd4191a0c0a81588441d719c2fb465b8e3aca29e Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Mon, 3 Nov 2014 12:53:38 -0500 Subject: Bump Snort 2.9.6.2 pkg version to 3.1.4 for bug fix. --- config/snort/snort.inc | 2 +- config/snort/snort.xml | 2 +- config/snort/snort_migrate_config.php | 2 +- config/snort/snort_post_install.php | 4 ++-- pkg_config.10.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 3a384dee..e19119cf 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.3"; +$pfSense_snort_version = "3.1.4"; /* 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 b52a1b7e..264ef34e 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.6.2 - Services:2.9.6.2 pkg v3.1.3 + Services:2.9.6.2 pkg v3.1.4 /usr/local/pkg/snort/snort.inc Snort diff --git a/config/snort/snort_migrate_config.php b/config/snort/snort_migrate_config.php index 9569c475..a134e0aa 100644 --- a/config/snort/snort_migrate_config.php +++ b/config/snort/snort_migrate_config.php @@ -490,7 +490,7 @@ unset($r); // Log a message if we changed anything if ($updated_cfg) { - $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.1.3"; + $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.1.4"; log_error("[Snort] Saving configuration settings in new format..."); 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 c295b881..48ba48e9 100644 --- a/config/snort/snort_post_install.php +++ b/config/snort/snort_post_install.php @@ -263,8 +263,8 @@ 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.3"; -write_config("Snort pkg v3.1.3: post-install configuration saved."); +$config['installedpackages']['snortglobal']['snort_config_ver'] = "3.1.4"; +write_config("Snort pkg v3.1.4: post-install configuration saved."); /* Done with post-install, so clear flag */ unset($g['snort_postinstall']); diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 6258bd84..b08e7886 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -331,7 +331,7 @@ barnyard2_UNSET=ODBC PGSQL PRELUDE;barnyard2_SET=GRE IPV6 MPLS MYSQL PORT_PCAP;snort_SET=TARGETBASED PERFPROFILE SOURCEFIRE GRE IPV6 MPLS NORMALIZER ZLIB;snort_UNSET=PULLEDPORK;perl_SET=THREADS https://packages.pfsense.org/packages/config/snort/snort.xml - 2.9.6.2 pkg v3.1.3 + 2.9.6.2 pkg v3.1.4 2.2 Stable /snort.xml diff --git a/pkg_config.8.xml b/pkg_config.8.xml index fd486696..453aef97 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -469,7 +469,7 @@ barnyard2_UNSET=ODBC PGSQL PRELUDE;barnyard2_SET=GRE IPV6 MPLS MYSQL PORT_PCAP BRO;snort_SET=TARGETBASED PERFPROFILE SOURCEFIRE GRE IPV6 MPLS NORMALIZER ZLIB;snort_UNSET=PULLEDPORK;perl_SET=THREADS https://packages.pfsense.org/packages/config/snort/snort.xml - 2.9.6.2 pkg v3.1.3 + 2.9.6.2 pkg v3.1.4 2.1 Stable /snort.xml diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 1399fa38..dc82eb7a 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -456,7 +456,7 @@ barnyard2_UNSET=ODBC PGSQL PRELUDE;barnyard2_SET=GRE IPV6 MPLS MYSQL PORT_PCAP;snort_SET=TARGETBASED PERFPROFILE SOURCEFIRE GRE IPV6 MPLS NORMALIZER ZLIB;snort_UNSET=PULLEDPORK;perl_SET=THREADS https://packages.pfsense.org/packages/config/snort/snort.xml - 2.9.6.2 pkg v3.1.3 + 2.9.6.2 pkg v3.1.4 2.1 Stable /snort.xml -- cgit v1.2.3