From 3de5c81b8c8ea9c4357b70f5aed33b8a6aad8e68 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Tue, 14 May 2013 18:53:23 -0400 Subject: Add table layout style to fix word-wrapping in long cells. --- config/snort/snort_rules.php | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'config/snort') diff --git a/config/snort/snort_rules.php b/config/snort/snort_rules.php index cbb1fe50..f737bc1d 100755 --- a/config/snort/snort_rules.php +++ b/config/snort/snort_rules.php @@ -431,18 +431,17 @@ h += 96; - - +
- - - + + + - + - + - - - - - "; ?> -- cgit v1.2.3
   @@ -482,39 +481,39 @@ h += 96; $tmp = trim(preg_replace('/^\s*#+\s*/', '', $tmp)); $rule_content = preg_split('/[\s]+/', $tmp); - $protocol = truncate($rule_content[1], 5); //protocol location - $source = truncate($rule_content[2], 13); //source location - $source_port = truncate($rule_content[3], 12); //source port location - $destination = truncate($rule_content[5], 13); //destination location - $destination_port = truncate($rule_content[6], 12); //destination port location + $protocol = truncate($rule_content[1], 6); //protocol location + $source = truncate($rule_content[2], 14); //source location + $source_port = truncate($rule_content[3], 10); //source port location + $destination = truncate($rule_content[5], 14); //destination location + $destination_port = truncate($rule_content[6], 10); //destination port location $message = snort_get_msg($v['rule']); - echo "
$textss + echo "
$textss $textse + $textss $sid $textse + $textss $protocol $textse $textss $source $textse + $textss $source_port $textse $textss $destination $textse + $textss $destination_port $textse + $textss $message $textse