aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2018-01-13 16:22:10 +0300
committerPaul Fertser <fercerpav@gmail.com>2018-03-18 12:59:43 +0000
commit828ee07657914212f81152a768a8ec43bb73db03 (patch)
tree7c365f5e60adfc5055778cdde954762dbcb32778 /doc
parentffd6b78a2c47d1c15629dc72c71caea30ef8161a (diff)
server: bind to IPv4 localhost by default
Since OpenOCD basically allows to perform arbitrary actions on behalf of the running user, it makes sense to restrict the exposure by default. If you need network connectivity and your environment is safe enough, use "bindto 0.0.0.0" to switch to the old behaviour. Change-Id: I4a4044b90d0ecb30118cea96fc92a7bcff0924e0 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/4331 Reviewed-by: Jonathan McDowell <noodles-openocd@earth.li> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 6362b41f..73d64b3d 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -7132,9 +7132,11 @@ the initial log output channel is stderr.
Add @var{directory} to the file/script search path.
@end deffn
-@deffn Command bindto [name]
-Specify address by name on which to listen for incoming TCP/IP connections.
-By default, OpenOCD will listen on all available interfaces.
+@deffn Command bindto [@var{name}]
+Specify hostname or IPv4 address on which to listen for incoming
+TCP/IP connections. By default, OpenOCD will listen on the loopback
+interface only. If your network environment is safe, @code{bindto
+0.0.0.0} can be used to cover all available interfaces.
@end deffn
@anchor{targetstatehandling}