array("name" => "Firewall", "shortcut" => "filter"), ); // The logs to display are specified in a GET argument. Default to 'system' logs if (!$_GET['logfile']) { $logfile = 'filter'; $view = 'normal'; } else { $logfile = $_GET['logfile']; $view = $_GET['view']; if (!array_key_exists($logfile, $allowed_logs)) { /* Do not let someone attempt to load an unauthorized log. */ $logfile = 'filter'; $view = 'normal'; } } if ($view == 'normal') { $view_title = gettext("Normal View"); } if ($view == 'dynamic') { $view_title = gettext("Dynamic View"); } if ($view == 'summary') { $view_title = gettext("Summary View"); } // Log Filter Submit - Firewall log_filter_form_firewall_submit(); // Manage Log Section - Code manage_log_code(); // Status Logs Common - Code status_logs_common_code(); $pgtitle = array(gettext("Status"), gettext("System logs"), gettext($allowed_logs[$logfile]["name"]), $view_title); include("head.inc"); if (!$input_errors && $savemsg) { print_info_box($savemsg, 'success'); $manage_log_active = false; } // Tab Array tab_array_logs_common(); // Log Filter Submit - Firewall filter_form_firewall(); // Now the forms are complete we can draw the log table and its controls if ($filterlogentries_submit) { $filterlog = conv_log_filter($logfile_path, $nentries, $nentries + 100, $filterfieldsarray); } else { $filterlog = conv_log_filter($logfile_path, $nentries, $nentries + 100, $filtertext, $interfacefilter); } ?>
=gettext("Act")?> | =gettext("Time")?> | =gettext("IF")?> | =gettext("Source")?> | =gettext("Destination")?> | =gettext("Proto")?> |
---|---|---|---|---|---|
', outputrule);"> | =htmlspecialchars($filterent['time'])?> | =htmlspecialchars($filterent['interface'])?> | =$srcIP . $srcPort?> | =$dstIP . $dstPort?> | =htmlspecialchars($filterent['proto'])?> |