From 6d00ab87327507c89481b00a3624834fc40954ca Mon Sep 17 00:00:00 2001 From: "Peter A. Bigot" Date: Wed, 10 Aug 2016 16:58:07 -0500 Subject: [PATCH] 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 Reviewed-on: http://openocd.zylin.com/3638 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- doc/openocd.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/openocd.texi b/doc/openocd.texi index dcb843ac..a03251a3 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} -- 2.39.5