aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSteven Stallion <stallion@squareup.com>2016-07-11 14:18:54 -0500
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-07-17 20:55:11 +0100
commit800fe0b8855165d48ae227fd07657e1fa2c1b2d4 (patch)
treeb972930f1b88c967c7b731b2cf37a3e63554bea9 /doc
parent12e4a2a220de4ddca5a429432b089471ee9bc28a (diff)
downloadriscv-openocd-800fe0b8855165d48ae227fd07657e1fa2c1b2d4.zip
riscv-openocd-800fe0b8855165d48ae227fd07657e1fa2c1b2d4.tar.gz
riscv-openocd-800fe0b8855165d48ae227fd07657e1fa2c1b2d4.tar.bz2
server: support binding to arbitrary interfaces
Some installations of OpenOCD are used in restricted environments that do not permit binding to public interfaces. This patch does not affect the default behavior to listen on all interfaces, however it does give the option to restrict services by way of the bindto command. Change-Id: Id51bd64b376a8c62dd47b08b4d834872925e6af2 Signed-off-by: Steven Stallion <stallion@squareup.com> Reviewed-on: http://openocd.zylin.com/3534 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 94f1f31..1d51721 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -6731,6 +6731,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.
+@end deffn
+
@anchor{targetstatehandling}
@section Target State handling
@cindex reset