]> git.sur5r.net Git - openocd/commit
server: bind to IPv4 localhost by default
authorPaul Fertser <fercerpav@gmail.com>
Sat, 13 Jan 2018 13:22:10 +0000 (16:22 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Sun, 18 Mar 2018 12:59:43 +0000 (12:59 +0000)
commit828ee07657914212f81152a768a8ec43bb73db03
tree7c365f5e60adfc5055778cdde954762dbcb32778
parentffd6b78a2c47d1c15629dc72c71caea30ef8161a
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
doc/openocd.texi
src/server/server.c