diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-08 23:33:59 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-08 23:33:59 +0000 |
commit | 50e5ba77c4341f084e9238ded88aa129891abfdf (patch) | |
tree | e086bd69af9356e1e6eb8767d3b4bfd0f85b0a2a /packages/snort | |
parent | d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6 (diff) | |
download | pfsense-packages-50e5ba77c4341f084e9238ded88aa129891abfdf.tar.gz pfsense-packages-50e5ba77c4341f084e9238ded88aa129891abfdf.tar.bz2 pfsense-packages-50e5ba77c4341f084e9238ded88aa129891abfdf.zip |
snort2c does not HUP. simply kill it and restart.
Diffstat (limited to 'packages/snort')
-rw-r--r-- | packages/snort/snort_dynamic_ip_reload.php | 2 |
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"); } |