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(); // Manage Log - Section/Form if ($system_logs_manage_log_form_hidden) { manage_log_section(); } // Log Filter Submit - Firewall $rawfilter = false; filter_form_firewall(); // Now the forms are complete we can draw the log table and its controls system_log_filter(); ?>
=gettext("Action")?> | =gettext("Time")?> | =gettext("Interface")?> | =gettext("Source")?> | =gettext("Destination")?> | =gettext("Protocol")?> |
---|---|---|---|---|---|
', outputrule);"> | =htmlspecialchars($filterent['time'])?> | =htmlspecialchars($filterent['interface'])?> | =$srcIP . $srcPort?> | =$dstIP . $dstPort?> | =htmlspecialchars($filterent['proto'])?> | '; print_info_box(gettext('No logs to display')); print ' | '; } ?>