aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-08 23:33:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-08 23:33:59 +0000
commit50e5ba77c4341f084e9238ded88aa129891abfdf (patch)
treee086bd69af9356e1e6eb8767d3b4bfd0f85b0a2a
parentd34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6 (diff)
downloadpfsense-packages-50e5ba77c4341f084e9238ded88aa129891abfdf.tar.gz
pfsense-packages-50e5ba77c4341f084e9238ded88aa129891abfdf.tar.bz2
pfsense-packages-50e5ba77c4341f084e9238ded88aa129891abfdf.zip
snort2c does not HUP. simply kill it and restart.
-rw-r--r--packages/snort/snort_dynamic_ip_reload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php
index 9de36604..af8a5673 100644
--- a/packages/snort/snort_dynamic_ip_reload.php
+++ b/packages/snort/snort_dynamic_ip_reload.php
@@ -41,7 +41,7 @@ if($config['interfaces']['wan']['ipaddr'] == "pppoe" or
create_snort_conf();
mwexec("/sbin/pfctl -t snort2c -T flush");
exec("killall -HUP snort");
- exec("killall -HUP snort2c");
+ exec("/usr/bin/killall snort2c; snort2c -w /var/db/whitelist -a /var/log/snort/alert");
}