lnd/tor
2024-10-26 14:18:32 +02:00
..
cmd_info_test.go tor: replace defer cleanup with t.Cleanup 2022-10-13 17:47:04 +08:00
cmd_info.go
cmd_onion_test.go tor: Add option to encrypt Tor private key 2022-09-06 15:14:08 -05:00
cmd_onion.go multi: replace ioutil.WriteFile 2024-04-25 11:23:31 +02:00
controller_test.go tor: replace defer cleanup with t.Cleanup 2022-10-13 17:47:04 +08:00
controller.go multi: prevent nil panics in stop methods. 2024-07-31 14:43:34 +02:00
go.mod tor: update btclog dep 2024-10-26 14:18:32 +02:00
go.sum tor: update btclog dep 2024-10-26 14:18:32 +02:00
log.go tor: update btclog dep 2024-10-26 14:18:32 +02:00
net.go
onionaddr.go tor: Add option to encrypt Tor private key 2022-09-06 15:14:08 -05:00
README.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
tor_test.go
tor.go tor: short circuit host lookup if connecting to IP 2023-06-22 09:43:22 +02:00

tor

The tor package contains utility functions that allow for interacting with the Tor daemon. So far, supported functions include:

  • Routing all traffic over Tor's exposed SOCKS5 proxy.
  • Routing DNS queries over Tor (A, AAAA, SRV).
  • Limited Tor Control functionality (synchronous messages only). So far, this includes:
    • Support for SAFECOOKIE, HASHEDPASSWORD, and NULL authentication methods.
    • Creating v2 and v3 onion services.

In the future, the Tor Control functionality will be extended to support v3 onion services, asynchronous messages, etc.

Installation and Updating

$  go get -u github.com/lightningnetwork/lnd/tor