aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/snort/snort.inc3
-rwxr-xr-xpkg_config.7.xml2
2 files changed, 3 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 977ae761..884f0883 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -151,9 +151,10 @@ function sync_package_snort()
}
/* if block offenders is checked, start snort2c */
- if($_POST['blockoffenders'])
+ if($_POST['blockoffenders']) {
$start .= "\nsleep 8\n";
$start .= "snort2c -w /var/db/whitelist -a /var/log/snort/alert\n";
+ }
$sample_before = "\nBEFORE_MEM=`top | grep Free | grep Wired | awk '{print \$10}'`\n";
$sample_after = "\nAFTER_MEM=`top | grep Free | grep Wired | awk '{print \$10}'`\n";
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index c45b4b98..81cf163d 100755
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -240,7 +240,7 @@
<depends_on_package>mysql-client-5.1.34.tbz</depends_on_package>
<depends_on_package>snort-2.8.4.1.tbz</depends_on_package>
<config_file>http://www.pfsense.com/packages/config/snort/snort.xml</config_file>
- <version>2.8.4.1</version>
+ <version>2.8.4.1_2</version>
<required_version>1.2.2</required_version>
<status>Stable</status>
<configurationfile>snort.xml</configurationfile>