lnd.xprv/tor
2021-01-22 09:14:11 +01:00
..
add_onion_test.go
add_onion.go tor+server: add OnionStore to AddOnionConfig with file-based impl 2020-03-06 17:44:29 -08:00
controller_test.go
controller.go
net.go
onionaddr.go
README.md multi: unify code blocks in READMEs 2021-01-22 09:14:11 +01:00
tor_test.go
tor.go

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