core-lightning/common/test
Rusty Russell 5a0bc83b20 Tor: don't do seed queries if we're supposed to always use proxy.
Risks leakage.  We could do lookup via the proxy, but that's a TODO.

There's only one occurance of getaddrinfo (and no gethostbyname), so
we add a flag to the callers.

Note: the use of --always-use-proxy suppresses *all* DNS lookups, even
those from connect commands and the command line.

FIXME: An implicit setting of use_proxy_always is done in gossipd if it
determines that we are announcing nothing but Tor addresses, but that
does *not* suppress 'connect'.

This is fixed in a later patch.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-05-10 02:28:44 +00:00
..
Makefile common/test: add spec tests for bolt11. 2017-11-24 13:22:18 +01:00
run-bolt11.c Force the use of the POSIX C locale for all commands and their subprocesses 2018-04-27 14:02:59 +02:00
run-ip_port_parsing.c Tor: don't do seed queries if we're supposed to always use proxy. 2018-05-10 02:28:44 +00:00
run-json.c Force the use of the POSIX C locale for all commands and their subprocesses 2018-04-27 14:02:59 +02:00
run-sphinx.c Force the use of the POSIX C locale for all commands and their subprocesses 2018-04-27 14:02:59 +02:00