diff options
| author | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-11 16:03:12 -0300 |
|---|---|---|
| committer | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-11 16:03:12 -0300 |
| commit | 6092e1e7da199d6c15b9548d5d4cebcf8babfdcf (patch) | |
| tree | c5870b95d13abe80d1350f0a028f6f658b61b3ae /README.md | |
| parent | 066379ebcb1dac720221fe1a1841fa6f59df21d9 (diff) | |
net: add Tor mode for outbound discovery
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
| @@ -36,7 +36,8 @@ Worth being precise, because the difference matters if you are relying on it. | |||
| 36 | 36 | ||
| 37 | **The node still listens on 8433.** Nothing dials by IP any more, but the listener is still there, so anyone who already knows your address and can reach that port may connect directly. If that matters to you, firewall it. | 37 | **The node still listens on 8433.** Nothing dials by IP any more, but the listener is still there, so anyone who already knows your address and can reach that port may connect directly. If that matters to you, firewall it. |
| 38 | 38 | ||
| 39 | This is unlinkability between peers, not anonymity against a network observer. It is not Tor. | 39 | This is unlinkability between peers, not anonymity against a network observer. |
| 40 | For Tor routing, start the node with `-tor`; see [Tor mode](docs/tor.md). | ||
| 40 | 41 | ||
| 41 | --- | 42 | --- |
| 42 | 43 | ||
| @@ -311,6 +312,7 @@ Other options worth knowing: | |||
| 311 | -datadir=PATH # wallet and chain data elsewhere | 312 | -datadir=PATH # wallet and chain data elsewhere |
| 312 | -port=N # P2P listen port, default 8433 | 313 | -port=N # P2P listen port, default 8433 |
| 313 | -socks=HOST:PORT # SOCKS5 for outbound Nostr and .btf rendezvous dials | 314 | -socks=HOST:PORT # SOCKS5 for outbound Nostr and .btf rendezvous dials |
| 315 | -tor[=HOST:PORT] # Tor mode; default local Tor SOCKS5 proxy is 127.0.0.1:9050 | ||
| 314 | -debug # verbose log; without it debug.log is nearly silent | 316 | -debug # verbose log; without it debug.log is nearly silent |
| 315 | -help # full list | 317 | -help # full list |
| 316 | ``` | 318 | ``` |
| @@ -324,6 +326,11 @@ dials through a local SOCKS5 proxy such as Tor. When it is set, the node skips | |||
| 324 | plain HTTP external-IP probes instead of leaking a direct request outside the | 326 | plain HTTP external-IP probes instead of leaking a direct request outside the |
| 325 | proxy. IPv6 proxy endpoints use brackets, for example `-socks=[::1]:9050`. | 327 | proxy. IPv6 proxy endpoints use brackets, for example `-socks=[::1]:9050`. |
| 326 | 328 | ||
| 329 | `-tor` is a privacy shorthand for the usual local Tor SOCKS5 listener at | ||
| 330 | `127.0.0.1:9050`. It routes outbound Nostr discovery and `.btf` rendezvous | ||
| 331 | dials through Tor, refuses direct `.onion` resolution, and keeps external-IP | ||
| 332 | probes disabled. Use `-tor=HOST:PORT` when Tor listens somewhere else. | ||
| 333 | |||
| 327 | ### When something looks wrong | 334 | ### When something looks wrong |
| 328 | 335 | ||
| 329 | **Menu > Diagnostics**, and the same report in `debug.log` every ten minutes: | 336 | **Menu > Diagnostics**, and the same report in `debug.log` every ten minutes: |