From 633f068a5cd54c5fe6bcbab51e5c0d5846a53d9a Mon Sep 17 00:00:00 2001 From: Ermal Date: Sun, 15 Jul 2012 21:43:43 +0000 Subject: Fix blocked page --- config/snort/snort_blocked.php | 45 ++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 21 deletions(-) (limited to 'config/snort') diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php index 1ff7972c..295b5b2d 100644 --- a/config/snort/snort_blocked.php +++ b/config/snort/snort_blocked.php @@ -196,10 +196,10 @@ if ($pconfig['brefresh'] == 'on') + + + - - - $blocked_desc) { + foreach($src_ip_list as $blocked_ip => $blocked_msg) { + $blocked_desc = "
" . implode("
", $blocked_msg); if($counter > $bnentries) break; else @@ -255,11 +258,11 @@ if ($pconfig['brefresh'] == 'on') /* use one echo to do the magic*/ echo " - + + + - - - \n"; } -- cgit v1.2.3
#IPAlert Description Remove#IPAlert Description
+  {$counter} {$blocked_ip} {$blocked_desc} \"Delete\" {$counter} {$blocked_ip} {$blocked_desc}