diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 23:55:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 23:55:05 +0000 |
commit | 778bdf304750db78d7b7202bdbc110ba919be360 (patch) | |
tree | 01e62880647bd43de94a9966d29ef16511c50bac | |
parent | b30ce695e0ffb3f8cb2480357a3bfe597a196e4c (diff) | |
download | pfsense-packages-778bdf304750db78d7b7202bdbc110ba919be360.tar.gz pfsense-packages-778bdf304750db78d7b7202bdbc110ba919be360.tar.bz2 pfsense-packages-778bdf304750db78d7b7202bdbc110ba919be360.zip |
Pass $HOME_NET to snort
-rw-r--r-- | packages/snort/snort.inc | 4 |
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 |