From 25cfcdf793ecba719a39c9d9edff46573b6107fa Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 30 Apr 2007 21:23:10 +0000 Subject: We will restart snort from rc.newwanip now. --- packages/snort/snort_dynamic_ip_reload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php index 49f509b4..ddd76327 100644 --- a/packages/snort/snort_dynamic_ip_reload.php +++ b/packages/snort/snort_dynamic_ip_reload.php @@ -30,12 +30,11 @@ /* NOTE: this file gets included from the pfSense filter.inc plugin process */ -log_error("[SNORT] Snort_dynamic_ip_reload.php is starting."); - require_once("/usr/local/pkg/snort.inc"); require_once("service-utils.inc"); require_once("config.inc"); +/* if($config['interfaces']['wan']['ipaddr'] == "pppoe" or $config['interfaces']['wan']['ipaddr'] == "dhcp") { log_error("Dynamic WAN interface present. Restarting snort due to filter changes."); @@ -44,5 +43,6 @@ if($config['interfaces']['wan']['ipaddr'] == "pppoe" or mwexec("/sbin/pfctl -t snort2c -T flush"); start_service("snort"); } +*/ ?> \ No newline at end of file -- cgit v1.2.3