summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-08-22 15:34:35 -0400
committerjim-p <jimp@pfsense.org>2016-08-22 15:35:18 -0400
commit1121b4a7bd75c871344187322f445c957c72ee1e (patch)
tree10370f4e6dd7a57ce647969b246b75a8333b4381 /src/usr
parent2b7902fe0a6d0a4a6f5e664b6e99454ed001eedd (diff)
downloadpfsense-1121b4a7bd75c871344187322f445c957c72ee1e.zip
pfsense-1121b4a7bd75c871344187322f445c957c72ee1e.tar.gz
Clean up the text on diag_sockets.php. Fixes #6708
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/diag_sockets.php26
1 files changed, 12 insertions, 14 deletions
diff --git a/src/usr/local/www/diag_sockets.php b/src/usr/local/www/diag_sockets.php
index bc4d0d5..b962674 100644
--- a/src/usr/local/www/diag_sockets.php
+++ b/src/usr/local/www/diag_sockets.php
@@ -104,20 +104,18 @@ $showAllOption = $showAll ? "" : "?showAll";
<div>
<div class="infoblock">
<?php
-print_info_box(gettext('Socket information - explanation.') . '<br /><br />' .
-gettext('This page shows the output for the commands: "sockstat -4lL" and "sockstat -6lL".' . '<br />' .
- 'Or in case of showing all sockets the output for: "sockstat -4" and "sockstat -6".' . '<br />' . '<br />' .
-'The information listed for each socket is:' . '<br /><br />' .
-' <dl class="dl-horizontal responsive">' .
- '<dt>USER</dt> <dd>The user who owns the socket.</dd>' .
- '<dt>COMMAND</dt> <dd>The command which holds the socket.</dd>' .
- '<dt>PID</dt> <dd>The process ID of the command which holds the socket.</dd>' .
- '<dt>FD</dt> <dd>The file descriptor number of the socket.</dd>' .
- '<dt>PROTO</dt> <dd>The transport protocol associated with the socket for Internet sockets, or the type of socket (stream or data-gram) for UNIX sockets.</dd>' .
- '<dt>ADDRESS</dt> <dd>(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.</dd>' .
- '<dt>LOCAL ADDRESS</dt> <dd>(Internet sockets only) The address the local end of the socket is bound to (see getsockname(2)).</dd>' .
- '<dt>FOREIGN ADDRESS</dt><dd>(Internet sockets only) The address the foreign end of the socket is bound to (see getpeername(2)).</dd>' .
- '</dl>'), 'info', false);
+print_info_box(gettext('Socket Information') . '<br /><br />' .
+gettext('This page shows all listening sockets by default, and shows both listening and outbound connection sockets when <strong>Show all socket connections</strong> is clicked.<br /><br />' .
+ 'The information listed for each socket is:' . '<br /><br />' .
+ '<dl class="dl-horizontal responsive">' .
+ '<dt>USER</dt> <dd>The user who owns the socket.</dd>' .
+ '<dt>COMMAND</dt> <dd>The command which holds the socket.</dd>' .
+ '<dt>PID</dt> <dd>The process ID of the command which holds the socket.</dd>' .
+ '<dt>FD</dt> <dd>The file descriptor number of the socket.</dd>' .
+ '<dt>PROTO</dt> <dd>The transport protocol associated with the socket.</dd>' .
+ '<dt>LOCAL ADDRESS</dt> <dd>The address the local end of the socket is bound to.</dd>' .
+ '<dt>FOREIGN ADDRESS</dt> <dd>The address the foreign end of the socket is bound to.</dd>' .
+ '</dl>'), 'info', false);
?>
</div>
</div>
OpenPOWER on IntegriCloud