erik 789c6bac8c multi: replace ioutil.WriteFile 11 months ago
..
README.md 0b1e881d18 scripted-diff: replace ⛰ emoji with $ [skip ci] 1 year ago
cmd_info.go 5155ebc405 tor+healthcheck: fix healthcheck for multiple services 2 years ago
cmd_info_test.go 22cd790586 tor: replace defer cleanup with `t.Cleanup` 1 year ago
cmd_onion.go 789c6bac8c multi: replace ioutil.WriteFile 3 weeks ago
cmd_onion_test.go 177f365538 tor: Add option to encrypt Tor private key 1 year ago
controller.go ab83343c87 multi: repleace ioutil.ReadFile 3 weeks ago
controller_test.go 22cd790586 tor: replace defer cleanup with `t.Cleanup` 1 year ago
go.mod aa95469b1f build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /tor 7 months ago
go.sum aa95469b1f build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /tor 7 months ago
log.go 0b80d4feaa tor: add logging to tor controller 2 years ago
net.go 9ec26325b5 build: update to version of neutrino w/ BIP 155 support 2 years ago
onionaddr.go 177f365538 tor: Add option to encrypt Tor private key 1 year ago
tor.go e95720cf3a tor: short circuit host lookup if connecting to IP 11 months ago
tor_test.go 6f3c8611f4 tor: convert onion v2 addrs into fake tcp6 3 years ago

README.md

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