From 140efc422969d411e620174501aa292ae1345534 Mon Sep 17 00:00:00 2001 From: robiscool Date: Mon, 16 Aug 2010 16:53:15 -0700 Subject: snort, major changes, fix pid bug, add jquery lightbox, update gui --- config/snort/snort_define_servers.php | 57 +++++++++++++++++------------------ 1 file changed, 28 insertions(+), 29 deletions(-) (limited to 'config/snort/snort_define_servers.php') diff --git a/config/snort/snort_define_servers.php b/config/snort/snort_define_servers.php index 106f069b..e6e8ffde 100644 --- a/config/snort/snort_define_servers.php +++ b/config/snort/snort_define_servers.php @@ -40,8 +40,8 @@ Important add error checking //require_once("globals.inc"); require_once("guiconfig.inc"); -require_once("/usr/local/pkg/snort/snort.inc"); require_once("/usr/local/pkg/snort/snort_gui.inc"); +require_once("/usr/local/pkg/snort/snort.inc"); if (!is_array($config['installedpackages']['snortglobal']['rule'])) { $config['installedpackages']['snortglobal']['rule'] = array(); @@ -265,30 +265,21 @@ $d_snortconfdirty_path = "/var/run/snort_conf_{$snort_uuid}_{$if_real}.dirty"; } $pgtitle = "Snort: Interface $id$if_real Define Servers"; -include("head.inc"); +include("/usr/local/pkg/snort/snort_head.inc"); ?> - +' . $pgtitle . '

';}?> + + -

- - - +
+ +
@@ -326,15 +317,18 @@ padding: 15px 10px 85% 50px; if($id != "") { - $tab_array = array(); - $tab_array[] = array("Snort Interfaces", false, "/snort/snort_interfaces.php"); - $tab_array[] = array("If Settings", false, "/snort/snort_interfaces_edit.php?id={$id}"); - $tab_array[] = array("Categories", false, "/snort/snort_rulesets.php?id={$id}"); - $tab_array[] = array("Rules", false, "/snort/snort_rules.php?id={$id}"); - $tab_array[] = array("Servers", true, "/snort/snort_define_servers.php?id={$id}"); - $tab_array[] = array("Preprocessors", false, "/snort/snort_preprocessors.php?id={$id}"); - $tab_array[] = array("Barnyard2", false, "/snort/snort_barnyard.php?id={$id}"); - display_top_tabs($tab_array); +echo '
' . "\n"; +echo '' . "\n"; +echo '' . "\n"; +echo '
' . "\n"; } ?> @@ -372,6 +366,9 @@ if($id != "") Please make sure there are no spaces in your definitions. + + Define Servers + Define DNS_SERVERS @@ -589,6 +586,8 @@ if($id != "")
+
+ -- cgit v1.2.3