From 0628f8885994494ff5823e688ced8bffcf909375 Mon Sep 17 00:00:00 2001 From: robiscool Date: Thu, 25 Mar 2010 13:26:39 -0700 Subject: snort-dev, remove firephp trace code --- config/snort-dev/snort.xml | 2 +- config/snort-dev/snort_interfaces.php | 10 ---------- config/snort-dev/snort_interfaces_edit.php | 13 ------------- config/snort-dev/snort_rulesets.php | 11 ----------- 4 files changed, 1 insertion(+), 35 deletions(-) (limited to 'config/snort-dev') diff --git a/config/snort-dev/snort.xml b/config/snort-dev/snort.xml index 36659a11..06b0b7de 100644 --- a/config/snort-dev/snort.xml +++ b/config/snort-dev/snort.xml @@ -71,7 +71,7 @@ /usr/local/bin/ 077 - http://www.pfsense.com/packages/config/snort-dev/bin/7.2.x86/barnyard2 + http://www.pfsense.com/packages/config/snort-dev/bin/8.0.x86/barnyard2 /usr/local/bin/ diff --git a/config/snort-dev/snort_interfaces.php b/config/snort-dev/snort_interfaces.php index aebaba00..f4a73f16 100644 --- a/config/snort-dev/snort_interfaces.php +++ b/config/snort-dev/snort_interfaces.php @@ -33,16 +33,6 @@ require_once("guiconfig.inc"); require_once("/usr/local/pkg/snort/snort_gui.inc"); require_once("/usr/local/pkg/snort/snort.inc"); -/* firephp */ -require_once('../FirePHPCore/FirePHP.class.php4'); -require_once('../FirePHPCore/fb.php4'); -ob_start(); -$firephp =& FirePHP::getInstance(true); -$firephp->setEnabled(true); - -fb('Hello, world', FirePHP); -/* firephp end */ - $id = $_GET['id']; if (isset($_POST['id'])) diff --git a/config/snort-dev/snort_interfaces_edit.php b/config/snort-dev/snort_interfaces_edit.php index 0a5ce90d..416b4a8e 100644 --- a/config/snort-dev/snort_interfaces_edit.php +++ b/config/snort-dev/snort_interfaces_edit.php @@ -33,18 +33,6 @@ require_once("guiconfig.inc"); require_once("/usr/local/pkg/snort/snort.inc"); -/* firephp*/ -require_once('../FirePHPCore/FirePHP.class.php'); -require_once('../FirePHPCore/fb.php'); -ob_start(); -$firephp =& FirePHP::getInstance(true); -$firephp->setEnabled(true); - -fb('Hello, world', FirePHP); -/* firephp end */ - - - if (!is_array($config['installedpackages']['snortglobal']['rule'])) { $config['installedpackages']['snortglobal']['rule'] = array(); } @@ -79,7 +67,6 @@ $snort_uuid = 0; while ($snort_uuid > 65535 || $snort_uuid == 0) { $snort_uuid = mt_rand(1, 65535); $pconfig['uuid'] = $snort_uuid; - fb($snort_uuid, LOG); } } diff --git a/config/snort-dev/snort_rulesets.php b/config/snort-dev/snort_rulesets.php index da8f6646..172780b6 100644 --- a/config/snort-dev/snort_rulesets.php +++ b/config/snort-dev/snort_rulesets.php @@ -33,15 +33,6 @@ require_once("filter.inc"); require_once("service-utils.inc"); include_once("/usr/local/pkg/snort/snort.inc"); -/* firephp*/ -require_once('../FirePHPCore/FirePHP.class.php'); -require_once('../FirePHPCore/fb.php'); -ob_start(); -$firephp =& FirePHP::getInstance(true); -$firephp->setEnabled(true); - -fb('Hello, world', FirePHP); -/* firephp end */ if (!is_array($config['installedpackages']['snortglobal']['rule'])) { $config['installedpackages']['snortglobal']['rule'] = array(); @@ -81,7 +72,6 @@ include("fbegin.inc"); echo "

"; if($pfsense_stable == 'yes'){echo $pgtitle;} -fb($pfsense_stable, FirePHP); echo "

\n"; echo ""; @@ -154,7 +144,6 @@ if($_POST) { header( 'Pragma: no-cache' ); sleep(2); sync_snort_package_all(); - fb("$id, $if_real", FirePHP); header("Location: /snort/snort_rulesets.php?id=$id"); $savemsg = "The snort ruleset selections have been saved."; } -- cgit v1.2.3