/tmp/snort_block.cache'); sleep(3); $ips_array = file('/tmp/snort_block.cache'); // $ips_array = split("\n", $ips); $counter = 0; foreach($ips_array as $ip) { if(!$ip) continue; $ww_ip = str_replace(" ", "", $ip); $counter++; if($associatealertip) $alert_description = get_snort_alert($ww_ip); else $alert_description = ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; if($counter < 1) echo "\n"; else echo "\n"; ?>
Remove IP Alert Description
"; echo "\n\"Delete\" {$ww_ip} {$alert_description}
 
There are currently no items being blocked by snort.
{$counter} items listed.