From 0ff48067e191b8edb984f52e9c8cb8df777bff05 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Thu, 17 Oct 2013 16:24:40 -0400 Subject: Add ability to select flowbit rules on RULES tab. --- config/snort/snort_rules_flowbits.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'config/snort/snort_rules_flowbits.php') diff --git a/config/snort/snort_rules_flowbits.php b/config/snort/snort_rules_flowbits.php index 499d093c..578f6c66 100644 --- a/config/snort/snort_rules_flowbits.php +++ b/config/snort/snort_rules_flowbits.php @@ -58,6 +58,11 @@ if (is_null($id)) { exit; } +// Set who called us so we can return to the correct page with +// the RETURN button. We will just trust this User-Agent supplied +// string for now. +$referrer = $_SERVER['HTTP_REFERER']; + $if_real = snort_get_real_interface($a_nat[$id]['interface']); $snort_uuid = $a_nat[$id]['uuid']; @@ -185,7 +190,7 @@ if ($savemsg) - /> @@ -278,7 +283,7 @@ if ($savemsg) 20): ?> - /> -- cgit v1.2.3