aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_rules.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2014-03-19 23:50:45 +0100
committerErmal Luçi <eri@pfsense.org>2014-03-19 23:50:45 +0100
commit79719c58b2d433d5f151eb2a7d9766a8cc74088d (patch)
treece0d3c7612d3be50f4efab073a82a66dc6e35149 /config/suricata/suricata_rules.php
parent7157e10ba81c83879039db1259aaef6aab056cb2 (diff)
parent239348fd4adb0ac6b634d5e8255f3081ac62efdf (diff)
downloadpfsense-packages-79719c58b2d433d5f151eb2a7d9766a8cc74088d.tar.gz
pfsense-packages-79719c58b2d433d5f151eb2a7d9766a8cc74088d.tar.bz2
pfsense-packages-79719c58b2d433d5f151eb2a7d9766a8cc74088d.zip
Merge pull request #629 from bmeeks8/master
Suricata 1.4.6 pkg. v0.3-BETA Package Update
Diffstat (limited to 'config/suricata/suricata_rules.php')
-rw-r--r--config/suricata/suricata_rules.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/suricata/suricata_rules.php b/config/suricata/suricata_rules.php
index 567c29ea..5883ed8e 100644
--- a/config/suricata/suricata_rules.php
+++ b/config/suricata/suricata_rules.php
@@ -40,7 +40,7 @@ if (!is_array($config['installedpackages']['suricata']['rule']))
$config['installedpackages']['suricata']['rule'] = array();
$a_rule = &$config['installedpackages']['suricata']['rule'];
-if (isset($_POST['id']))
+if (isset($_POST['id']) && is_numericint($_POST['id']))
$id = $_POST['id'];
elseif (isset($_GET['id']) && is_numericint($_GET['id']))
$id = htmlspecialchars($_GET['id']);
@@ -391,6 +391,7 @@ if ($savemsg) {
$tab_array[] = array(gettext("Alerts"), false, "/suricata/suricata_alerts.php?instance={$id}");
$tab_array[] = array(gettext("Suppress"), false, "/suricata/suricata_suppress.php");
$tab_array[] = array(gettext("Logs Browser"), false, "/suricata/suricata_logs_browser.php?instance={$id}");
+ $tab_array[] = array(gettext("Logs Mgmt"), false, "/suricata/suricata_logs_mgmt.php");
display_top_tabs($tab_array);
echo '</td></tr>';
echo '<tr><td class="tabnavtbl">';