aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2016-08-10 16:58:07 -0500
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-08-14 02:01:14 +0100
commit6d00ab87327507c89481b00a3624834fc40954ca (patch)
tree31d9b35149b57f8b180b2fe150f22820135477de /doc
parent9c5529786aa46594fff0fcb63bc3b04a6e35f188 (diff)
downloadriscv-openocd-6d00ab87327507c89481b00a3624834fc40954ca.zip
riscv-openocd-6d00ab87327507c89481b00a3624834fc40954ca.tar.gz
riscv-openocd-6d00ab87327507c89481b00a3624834fc40954ca.tar.bz2
doc: correct and standardize instructions for disabling TCP servers
The instructions to set the port to zero to disable a service has not worked for several years: the effect of doing so is to start the service on a port randomly selected by the bind(2) system call. Update the documentation to reflect the new standard way of disabling network services. Change-Id: Ic5315a80f9956ea195f63e05d30d604a980bbc8f Signed-off-by: Peter A. Bigot <pab@pabigot.com> Reviewed-on: http://openocd.zylin.com/3638 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index dcb843a..a03251a 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2097,7 +2097,7 @@ only during configuration (before those ports are opened).
For reasons including security, you may wish to prevent remote
access using one or more of these ports.
-In such cases, just specify the relevant port number as zero.
+In such cases, just specify the relevant port number as "disabled".
If you disable all access through TCP/IP, you will need to
use the command line @option{-pipe} option.
@@ -2140,7 +2140,7 @@ output from the Tcl engine.
Intended as a machine interface.
When not specified during the configuration stage,
the port @var{number} defaults to 6666.
-
+When specified as "disabled", this service is not activated.
@end deffn
@deffn {Command} telnet_port [number]
@@ -2149,7 +2149,7 @@ port on which to listen for incoming telnet connections.
This port is intended for interaction with one human through TCL commands.
When not specified during the configuration stage,
the port @var{number} defaults to 4444.
-When specified as zero, this port is not activated.
+When specified as "disabled", this service is not activated.
@end deffn
@anchor{gdbconfiguration}