From d0f804ddd88b5687ae471a20da7b2726390ae97f Mon Sep 17 00:00:00 2001 From: robiscool Date: Wed, 30 Dec 2009 00:51:05 -0800 Subject: snort-dev, add filtering for corrupted alerts file --- config/snort-dev/snort_rules.php | 92 +++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 48 deletions(-) (limited to 'config/snort-dev/snort_rules.php') diff --git a/config/snort-dev/snort_rules.php b/config/snort-dev/snort_rules.php index bc2f481d..ae3fca62 100644 --- a/config/snort-dev/snort_rules.php +++ b/config/snort-dev/snort_rules.php @@ -577,56 +577,55 @@ function popup(url) if (strstr($tempstring, 'msg:"')) $message = get_middle($tempstring, 'msg:"', '";', 0); - echo ""; - echo ""; - echo $textss; + echo " + + $textss\n"; ?> - - onClick="enable_change(false) "> + + onClick="enable_change(false)"> "; - - - echo ""; - echo $textss; - echo $sid; - echo $textse; - echo ""; - - echo ""; - echo $textss; - echo $protocol; + echo "$textse + + + $textss + $sid + $textse + + + $textss + $protocol"; + ?> + "; - echo ""; - echo $textss; - echo $source; - echo $textse; - echo ""; - echo ""; - echo $textss; - echo $source_port; - echo $textse; - echo ""; - echo ""; - echo $textss; - echo $destination; - echo $textse; - echo ""; - echo ""; - echo $textss; - echo $destination_port; - echo $textse; - echo ""; + echo "$textse + + + $textss + $source + $textse + + + $textss + $source_port + $textse + + + $textss + $destination + $textse + + + $textss + $destination_port + $textse + "; ?> "; + echo "$textss + $message + $textse + "; ?> @@ -639,10 +638,7 @@ function popup(url)
"; + echo " There are $printcounter rules in this category.

"; ?>
-- cgit v1.2.3