aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_rules.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-03-11 02:00:07 -0800
committerrobiscool <robrob2626@yahoo.com>2010-03-11 02:00:48 -0800
commite1dbec3e87eeef66c616653f7226ab2276ff6c16 (patch)
treee787fbf8b5b5af0ac5f9436f0043fb980cd99746 /config/snort-dev/snort_rules.php
parentc9fcb262f2cd4a5a123fa33f3932d10f020f3735 (diff)
downloadpfsense-packages-e1dbec3e87eeef66c616653f7226ab2276ff6c16.tar.gz
pfsense-packages-e1dbec3e87eeef66c616653f7226ab2276ff6c16.tar.bz2
pfsense-packages-e1dbec3e87eeef66c616653f7226ab2276ff6c16.zip
snort-dev, more GUI fixes, update help and info page
Diffstat (limited to 'config/snort-dev/snort_rules.php')
-rw-r--r--config/snort-dev/snort_rules.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/snort-dev/snort_rules.php b/config/snort-dev/snort_rules.php
index c08aea50..7a5a0cce 100644
--- a/config/snort-dev/snort_rules.php
+++ b/config/snort-dev/snort_rules.php
@@ -30,6 +30,7 @@
require("guiconfig.inc");
require("config.inc");
require("/usr/local/pkg/snort/snort_gui.inc");
+require("/usr/local/pkg/snort/snort.inc");
if (!is_array($config['installedpackages']['snortglobal']['rule'])) {
$config['installedpackages']['snortglobal']['rule'] = array();
@@ -399,13 +400,18 @@ if ($_GET['saved'] == 'yes')
$currentruleset = basename($rulefile);
$ifname = strtoupper($pconfig['interface']);
-$pgtitle = "Snort: Interface $ifname Rule File $currentruleset";
+
require("guiconfig.inc");
include("head.inc");
+
+$pgtitle = "Snort: Interface $id$if_real Rule Category: $currentruleset";
+
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
+<p class="pgtitle"><?if($pfsense_stable == 'yes'){echo $pgtitle;}?></p>
+
<?php
echo "<form action=\"snort_rules.php?id={$id}\" method=\"post\" name=\"iform\" id=\"iform\">";
?>
@@ -463,7 +469,6 @@ function popup(url)
?>
</td>
</tr>
- <br>
<tr>
<td>
<div id="mainarea">