diff options
author | Jon Atack <jon@atack.com> | 2022-03-14 10:40:40 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-03-31 10:29:25 +0200 |
commit | 4148396229db008419f895161b6c7310a44d563b (patch) | |
tree | 15c2a43d573b10cf6654a3379e89f9afed8c2e39 /doc/tor.md | |
parent | 4690e8af1300daba276c7b426030d4c69d27d73b (diff) |
doc: update tor.md with cjdns and getnodeaddresses, fix tor grep,
and improve local addresses section
Github-Pull: bitcoin#24555
Rebased-From: 3bf6f0c
Diffstat (limited to 'doc/tor.md')
-rw-r--r-- | doc/tor.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/tor.md b/doc/tor.md index b7c4f7d425..08d031d084 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -16,9 +16,9 @@ configure Tor. ## How to see information about your Tor configuration via Bitcoin Core There are several ways to see your local onion address in Bitcoin Core: -- in the debug log (grep for "tor:" or "AddLocal") -- in the output of RPC `getnetworkinfo` in the "localaddresses" section -- in the output of the CLI `-netinfo` peer connections dashboard +- in the "Local addresses" output of CLI `-netinfo` +- in the "localaddresses" output of RPC `getnetworkinfo` +- in the debug log (grep for "AddLocal"; the Tor address ends in `.onion`) You may set the `-debug=tor` config logging option to have additional information in the debug log about your Tor configuration. @@ -27,6 +27,9 @@ CLI `-addrinfo` returns the number of addresses known to your node per network. This can be useful to see how many onion peers your node knows, e.g. for `-onlynet=onion`. +To fetch a number of onion addresses that your node knows, for example seven +addresses, use the `getnodeaddresses 7 onion` RPC. + ## 1. Run Bitcoin Core behind a Tor proxy The first step is running Bitcoin Core behind a Tor proxy. This will already anonymize all @@ -58,7 +61,7 @@ outgoing connections, but more is possible. -onlynet=onion Make automatic outbound connections only to .onion addresses. Inbound and manual connections are not affected by this option. It can be specified multiple times to allow multiple networks, - e.g. onlynet=onion, onlynet=i2p. + e.g. onlynet=onion, onlynet=i2p, onlynet=cjdns. In a typical situation, this suffices to run behind a Tor proxy: |