Category: "; //string for populating category select $currentruleset = substr($file, 27); ?> "; $textse = ""; $iconb = "icon_block_d.gif"; } else { $textss = $textse = ""; $iconb = "icon_block.gif"; } $rule_content = explode(' ', $tempstring); $protocol = $rule_content[$counter2];//protocol location $counter2++; $source = $rule_content[$counter2];//source location $counter2++; $source_port = $rule_content[$counter2];//source port location $counter2 = $counter2+2; $destination = $rule_content[$counter2];//destination location $counter2++; $destination_port = $rule_content[$counter2];//destination port location $message = get_middle($tempstring, 'msg:"', '";', 0); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; ?>
"; ?>
  SID Proto Source Port Destination Port Message
"; echo $textss; ?> "; echo ""; echo $textss; echo $sid; echo $textse; echo ""; echo $textss; echo $protocol; $printcounter++; echo $textse; echo ""; echo $textss; echo $source; echo $textse; echo ""; echo $textss; echo $source_port; echo $textse; echo ""; echo $textss; echo $destination; echo $textse; echo ""; echo $textss; echo $destination_port; echo $textse; echo " "; ?>
Rule Enabled
Rule Disabled