Note:
This page lists hosts that have been blocked by Snort. Hosts are automatically deleted every $blocked_msg.

"; }else{ echo "Note:
This page lists hosts that have been blocked by Snort. Snort package settings are set to never remove hosts.

"; } ?> all blocked hosts.

/tmp/snort_block.cache'); sleep(1); $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.

$blocked_msg."; }else{ echo "This page lists hosts that have been blocked by Snort. Snort package settings are set to never remove hosts."; } ?>