aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-30 21:23:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-30 21:23:10 +0000
commit25cfcdf793ecba719a39c9d9edff46573b6107fa (patch)
tree692ac7ff6beaa385eeca990fe390e80daa72ff95 /packages/snort
parent1220098c2956ab7fc4231df3e367536b78473f56 (diff)
downloadpfsense-packages-25cfcdf793ecba719a39c9d9edff46573b6107fa.tar.gz
pfsense-packages-25cfcdf793ecba719a39c9d9edff46573b6107fa.tar.bz2
pfsense-packages-25cfcdf793ecba719a39c9d9edff46573b6107fa.zip
We will restart snort from rc.newwanip now.
Diffstat (limited to 'packages/snort')
-rw-r--r--packages/snort/snort_dynamic_ip_reload.php4
1 files 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