From 428c7ce6d19fd561491e8a29df5cea2a71d138cf Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 2 Oct 2006 22:16:04 +0000 Subject: Create new snort.conf during filter reload --- packages/snort/snort_dynamic_ip_reload.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'packages') diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php index 5d88be69..91498112 100644 --- a/packages/snort/snort_dynamic_ip_reload.php +++ b/packages/snort/snort_dynamic_ip_reload.php @@ -37,13 +37,8 @@ require_once("service-utils.inc"); if($config['interfaces']['wan']['ipaddr'] == "pppoe" or $config['interfaces']['wan']['ipaddr'] == "dhcp") { - log_error("Snort has detected a dynamic wan address. Reloading configuration."); - stop_service("snort"); create_snort_conf(); - sleep(5); - start_service("snort"); } -log_error("[SNORT] Snort_dynamic_ip_reload.php is ending."); ?> \ No newline at end of file -- cgit v1.2.3