diff --git a/src/www/diag_arp.php b/src/www/diag_arp.php index 06fcdc92a..0a323481f 100644 --- a/src/www/diag_arp.php +++ b/src/www/diag_arp.php @@ -253,7 +253,7 @@ function _getHostName($mac,$ip) { exec("host -W 1 " . escapeshellarg($ip), $output); if (preg_match('/.*pointer ([A-Za-z0-9.-]+)\..*/',$output[0],$matches)) { if ($matches[1] <> $ip) - return $matches[1]; + return $matches[1]; } } return ""; @@ -266,7 +266,7 @@ include("head.inc"); ?> - + - +
- +
- +
-
- +
+
- +
@@ -358,7 +358,7 @@ $mac_man = load_mac_manufacturer_table();
- + @@ -371,21 +371,21 @@ $mac_man = load_mac_manufacturer_table(); - + - +
.
- +
- +
- +
- +
- - \ No newline at end of file + + diff --git a/src/www/diag_authentication.php b/src/www/diag_authentication.php index 6ecbc9e90..9b796fdb2 100644 --- a/src/www/diag_authentication.php +++ b/src/www/diag_authentication.php @@ -81,25 +81,25 @@ include("head.inc");
-
+
- + - +
-
- +
+
-

Test a server

-
- +

Test a server

+ +
- - - - - + + + + + + + + + + + + + +
+ + + + - - - - - - - - - - - - - - -
 " />
- - +
 " />
+ +
- +
- +
- +
- \ No newline at end of file + diff --git a/src/www/diag_backup.php b/src/www/diag_backup.php index 93e801e73..f11c4aaf2 100644 --- a/src/www/diag_backup.php +++ b/src/www/diag_backup.php @@ -630,46 +630,46 @@ function backuparea_change(obj) {
-
+
- + - +
- - - - +
- -
- -
+ +
+ +
-
- +
+
-

Backup configuration

-
- -
-
- - - - - - - - + + +



- +

Backup configuration

+ + +
+
+ +
+ + + + + + - - -



+
@@ -715,40 +715,40 @@ function backuparea_change(obj) {
- + " /> - - -
- - - - - - - -
-
- + + +
+
+ +
+ +
+
+ +
+
+
-

-
- -
-
- - - - + + +

+

+ + +
+
+ + + + - - - + + - - -



- +
+

@@ -780,36 +780,36 @@ function backuparea_change(obj) {

" />



- - -
-
- -
- - - + + +
+
+ +
+ +
+
-
- +
+
-

-
- -
-
- - - - + + +
- +

+ + +
+
+ + + + - - -
+



" /> @@ -820,26 +820,26 @@ function backuparea_change(obj) {



" /> -

- -
-
- -
- - - - - - - - - +

+ +
+
+ +
+ +
+
+ + +
+
+ +
+ -
diff --git a/src/www/diag_confbak.php b/src/www/diag_confbak.php index b6be101f7..3fbc88233 100644 --- a/src/www/diag_confbak.php +++ b/src/www/diag_confbak.php @@ -117,13 +117,13 @@ include("head.inc"); if($savemsg) print_info_box($savemsg); ?> - +
-
+
- +
- + - -
- -
- -
- +
+ +
+ +
+ +
-

-
- -
- -
- +

+ + +
+ +
+
-
-
+
+
- - - + + +
-
- +
+
-

-
- -
- - : +

+ + +
+ + :

:
: -
" /> - -
+
" /> + +
- + - +
-
- +
+
-

Config history

-
- -
- -
- - - - - - - - - -
" />
- -
- -
-
-
+

Config history

+ + +
+ +
+ + + + + + + + + +
" />
+ +
+ +
+
+
- - + +
- +
- - + + - - + + @@ -304,36 +304,36 @@ include("head.inc"); - + - + - +
"> " > ">
- +
" /> -
- -
-
+
+ +
+
- - - -
- -
-
- - - + + + +
+ + +
+ + + @@ -341,4 +341,4 @@ include("head.inc"); - \ No newline at end of file + diff --git a/src/www/diag_defaults.php b/src/www/diag_defaults.php index e739a57ab..3c8f8d8c9 100755 --- a/src/www/diag_defaults.php +++ b/src/www/diag_defaults.php @@ -47,7 +47,7 @@ include("head.inc"); ?> - + @@ -79,16 +79,16 @@ include("head.inc");
  • ''
  • - - + +
    " />


    - + - + @@ -96,4 +96,4 @@ include("head.inc"); - \ No newline at end of file + diff --git a/src/www/diag_dns.php b/src/www/diag_dns.php index cb90fe7e7..64370361e 100644 --- a/src/www/diag_dns.php +++ b/src/www/diag_dns.php @@ -63,21 +63,21 @@ if(isset($_POST['create_alias']) && (is_hostname($host) || is_ipaddr($host))) { $isfirst = true; foreach($resolved as $re) { if($re <> "") { - if(!$isfirst) + if(!$isfirst) $addresses .= " "; $addresses .= rtrim($re) . "/32"; $isfirst = false; } } $newalias = array(); - if($override) + if($override) $alias_exists = false; if($alias_exists == false) { $newalias['name'] = $aliasname; $newalias['type'] = "network"; $newalias['address'] = $addresses; $newalias['descr'] = "Created from Diagnostics-> DNS Lookup"; - if($override) + if($override) $a_aliases[$id] = $newalias; else $a_aliases[] = $newalias; @@ -94,7 +94,7 @@ if ($_POST) { $reqdfieldsn = explode(",", "Host"); do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); - + if (!is_hostname($host) && !is_ipaddr($host)) { $input_errors[] = gettext("Host must be a valid hostname or IP address."); } else { @@ -172,31 +172,31 @@ include("head.inc"); ?>
    -
    +
    - -
    + +
    -
    - +
    + - +

    - +
    -
    - - - - - - - + + +
    - + + + + + + + - + - - - - - - - - + + + + + + - - - -
    + "") { echo $hostitem . "
    "; @@ -204,38 +204,38 @@ include("head.inc"); ?> } } } else { - echo $resolved; - } + echo $resolved; + } ?> -
    - 0): ?> + + 0): ?> An alias already exists for the hostname .
    - + Alias created with name
    - - - - - - - + + + + + + + + - - - - - -
    + + + + + + + -
    @@ -245,14 +245,14 @@ include("head.inc"); ?>
    -

    +
    +



    @@ -260,21 +260,21 @@ include("head.inc"); ?>

    - -
    - - " /> -
    +
    - +
    + + " /> +
    +
    +
    - +
    - +
    -
    \ No newline at end of file + diff --git a/src/www/diag_dump_states.php b/src/www/diag_dump_states.php index 93620bb81..b25d9cc8c 100755 --- a/src/www/diag_dump_states.php +++ b/src/www/diag_dump_states.php @@ -119,11 +119,11 @@ include("head.inc");
    -
    +
    - +
    - + - +
    - - + + - + - - - - - - + + + + + - - - -
    : " /> +
    : " /> " /> - -
    - - + + + + + + + + - -
    - -
    - -
    - + +
    + +
    + +
    +
    - +
    @@ -209,7 +209,7 @@ include("head.inc");
    - + = 10000) break; - + $line_split = preg_split("/\s+/", $line); - + $iface = array_shift($line_split); $proto = array_shift($line_split); $state = array_pop($line_split); $info = implode(" ", $line_split); - + // We may want to make this optional, with a large state table, this could get to be expensive. $iface = convert_real_interface_to_friendly_descr($iface); - + /* break up info and extract $srcip and $dstip */ $ends = preg_split("/\?/", $info); $parts = explode(":", $ends[0]); $srcip = trim($parts[0]); $parts = explode(":", $ends[count($ends) - 1]); $dstip = trim($parts[0]); - + ?> @@ -244,15 +244,15 @@ include("head.inc"); - - + + @@ -262,18 +262,18 @@ include("head.inc"); - - - + + +

    :

    - +
    - -
    -
    + +
    +
    @@ -281,4 +281,4 @@ include("head.inc");
    - \ No newline at end of file + diff --git a/src/www/diag_dump_states_sources.php b/src/www/diag_dump_states_sources.php index a30cb8d55..1029e7d9a 100644 --- a/src/www/diag_dump_states_sources.php +++ b/src/www/diag_dump_states_sources.php @@ -28,7 +28,7 @@ */ /* - pfSense_BUILDER_BINARIES: /sbin/pfctl + pfSense_BUILDER_BINARIES: /sbin/pfctl pfSense_MODULE: filter */ diff --git a/src/www/diag_edit.php b/src/www/diag_edit.php index 8e9af2146..e4555ebb5 100644 --- a/src/www/diag_edit.php +++ b/src/www/diag_edit.php @@ -1,4 +1,4 @@ - - \ No newline at end of file + diff --git a/src/www/diag_exec.php b/src/www/diag_exec.php index b68178fab..19a437472 100644 --- a/src/www/diag_exec.php +++ b/src/www/diag_exec.php @@ -1,4 +1,4 @@ - - \ No newline at end of file + diff --git a/src/www/diag_gmirror.php b/src/www/diag_gmirror.php index 09f43d9ab..228f2c2e1 100644 --- a/src/www/diag_gmirror.php +++ b/src/www/diag_gmirror.php @@ -105,7 +105,7 @@ if ($_POST) { $input_errors[] = gettext("Consumer is already present on specified mirror."); if (!gmirror_consumer_has_metadata($_POST['consumer'])) $input_errors[] = gettext("Consumer has no metadata and cannot be reactivated."); - + break; case "remove": case "deactivate": @@ -166,35 +166,35 @@ foreach ($unused_disks as $disk) {
    - -
    + +
    - -
    - -
    - -
    -

    + +

    + + + +
    +


     

    -
    - -
    - + + +
    +
    @@ -222,11 +222,11 @@ foreach ($unused_disks as $disk) { - +
    - + 0): ?> @@ -235,7 +235,7 @@ foreach ($unused_disks as $disk) { - $name): + $name): $components = count($name["components"]); ?> - + - + -
    @@ -285,15 +285,15 @@ foreach ($unused_disks as $disk) {
    - + 0): ?> @@ -344,7 +344,7 @@ foreach ($unused_disks as $disk) {
    - + @@ -358,4 +358,3 @@ echo ""; ?> - diff --git a/src/www/diag_halt.php b/src/www/diag_halt.php index a93d54640..8d18f19e4 100644 --- a/src/www/diag_halt.php +++ b/src/www/diag_halt.php @@ -1,4 +1,4 @@ - - \ No newline at end of file + diff --git a/src/www/diag_ipsec.php b/src/www/diag_ipsec.php index 65eea0221..4c3e6ab63 100644 --- a/src/www/diag_ipsec.php +++ b/src/www/diag_ipsec.php @@ -84,19 +84,19 @@ $status = ipsec_smp_dump_status();
    -
    +
    - + - +
    - - - -
    - + + + +
    +
    - +
    @@ -119,7 +119,7 @@ $status = ipsec_smp_dump_status(); foreach ($status['query']['ikesalist']['ikesa'] as $ikeid => $ikesa) { $con_id = substr($ikesa['peerconfig'], 3); $ipsecconnected[$con_id] = $con_id; - + if (ipsec_phase1_status($status['query']['ikesalist']['ikesa'], $ikesa['id'])) { $icon = "pass"; } elseif(!isset($config['ipsec']['enable'])) { @@ -170,7 +170,7 @@ $status = ipsec_smp_dump_status(); else $identity = htmlspecialchars($ikesa['remote']['identification']); } - + if (is_array($ikesa['remote']['auth']) && !empty($ikesa['remote']['auth'][0]['identity'])) { echo htmlspecialchars($ikesa['remote']['auth'][0]['identity']); echo "
    {$identity}"; @@ -200,7 +200,7 @@ $status = ipsec_smp_dump_status(); IKEv
    - +
    @@ -300,7 +300,7 @@ $status = ipsec_smp_dump_status(); echo "Rekey: " . htmlspecialchars($childsa['rekey']); echo "
    Life: " . htmlspecialchars($childsa['lifetime']); echo "
    Install: " .htmlspecialchars($childsa['installtime']); - + ?>
    @@ -348,12 +348,12 @@ $status = ipsec_smp_dump_status();
    - +

    @@ -440,16 +440,16 @@ $status = ipsec_smp_dump_status(); here.

    -
    - - + + + - - + + - \ No newline at end of file + diff --git a/src/www/diag_ipsec_leases.php b/src/www/diag_ipsec_leases.php index f74c5e887..9be63855c 100644 --- a/src/www/diag_ipsec_leases.php +++ b/src/www/diag_ipsec_leases.php @@ -54,21 +54,21 @@ $mobile = ipsec_dump_mobile();
    -
    +
    - + - +
    - - - -
    -
    - + + + +
    +
    +
    - - + + @@ -110,16 +110,16 @@ $mobile = ipsec_dump_mobile();

    - +


    - + - \ No newline at end of file + diff --git a/src/www/diag_ipsec_sad.php b/src/www/diag_ipsec_sad.php index 08abe0b69..580a49d20 100644 --- a/src/www/diag_ipsec_sad.php +++ b/src/www/diag_ipsec_sad.php @@ -56,19 +56,19 @@ $sad = ipsec_dump_sad();
    -
    +
    - + - +
    - - - -
    - + + + +
    +
    - +
    @@ -102,17 +102,17 @@ $sad = ipsec_dump_sad();
    - +
    - +


    - +
    - -
    + +
    @@ -120,4 +120,4 @@ $sad = ipsec_dump_sad();
    - \ No newline at end of file + diff --git a/src/www/diag_ipsec_spd.php b/src/www/diag_ipsec_spd.php index 4a02ea1a7..7f479a4d5 100644 --- a/src/www/diag_ipsec_spd.php +++ b/src/www/diag_ipsec_spd.php @@ -55,20 +55,20 @@ $spd = ipsec_dump_spd();
    -
    +
    - + - +
    - - - -
    - - + + + +
    + +
    - + @@ -120,13 +120,13 @@ $spd = ipsec_dump_spd();
    - +


    -
    +
    diff --git a/src/www/diag_ipsec_tabs.php b/src/www/diag_ipsec_tabs.php index 75a75458b..daa898213 100644 --- a/src/www/diag_ipsec_tabs.php +++ b/src/www/diag_ipsec_tabs.php @@ -31,4 +31,4 @@ $tab_array[3] = array(gettext("SPD"), $_SERVER['PHP_SELF'] == '/diag_ipsec_spd.php', "diag_ipsec_spd.php"); $tab_array[4] = array(gettext("Logs"), $_SERVER['PHP_SELF'] == '/diag_logs_ipsec.php', "diag_logs_ipsec.php"); display_top_tabs($tab_array); -?> \ No newline at end of file +?> diff --git a/src/www/diag_limiter_info.php b/src/www/diag_limiter_info.php index 7fec74fb6..7b1834383 100644 --- a/src/www/diag_limiter_info.php +++ b/src/www/diag_limiter_info.php @@ -46,7 +46,7 @@ $shortcut_section = "trafficshaper-limiters"; if($_REQUEST['getactivity']) { $text = `/sbin/ipfw pipe show`; - if($text == "") + if($text == "") $text = "We could not find any limiters on this system."; echo "Limiters:\n"; echo $text; @@ -95,12 +95,12 @@ include("head.inc"); if($savemsg) { echo "
    "; print_info_box($savemsg); - echo "
    "; + echo "
    "; } if ($input_errors) print_input_errors($input_errors); ?> - +
    @@ -110,4 +110,4 @@ include("head.inc");
    - \ No newline at end of file + diff --git a/src/www/diag_logs.php b/src/www/diag_logs.php index eb303089d..0058497c7 100755 --- a/src/www/diag_logs.php +++ b/src/www/diag_logs.php @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: system */ @@ -47,7 +47,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($system_logfile); if ($_GET['filtertext']) @@ -69,51 +69,51 @@ include("head.inc");
    -
    +
    - + - +
    - - - -
    -
    - - + + + +
    +
    + + -
    - +
    +
    - - + -
    +
    - +
    - +
    " />
    - +
    - - " /> + + " />
    - +
    - +
    -
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_auth.php b/src/www/diag_logs_auth.php index f29476b47..71cd27e36 100644 --- a/src/www/diag_logs_auth.php +++ b/src/www/diag_logs_auth.php @@ -27,7 +27,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: captiveportal */ @@ -46,7 +46,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($portal_logfile); $pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Portal Auth")); @@ -60,32 +60,32 @@ include("head.inc");
    -
    +
    - - - -
    - - - - -
    -
    - -

    + + +
    + + + + + +
    +
    + +

      
    - +
    " />
    - -
    -
    + +
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_dhcp.php b/src/www/diag_logs_dhcp.php index c6b830acc..b356b88bc 100644 --- a/src/www/diag_logs_dhcp.php +++ b/src/www/diag_logs_dhcp.php @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: dhcpserver */ @@ -63,32 +63,32 @@ include("head.inc");
    -
    +
    - - - -
    - - - - -
    -
    - -

    + + +
    + + + + + +
    +
    + +

     
    - +
    " />

    NOTE: Clearing the log file will restart the DHCP daemon.

    -
    -
    +
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_filter.php b/src/www/diag_logs_filter.php index 398a96c30..12790f278 100644 --- a/src/www/diag_logs_filter.php +++ b/src/www/diag_logs_filter.php @@ -29,7 +29,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: filter */ @@ -47,12 +47,12 @@ require_once("filter_log.inc"); if (isset($_POST['resolve'])) { $ip = strtolower($_POST['resolve']); $res = (is_ipaddr($ip) ? gethostbyaddr($ip) : ''); - + if ($res && $res != $ip) $response = array('resolve_ip' => $ip, 'resolve_text' => $res); else $response = array('resolve_ip' => $ip, 'resolve_text' => gettext("Cannot resolve")); - + echo json_encode(str_replace("\\","\\\\", $response)); // single escape chars can break JSON decode exit; } @@ -130,79 +130,79 @@ include("head.inc");
    -
    +
    - + - +
    - - - -
    -
    - - + + + +
    +
    + + - +
    -
    "> - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - + + + + + + + - - - - - - - -
    ActionTime and interfaceSource and destination IP AddressSource and destination portProtocolProtocol
    -
    ActionTime and interfaceSource and destination IP AddressSource and destination portProtocolProtocol
    +
    -
    + " />
    + + + + + " /> + + +
    - +
    -
    +
    - - - - -
    - -
    -
    - + + +
    + +
    +
    +
    - - - +
    + + @@ -335,10 +335,10 @@ include("head.inc"); Direction=OUT - ".find_rule_by_number_buffer($filterent['rulenum'],$filterent['act']).""); - + $int = strtolower($filterent['interface']); $proto = strtolower($filterent['proto']); if($filterent['version'] == '6') { @@ -348,7 +348,7 @@ include("head.inc"); } else { $ipproto = "inet"; } - + $srcstr = $filterent['srcip'] . get_port_with_service($filterent['srcport'], $proto); $src_htmlclass = str_replace(array('.', ':'), '-', $filterent['srcip']); $dststr = $filterent['dstip'] . get_port_with_service($filterent['dstport'], $proto); @@ -378,7 +378,7 @@ include("head.inc"); @@ -392,24 +392,24 @@ include("head.inc"); dump_clog($filter_logfile, $nentries); ?> - +
    " class="listtopic"> @@ -322,7 +322,7 @@ include("head.inc"); if ($config['syslog']['filterdescriptions']) buffer_rules_load(); $rowIndex = 0; - foreach ($filterlog as $filterent): + foreach ($filterlog as $filterent): $evenRowClass = $rowIndex % 2 ? " listMReven" : " listMRodd"; $rowIndex++;?>
    - - + +
    " />
    - +

    TCP Flags: F - FIN, S - SYN, A or . - ACK, R - RST, P - PSH, U - URG, E - ECE, W - CWR

    - - + +
    -
    +
    @@ -438,12 +438,12 @@ function resolve_ip_callback(transport) { var response = jQuery.parseJSON(transport.responseText); var resolve_class = htmlspecialchars(response.resolve_ip.replace(/[.:]/g, '-')); var resolve_text = '
    ' + htmlspecialchars(response.resolve_text) + '<\/small>'; - + jQuery('span.RESOLVE-' + resolve_class).html(resolve_text); jQuery('img.ICON-' + resolve_class).removeAttr('title'); jQuery('img.ICON-' + resolve_class).removeAttr('alt'); jQuery('img.ICON-' + resolve_class).attr('src', '/themes//images/icons/icon_log_d.gif'); - jQuery('img.ICON-' + resolve_class).prop('onclick', null); + jQuery('img.ICON-' + resolve_class).prop('onclick', null); // jQuery cautions that "removeAttr('onclick')" fails in some versions of IE } @@ -453,5 +453,5 @@ function htmlspecialchars(str) { } //]]> - - \ No newline at end of file + + diff --git a/src/www/diag_logs_filter_dynamic.php b/src/www/diag_logs_filter_dynamic.php index 73d51dcd1..8c987273f 100755 --- a/src/www/diag_logs_filter_dynamic.php +++ b/src/www/diag_logs_filter_dynamic.php @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: filter */ @@ -50,7 +50,7 @@ $nentries = 50; /* AJAX related routines */ handle_ajax($nentries, $nentries + 20); -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($filter_logfile); $filterlog = conv_log_filter($filter_logfile, $nentries, $nentries + 100); @@ -92,25 +92,25 @@ include("head.inc");
    -
    +
    - + - +
    - - - -
    -
    - - + + + +
    +
    + +
    - +
    @@ -152,12 +152,12 @@ include("head.inc");
    @@ -134,7 +134,7 @@ include("head.inc"); $rowIndex++;?>
    - ', outputrule);" title=""> + ', outputrule);" title="">
    - +

    : F - FIN, S - SYN, A or . - ACK, R - RST, P - PSH, U - URG, E - ECE, C - CWR

    -
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_filter_summary.php b/src/www/diag_logs_filter_summary.php index 684adde66..c2f4c2a7b 100644 --- a/src/www/diag_logs_filter_summary.php +++ b/src/www/diag_logs_filter_summary.php @@ -26,8 +26,8 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* - pfSense_BUILDER_BINARIES: +/* + pfSense_BUILDER_BINARIES: pfSense_MODULE: filter */ @@ -183,21 +183,21 @@ include("head.inc"); ?>
    -
    +
    - + - +
    - - - -
    -
    - - + + + +
    +
    + + - +


    @@ -211,10 +211,10 @@ include("head.inc"); ?> } ?> -
    +
    - + diff --git a/src/www/diag_logs_gateways.php b/src/www/diag_logs_gateways.php index 553fb3459..d444312c9 100755 --- a/src/www/diag_logs_gateways.php +++ b/src/www/diag_logs_gateways.php @@ -29,7 +29,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: system */ @@ -48,7 +48,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($system_logfile); if ($_GET['filtertext']) @@ -71,50 +71,50 @@ include("head.inc");
    -
    +
    - + - +
    - - - -
    - -
    - + + + +
    + +
    + - +
    - - + +
    - - + -
    +
    - -
    + +
    " /> -
    +
    - - " /> + + " />
    - +
    -
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_ipsec.php b/src/www/diag_logs_ipsec.php index 7e4b2433d..91901b5c8 100644 --- a/src/www/diag_logs_ipsec.php +++ b/src/www/diag_logs_ipsec.php @@ -28,8 +28,8 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* - pfSense_BUILDER_BINARIES: /sbin/ifconfig /usr/bin/awk +/* + pfSense_BUILDER_BINARIES: /sbin/ifconfig /usr/bin/awk pfSense_MODULE: ipsec */ @@ -49,7 +49,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($ipsec_logfile); $ipsec_logarr = return_clog($ipsec_logfile, $nentries); @@ -65,25 +65,25 @@ include("head.inc");
    -
    +
    - - - -
    - - - - -
    -
    - -

    - + + +
    + + + + + +
    +
    + +

    +
    - - + \n"; } ?> -
    +
    - +
    " />
    - -
    -
    + +
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_ntpd.php b/src/www/diag_logs_ntpd.php index 5d28558e6..bb702c484 100644 --- a/src/www/diag_logs_ntpd.php +++ b/src/www/diag_logs_ntpd.php @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: ntpd */ @@ -47,7 +47,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($ntpd_logfile); $pgtitle = array(gettext("Status"),gettext("System logs"),gettext("NTP")); @@ -61,37 +61,37 @@ include("head.inc");
    -
    +
    - - - -
    - - - - -
    -
    - -

    - + + +
    + + + + + +
    +
    + +

    +
    - - -
    + + +
    - +
    " />
    - -
    -
    + +
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_openvpn.php b/src/www/diag_logs_openvpn.php index 513a813c6..bf41e6109 100644 --- a/src/www/diag_logs_openvpn.php +++ b/src/www/diag_logs_openvpn.php @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: openvpn */ @@ -51,7 +51,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($openvpn_logfile); include("head.inc"); @@ -63,37 +63,37 @@ include("head.inc");
    -
    +
    - - - -
    - - - - -
    -
    - -

    - + + +
    + + + + + +
    +
    + +

    +
    - - -
    + + +
    - +
    " />
    - -
    -
    + +
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_pills.php b/src/www/diag_logs_pills.php index 3284fdacf..f5b483bbe 100644 --- a/src/www/diag_logs_pills.php +++ b/src/www/diag_logs_pills.php @@ -24,9 +24,9 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - -$tab_group = isset($tab_group) ? $tab_group : 'system'; -$tab_array = array(); + +$tab_group = isset($tab_group) ? $tab_group : 'system'; +$tab_array = array(); if ($tab_group == 'vpn') { @@ -48,15 +48,15 @@ if ($tab_group == 'vpn') { $tab_array[] = array(gettext("L2TP Raw"), (($vpntype == "l2tp") && ($mode == "raw")), "/diag_logs_vpn.php?vpntype=l2tp&mode=raw"); - + } else if ($tab_group == 'firewall') { - + $tab_array[] = array(gettext("Normal View"), true, "/diag_logs_filter.php"); $tab_array[] = array(gettext("Dynamic View"), false, "/diag_logs_filter_dynamic.php"); $tab_array[] = array(gettext("Summary View"), false, "/diag_logs_filter_summary.php"); - + } else { @@ -71,4 +71,4 @@ else { \ No newline at end of file + diff --git a/src/www/diag_logs_ppp.php b/src/www/diag_logs_ppp.php index 3cf2e31b0..232b3c3d3 100644 --- a/src/www/diag_logs_ppp.php +++ b/src/www/diag_logs_ppp.php @@ -28,8 +28,8 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* - pfSense_BUILDER_BINARIES: /sbin/ifconfig /usr/bin/awk +/* + pfSense_BUILDER_BINARIES: /sbin/ifconfig /usr/bin/awk pfSense_MODULE: */ @@ -48,7 +48,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($ppp_logfile); $pgtitle = array(gettext("Status"),gettext("System logs"),gettext("PPP")); @@ -61,37 +61,37 @@ include("head.inc");
    -
    +
    - - - -
    - - - - -
    -
    - -

    - + + +
    + + + + + +
    +
    + +

    +
    - - -
    + + +
    - +
    " />
    - -
    -
    + +
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_relayd.php b/src/www/diag_logs_relayd.php index 249250732..2c17c08b1 100644 --- a/src/www/diag_logs_relayd.php +++ b/src/www/diag_logs_relayd.php @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: routing */ @@ -47,7 +47,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($relayd_logfile); $pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Load Balancer")); @@ -62,37 +62,37 @@ include("head.inc");
    -
    +
    - - - -
    - - - - -
    -
    - -

    - + + +
    + + + + + +
    +
    + +

    +
    - - -
    + + +
    - +
    " />
    - -
    -
    + +
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_resolver.php b/src/www/diag_logs_resolver.php index cb5b9cb2c..af925feac 100755 --- a/src/www/diag_logs_resolver.php +++ b/src/www/diag_logs_resolver.php @@ -29,7 +29,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: system */ @@ -48,7 +48,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($system_logfile); if ($_GET['filtertext']) @@ -71,48 +71,48 @@ include("head.inc");
    -
    +
    - + - +
    - - - -
    -
    - - + + + +
    +
    + + -
    - +
    +
    - - + -
    +
    - -
    + +
    " />
    - +
    " />
    - +
    -
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_routing.php b/src/www/diag_logs_routing.php index 43aad092e..a5edc3b1e 100644 --- a/src/www/diag_logs_routing.php +++ b/src/www/diag_logs_routing.php @@ -27,7 +27,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: routing */ @@ -46,7 +46,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($routing_logfile); $pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Routing")); @@ -60,37 +60,37 @@ include("head.inc");
    -
    +
    - + - +
    - - - -
    -
    - - + + + +
    +
    + + -
    - +
    +
    - - -
    + + +
    " />
    - +
    -
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_settings.php b/src/www/diag_logs_settings.php index 0b2026c04..90f26cc14 100644 --- a/src/www/diag_logs_settings.php +++ b/src/www/diag_logs_settings.php @@ -255,26 +255,26 @@ function check_everything() {
    -
    +
    - + - -
    - - - -
    -
    - - - + +
    + + + +
    +
    + + +
    - - + +
    - +
    diff --git a/src/www/diag_logs_tabs.php b/src/www/diag_logs_tabs.php index e1f60f454..b7337b09b 100644 --- a/src/www/diag_logs_tabs.php +++ b/src/www/diag_logs_tabs.php @@ -38,4 +38,4 @@ $tab_array[] = array(gettext("NTP"), $active_tab == "/diag_logs_ntpd.php", "diag_logs_ntpd.php"); $tab_array[] = array(gettext("Settings"), $active_tab == "/diag_logs_settings.php", "diag_logs_settings.php"); display_top_tabs($tab_array); -?> \ No newline at end of file +?> diff --git a/src/www/diag_logs_vpn.php b/src/www/diag_logs_vpn.php index 9448f6209..c1be4bdac 100755 --- a/src/www/diag_logs_vpn.php +++ b/src/www/diag_logs_vpn.php @@ -27,7 +27,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_BUILDER_BINARIES: /usr/sbin/fifolog_reader /usr/local/sbin/clog pfSense_MODULE: vpn */ @@ -86,10 +86,10 @@ function dump_clog_vpn($logfile, $tail) { $sor = isset($config['syslog']['reverse']) ? "-r" : ""; $logarr = ""; - - if(isset($config['system']['usefifolog'])) + + if(isset($config['system']['usefifolog'])) exec("/usr/sbin/fifolog_reader " . escapeshellarg($logfile) . " | tail {$sor} -n " . $tail, $logarr); - else + else exec("/usr/local/sbin/clog " . escapeshellarg($logfile) . " | tail {$sor} -n " . $tail, $logarr); foreach ($logarr as $logent) { @@ -122,25 +122,25 @@ include("head.inc");
    -
    +
    - + - +
    - - - -
    -
    - - + + + +
    +
    + + - - + +
    -
    - +
    + @@ -148,24 +148,24 @@ include("head.inc"); - -
    +
    - + " />
    - - + +
    -
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_logs_wireless.php b/src/www/diag_logs_wireless.php index e9fadf1ac..b77abd910 100644 --- a/src/www/diag_logs_wireless.php +++ b/src/www/diag_logs_wireless.php @@ -29,7 +29,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_MODULE: routing */ @@ -48,7 +48,7 @@ $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; -if ($_POST['clear']) +if ($_POST['clear']) clear_log_file($wireless_logfile); $pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Wireless")); @@ -62,38 +62,38 @@ include("head.inc");
    -
    +
    - + - +
    - - - -
    -
    - - + + + +
    +
    + + - - + +
    - - -
    + + +
    - +
    " />
    - - + +
    -
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_nanobsd.php b/src/www/diag_nanobsd.php index 4f2f10124..2085855c3 100644 --- a/src/www/diag_nanobsd.php +++ b/src/www/diag_nanobsd.php @@ -26,7 +26,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* +/* pfSense_BUILDER_BINARIES: /sbin/mount /sbin/glabel /usr/bin/grep /usr/bin/cut /usr/bin/head /bin/cp pfSense_BUILDER_BINARIES: /usr/sbin/boot0cfg /bin/mkdir /sbin/fsck_ufs /sbin/mount /bin/dd /sbin/tunefs pfSense_MODULE: nanobsd @@ -66,10 +66,10 @@ nanobsd_detect_slice_info(); $NANOBSD_SIZE = nanobsd_get_size(); if($_POST['bootslice']) { - $statusmsg = gettext("Setting slice information, please wait..."); + $statusmsg = gettext("Setting slice information, please wait..."); echo << - +
    + $statusmsg

     

    @@ -84,7 +84,7 @@ EOF; if($_POST['destslice']) { $statusmsg = gettext("Duplicating slice. Please wait, this will take a moment..."); echo << +
    $statusmsg

      @@ -143,7 +143,7 @@ if ($savemsg) - + @@ -162,7 +162,7 @@ if ($savemsg)   - + @@ -236,7 +236,7 @@ if ($savemsg)   - + @@ -264,7 +264,7 @@ if ($savemsg)   - +

    @@ -279,6 +279,6 @@ if ($savemsg) // Clear the loading indicator echo ""; +echo ""; ?> diff --git a/src/www/diag_ndp.php b/src/www/diag_ndp.php index 35e26bd64..cea6eabf5 100644 --- a/src/www/diag_ndp.php +++ b/src/www/diag_ndp.php @@ -56,8 +56,8 @@ foreach ($ifdescrs as $key =>$interface) { $hwif[$config['interfaces'][$key]['if']] = $interface; } -/* Array ( [0] => Neighbor [1] => Linklayer [2] => Address -[3] => Netif [4] => Expire [5] => S +/* Array ( [0] => Neighbor [1] => Linklayer [2] => Address +[3] => Netif [4] => Expire [5] => S [6] => Flags ) */ $data = array(); array_shift($rawdata); @@ -73,7 +73,7 @@ foreach ($rawdata as $line) { /* FIXME: Not ipv6 compatible dns resolving. PHP needs fixing */ function _getHostName($mac,$ip) -{ +{ if(is_ipaddr($ip)) { list($ip, $scope) = explode("%", $ip); if(gethostbyaddr($ip) <> "" and gethostbyaddr($ip) <> $ip) @@ -93,7 +93,7 @@ foreach ($data as &$entry) { else $entry['dnsresolve'] = "Z_ "; } - + // Sort the data alpha first $data = msort($data, "dnsresolve"); @@ -120,14 +120,14 @@ ob_implicit_flush(1);
    - +
    - +
    -
    - +
    +
    - +
    @@ -171,7 +171,7 @@ ob_implicit_flush(1);
    - + @@ -191,7 +191,7 @@ ob_implicit_flush(1); ?> - - +
    - +
    - +
    - +
    - - \ No newline at end of file + + diff --git a/src/www/diag_packet_capture.php b/src/www/diag_packet_capture.php index ec018c8b3..80b8e1b43 100644 --- a/src/www/diag_packet_capture.php +++ b/src/www/diag_packet_capture.php @@ -130,7 +130,7 @@ if ($_POST) { if ($proto !== "" && !in_array(strip_not($proto), $protos)) { $input_errors[] = gettext("Invalid protocol."); } - + if ($host != "") { $host_string = str_replace(array(" ", "|", ","), array("", "#|", "#+"), $host); if (strpos($host_string, '#') === false) { @@ -229,27 +229,27 @@ include("fbegin.inc"); ?>
    -
    +
    - +
    -
    - +
    + - +

    - +
    - - - - - +
    - + + + + - - - - + + + - - - - + + + + - - - - + + + - - - - + + + + - - - - + + + + - - - - + + + - - - - + + + + - - - - - + + + + + - - - - - - - - + + + + + + + + + - - -
    +

    - /> -

    +

    + /> +


    :

    -
    -
    +

    -
    +

    -
    - +
    +



    -
    - - +
    + +

    - +
    +

    -
    - +
    +

    " . gettext("Enter 0 (zero) for no count limit.");?>

    -
    -
    +
    - /> -

    -
    :

    -
    + /> +

    +
    :

    +
       "; else { @@ -383,16 +383,16 @@ include("fbegin.inc"); ?>
    + +
    - - - + + + - +
    -
    +

    @@ -484,20 +484,20 @@ if (!empty($title)): ?> break; } system("/usr/sbin/tcpdump {$disabledns} {$detail_args} -r {$fp}{$fn}"); - + conf_mount_ro(); ?> -
    - +
    +
    -
    - + + - + diff --git a/src/www/diag_patterns.php b/src/www/diag_patterns.php index e99cc4e38..19705d21f 100644 --- a/src/www/diag_patterns.php +++ b/src/www/diag_patterns.php @@ -71,19 +71,19 @@ include("head.inc");
    - -
    + +
    - -
    - -
    - - " . $ulmsg . "

    \n"; ?> - -
    - + +
    + + + + " . $ulmsg . "

    \n"; ?> + +
    +
    @@ -100,12 +100,12 @@ include("head.inc");
    -
    +
    -
    +
    - - \ No newline at end of file + + diff --git a/src/www/diag_pf_info.php b/src/www/diag_pf_info.php index a4776227e..ac7fedfcd 100644 --- a/src/www/diag_pf_info.php +++ b/src/www/diag_pf_info.php @@ -84,13 +84,13 @@ jQuery(document).ready(function() {setTimeout('getpfinfo()', 5000);});
    - - + + "; print_info_box($savemsg); - echo "
    "; + echo "
    "; } if ($input_errors) print_input_errors($input_errors); @@ -99,11 +99,11 @@ jQuery(document).ready(function() {setTimeout('getpfinfo()', 5000);});
    - + - \ No newline at end of file + diff --git a/src/www/diag_ping.php b/src/www/diag_ping.php index f63b2caa9..175894aae 100644 --- a/src/www/diag_ping.php +++ b/src/www/diag_ping.php @@ -85,38 +85,38 @@ include("head.inc"); ?>
    -
    +
    - +
    - + -
    - +
    +

    - +
    - - - - - - - - - + + + + + +
    + + + + + + + + - - - - + + + - - - - + + + - - - - - - -
     " />
    +
     " />
    - +
    - +
    -
    - +
    +

    - +
    -
    -		
    +						
    +
     
     								if (is_linklocal($host) && !strstr($host, "%") && !empty($ifscope))
     									$host .= "%{$ifscope}";
     							}
    -					
    +
     							$cmd = "{$command} {$srcip} -c" . escapeshellarg($count) . " " . escapeshellarg($host);
     							//echo "Ping command: {$cmd}\n";
     							system($cmd);
    @@ -198,8 +198,8 @@ include("head.inc"); ?>
     				
    -
    +
    - \ No newline at end of file + diff --git a/src/www/diag_pkglogs.php b/src/www/diag_pkglogs.php index 46a696638..31f461237 100755 --- a/src/www/diag_pkglogs.php +++ b/src/www/diag_pkglogs.php @@ -38,7 +38,7 @@ */ /* - pfSense_BUILDER_BINARIES: /usr/bin/netstat + pfSense_BUILDER_BINARIES: /usr/bin/netstat pfSense_MODULE: pkgs */ @@ -54,7 +54,7 @@ require("pkg-utils.inc"); if(!($nentries = $config['syslog']['nentries'])) $nentries = 50; -//if ($_POST['clear']) +//if ($_POST['clear']) // clear_log_file($logfile); $i = 0; @@ -87,48 +87,48 @@ include("head.inc"); - +
    -
    +
    - + - +
    - - - -
    - - -
    - - - + +
    + + +
    + +
    + -
    -
    + +
    @@ -138,4 +138,4 @@ include("head.inc");
    - \ No newline at end of file + diff --git a/src/www/diag_reboot.php b/src/www/diag_reboot.php index bb9231acb..b24a9bc8f 100644 --- a/src/www/diag_reboot.php +++ b/src/www/diag_reboot.php @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/www/diag_resetstate.php b/src/www/diag_resetstate.php index 353ecb1d6..15b2494ba 100644 --- a/src/www/diag_resetstate.php +++ b/src/www/diag_resetstate.php @@ -66,16 +66,16 @@ include("head.inc"); ?> - +
    -
    +
    - +
    - + - +
    - -
    - -
    - - + +
    + +
    + + - - + +
    - - + +


    @@ -114,7 +114,7 @@ include("head.inc");

    - +

    @@ -128,10 +128,10 @@ include("head.inc");

    " /> - - + +
    - +
    @@ -140,4 +140,4 @@ include("head.inc");
    - \ No newline at end of file + diff --git a/src/www/diag_routes.php b/src/www/diag_routes.php index 36e96f61b..29b104374 100644 --- a/src/www/diag_routes.php +++ b/src/www/diag_routes.php @@ -30,7 +30,7 @@ */ /* - pfSense_BUILDER_BINARIES: /usr/bin/netstat + pfSense_BUILDER_BINARIES: /usr/bin/netstat pfSense_MODULE: routing */ ##|+PRIV @@ -90,7 +90,7 @@ include('head.inc'); if (section == "IPv6") params += "&IPv6=true"; var myAjax = $.ajax( - + { url:url, type: 'post', @@ -161,34 +161,34 @@ include('head.inc');
    -
    +
    - +
    - + -
    - +
    +

    - +
    - - - - - + + +
    />  -

    + + + + + - - - - + + + - - - - - - - - + + + + + + + - - -
    />  +

    - -

    -
      - " /> +
    + +

    +
      + " />

    -
    +
    - +
    -
    +
    + +
    -
    -

    IPv4

    - + @@ -236,16 +236,16 @@ include('head.inc');
    - -
    -
    - +
    + +
    +

    IPv6

    - + @@ -259,4 +259,4 @@ include('head.inc'); \ No newline at end of file +?> diff --git a/src/www/diag_smart.php b/src/www/diag_smart.php index 370cd6bc7..b6602442c 100644 --- a/src/www/diag_smart.php +++ b/src/www/diag_smart.php @@ -27,15 +27,15 @@ include("head.inc"); -
    -
    +
    - +
    - +
    - +

    - +
    -
    - - - -
    - + + + + + - + + +
    + -
    -
    @@ -311,32 +311,32 @@ switch($action) { - - + +
    - +
    - +

    - +
    - - - - -
    -
    - + + + + + - + + + +
    +
    + - -
    -
    @@ -365,29 +365,29 @@ switch($action) { - +
    - +
    - +

    - +
    - - - - - - +
    -
    - - -
    -
    + + + + +
    +
    + + +
    +
    @@ -415,21 +415,21 @@ switch($action) { - - + +
    - +
    - +

    - +
    - - +
    +
    @@ -478,4 +478,4 @@ if(isset($_POST['submit']) && $_POST['submit'] != "Save") - \ No newline at end of file + diff --git a/src/www/diag_sockets.php b/src/www/diag_sockets.php index 722ba91ae..f444efc1e 100644 --- a/src/www/diag_sockets.php +++ b/src/www/diag_sockets.php @@ -30,7 +30,7 @@ */ /* - pfSense_BUILDER_BINARIES: /usr/bin/sockstat + pfSense_BUILDER_BINARIES: /usr/bin/sockstat */ ##|+PRIV ##|*IDENT=page-diagnostics-sockets @@ -56,19 +56,19 @@ $showAllOption = $showAll ? "" : "?showAll"; ?>
    -
    +
    - +
    - +

    Information about listening sockets for both IPv4 and IPv6.

    For explanation about the meaning of the information listed for each socket click here.


    To show information about both listening and connected sockets click this.

    - +
    - - + + - -
    -
    - +
    + +
    +

    - + $line) { @@ -99,7 +99,7 @@ $showAllOption = $showAll ? "" : "?showAll"; $class = 'listhdrr'; else $class = 'listlr'; - + if (trim($line) == "") continue; print("\n"); @@ -108,41 +108,41 @@ $showAllOption = $showAll ? "" : "?showAll"; if ($entry == '' || $entry == "ADDRESS") continue; if ($i == 0) print("\n"); - else + else print("\n"); if ($i > 0) $class = 'listr'; $j++; } - print("\n"); + print("\n"); }?>
    $entry$entry
    -
    +
    -
    +
    + +
    -
    -

    Socket information explanation

    - +

    This page show the output for the commands: "sockstat -4lL" and "sockstat -6lL".
    Or in case of showing all sockets the output for: "sockstat -4" and "sockstat -6".

    The information listed for each socket is:

    - + - + @@ -155,4 +155,4 @@ The information listed for each socket is:

    - \ No newline at end of file + diff --git a/src/www/diag_states_summary.php b/src/www/diag_states_summary.php index c8bc7a57a..eb2d8e774 100644 --- a/src/www/diag_states_summary.php +++ b/src/www/diag_states_summary.php @@ -145,13 +145,13 @@ function build_port_info($portarr, $proto) { function print_summary_table($label, $iparr, $sort = TRUE) { ?>
    -
    +

    - +
    - +
    USER The user who owns the socket.
    COMMAND The command which holds the socket.
    PID The process ID of the command which holds the socket.
    FD The file descriptor number of the socket.
    FD The file descriptor number of the socket.
    PROTO The transport protocol associated with the socket for Internet sockets, or the type of socket (stream or data-gram) for UNIX sockets.
    ADDRESS (UNIX sockets only) For bound sockets, this is the file-name of the socket.
    For other sockets, it is the name, PID and file descriptor number of the peer, or ``(none)'' if the socket is neither bound nor connected.
    LOCAL ADDRESS (Internet sockets only) The address the local end of the socket is bound to (see getsockname(2)).
    @@ -183,7 +183,7 @@ function print_summary_table($label, $iparr, $sort = TRUE) { ?> - +
    @@ -198,11 +198,11 @@ echo ""; include("fbegin.inc"); ?>
    -
    +
    - - - + + +
    - \ No newline at end of file + diff --git a/src/www/diag_system_activity.php b/src/www/diag_system_activity.php index c02c2062d..8cc9dac7e 100644 --- a/src/www/diag_system_activity.php +++ b/src/www/diag_system_activity.php @@ -80,16 +80,16 @@ include("head.inc");
    -
    +
    - +
    - + "; print_info_box($savemsg); - echo "
    "; + echo "
    "; } if ($input_errors) print_input_errors($input_errors); @@ -97,12 +97,12 @@ include("head.inc");
    -
    +
    - +
    - \ No newline at end of file + diff --git a/src/www/diag_system_pftop.php b/src/www/diag_system_pftop.php index 1001deaf2..778956d36 100644 --- a/src/www/diag_system_pftop.php +++ b/src/www/diag_system_pftop.php @@ -116,13 +116,13 @@ if($_REQUEST['sorttype'] && in_array($_REQUEST['sorttype'], $sorttypes)
    -
    +
    - - - + + +
    - + @@ -172,26 +172,26 @@ if($_REQUEST['sorttype'] && in_array($_REQUEST['sorttype'], $sorttypes)
    - +
    - - - - "; print_info_box($savemsg); - echo "
    "; + echo "
    "; } if ($input_errors) print_input_errors($input_errors); ?> - -
    - - + +
    + +
    - + @@ -216,4 +216,4 @@ jQuery("#viewtype").change(function() { - \ No newline at end of file + diff --git a/src/www/diag_tables.php b/src/www/diag_tables.php index b59e41c85..159eeee02 100644 --- a/src/www/diag_tables.php +++ b/src/www/diag_tables.php @@ -117,15 +117,15 @@ include("head.inc");
    -
    +
    -
    +
    - + - - + + @@ -170,7 +170,7 @@ include("head.inc"); else echo "
    " . gettext("No entries exist in this table."); ?> - + 0) if( ($tablename == "bogons") || ($tablename == "bogonsv6") ) { @@ -184,13 +184,13 @@ include("head.inc");
    - +
    - + - + - + diff --git a/src/www/diag_testport.php b/src/www/diag_testport.php index 9caea9fc8..f6aacfa7e 100644 --- a/src/www/diag_testport.php +++ b/src/www/diag_testport.php @@ -106,52 +106,52 @@ include("head.inc"); ?>
    -
    +
    - +
    - +




    - + -
    - +
    +

    - +
    - - - - - - - - - - - - - + + + + + +
    -

    + + + + + + + + + + + + + - - - - + + + - - - - + + + - - - - + + + - - - - - - -
    +

    /> -

    +
    /> +

    -
    +

    it will result in an error. For example if you force IPv4 and use a hostname that only returns an AAAA IPv6 IP address, it will not work."); ?>

     " />
    +
     " />
    - +
    - - - + + +
    -
    - +
    +

    - +
    -
    -		
    +						
    +
     
     				
    -
    +
    - \ No newline at end of file + diff --git a/src/www/diag_traceroute.php b/src/www/diag_traceroute.php index dd3024856..5ac600c93 100644 --- a/src/www/diag_traceroute.php +++ b/src/www/diag_traceroute.php @@ -95,38 +95,38 @@ if (!isset($do_traceroute)) {
    -
    +
    - +
    - + -
    - +
    +

    - +
    - - - - - - - - - + + + + + + + + + + + + + +
    + + + + + + + + - - - - + + + - - - - + + + - - - - - - - - - - - - - - -
    />
    />
     " />
    - -
    -

    +

    />
    />
     " />
    + +
    +



    -

    -
    - +

    +
    +
    - +
    - +
    -
    - +
    +

    - +
    -
    -		
    +						
    +
     
     			
    -
    +
    - \ No newline at end of file +