aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-27 23:55:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-27 23:55:05 +0000
commit778bdf304750db78d7b7202bdbc110ba919be360 (patch)
tree01e62880647bd43de94a9966d29ef16511c50bac /packages
parentb30ce695e0ffb3f8cb2480357a3bfe597a196e4c (diff)
downloadpfsense-packages-778bdf304750db78d7b7202bdbc110ba919be360.tar.gz
pfsense-packages-778bdf304750db78d7b7202bdbc110ba919be360.tar.bz2
pfsense-packages-778bdf304750db78d7b7202bdbc110ba919be360.zip
Pass $HOME_NET to snort
Diffstat (limited to 'packages')
-rw-r--r--packages/snort/snort.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index a0bfcd25..19660579 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -71,7 +71,7 @@ function sync_package_snort() {
/* if block offenders is checked, start snort2c */
if($_POST['blockoffenders'])
- $start .= ";/usr/bin/killall snort2c; sleep 1; snort2c -w /var/db/whitelist -a /var/log/snort/alert";
+ $start .= ";/usr/bin/killall snort2c; snort2c -w /var/db/whitelist -a /var/log/snort/alert";
write_rcfile(array(
"file" => "snort.sh",
@@ -286,7 +286,7 @@ preprocessor flow-portscan: \
scoreboard-rows-scanner 30000 \
alert-mode once \
output-mode msg \
- portscan-ignorehosts: $HOME_NET \
+ portscan-ignorehosts: \$HOME_NET \
tcp-penalties on