From d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 8 May 2007 23:29:30 +0000 Subject: Reload snort2c on IP change but do it with a HUP. --- packages/snort/snort_dynamic_ip_reload.php | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/snort') diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php index ff392c76..9de36604 100644 --- a/packages/snort/snort_dynamic_ip_reload.php +++ b/packages/snort/snort_dynamic_ip_reload.php @@ -41,6 +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"); } -- cgit v1.2.3