aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-27 20:35:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-27 20:35:28 +0000
commit0d91c1003ccc111ca159c1d23d9e4f6b2ec6daee (patch)
treedb44fe35fbe0c40814201738fda5b925b8e942d7 /packages/snort
parent98cb7611212e29627401f70f1ca3c1dff5b427e2 (diff)
downloadpfsense-packages-0d91c1003ccc111ca159c1d23d9e4f6b2ec6daee.tar.gz
pfsense-packages-0d91c1003ccc111ca159c1d23d9e4f6b2ec6daee.tar.bz2
pfsense-packages-0d91c1003ccc111ca159c1d23d9e4f6b2ec6daee.zip
Do not include pppoe or dhcp entries
Diffstat (limited to 'packages/snort')
-rw-r--r--packages/snort/snort.inc3
-rw-r--r--packages/snort/snort_download_rules.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index fb1c76e3..a206b19f 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -168,7 +168,8 @@ function generate_snort_conf() {
/* iterate all interfaces and add to whitelist */
foreach($config['interfaces'] as $interface)
- $home_net .= "{$interface['ipaddr']} ";
+ if($interface['ipaddr'] <> "pppoe" and $interface['ipaddr'] <> "dhcp")
+ $home_net .= "{$interface['ipaddr']} ";
/* iterate all vips and add to whitelist */
if($config['virtualip'])
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php
index d0309e18..e558706e 100644
--- a/packages/snort/snort_download_rules.php
+++ b/packages/snort/snort_download_rules.php
@@ -1,4 +1,5 @@
<?php
+/* $Id$ */
/*
snort_download_rules.php
part of pfSense (http://www.pfsense.com)