aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2013-12-17 20:09:08 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2013-12-17 20:09:08 -0500
commit21af4fa16d7adc26dbad59e84cb734c2a10e57ee (patch)
tree26837e6261a6de86604b908a2cde25c850cab754 /config/snort
parent073f3e78629de1b97945d744d4339615094b4d4e (diff)
downloadpfsense-packages-21af4fa16d7adc26dbad59e84cb734c2a10e57ee.tar.gz
pfsense-packages-21af4fa16d7adc26dbad59e84cb734c2a10e57ee.tar.bz2
pfsense-packages-21af4fa16d7adc26dbad59e84cb734c2a10e57ee.zip
Add new query string param when viewing Flowbits.
Diffstat (limited to 'config/snort')
-rwxr-xr-xconfig/snort/snort_rules.php2
-rwxr-xr-xconfig/snort/snort_rulesets.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_rules.php b/config/snort/snort_rules.php
index 48d26d1d..0434f88f 100755
--- a/config/snort/snort_rules.php
+++ b/config/snort/snort_rules.php
@@ -528,7 +528,7 @@ if ($savemsg) {
<tr>
<td colspan="3" class="vexpl" align="center"><?php echo "<span class=\"red\"><b>" . gettext("WARNING: ") . "</b></span>" .
gettext("You should not disable flowbit rules! Add Suppress List entries for them instead by ") .
- "<a href='snort_rules_flowbits.php?id={$id}' title=\"" . gettext("Add Suppress List entry for Flowbit Rule") . "\">" .
+ "<a href='snort_rules_flowbits.php?id={$id}&openruleset={$currentruleset}&returl=" . urlencode($_SERVER['PHP_SELF']) . "' title=\"" . gettext("Add Suppress List entry for Flowbit Rule") . "\">" .
gettext("clicking here") . ".</a>";?></td>
</tr>
<?php endif;?>
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php
index 3b7ef916..62b68a1b 100755
--- a/config/snort/snort_rulesets.php
+++ b/config/snort/snort_rulesets.php
@@ -330,7 +330,7 @@ if ($savemsg) {
</tr>
<tr>
<td width="15%" class="listn"><?php echo gettext("Auto Flowbit Rules"); ?></td>
- <td width="85%"><input type="button" class="formbtns" value="View" onclick="parent.location='snort_rules_flowbits.php?id=<?=$id;?>'" <?php echo $btn_view_flowb_rules; ?>/>
+ <td width="85%"><input type="button" class="formbtns" value="View" onclick="parent.location='snort_rules_flowbits.php?id=<?=$id;?>&returl=<?=urlencode($_SERVER['PHP_SELF']);?>'" <?php echo $btn_view_flowb_rules; ?>/>
&nbsp;&nbsp;<span class="vexpl"><?php echo gettext("Click to view auto-enabled rules required to satisfy flowbit dependencies"); ?></span></td>
</tr>
<tr>