diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-10-02 22:16:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-10-02 22:16:04 +0000 |
commit | 428c7ce6d19fd561491e8a29df5cea2a71d138cf (patch) | |
tree | 58fa73248e44a8ff7d27d5e351b1c3a1a7976a05 /packages/snort | |
parent | 20a31b515f325b7d828c45a3a4be92971c8a7dcf (diff) | |
download | pfsense-packages-428c7ce6d19fd561491e8a29df5cea2a71d138cf.tar.gz pfsense-packages-428c7ce6d19fd561491e8a29df5cea2a71d138cf.tar.bz2 pfsense-packages-428c7ce6d19fd561491e8a29df5cea2a71d138cf.zip |
Create new snort.conf during filter reload
Diffstat (limited to 'packages/snort')
-rw-r--r-- | packages/snort/snort_dynamic_ip_reload.php | 5 |
1 files changed, 0 insertions, 5 deletions
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 |