diff options
-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 |