lnd/tor
yyforyongyu cbd22a7c74
tor: add method Reconnect to reset connection
A new method, Reconnect, is added to tor controller which can be used to
reset the current connection. This will be later used in healthcheck to
help us reset the connection to Tor Daemon.
2021-10-11 13:11:54 +08:00
..
cmd_info_test.go tor: add GETINFO method to check liveness of onion service 2021-10-11 13:11:54 +08:00
cmd_info.go tor: add GETINFO method to check liveness of onion service 2021-10-11 13:11:54 +08:00
cmd_onion_test.go tor: remove Onion Service upon shutdown 2021-10-11 13:11:53 +08:00
cmd_onion.go tor: remove Onion Service upon shutdown 2021-10-11 13:11:53 +08:00
controller_test.go tor: add method Reconnect to reset connection 2021-10-11 13:11:54 +08:00
controller.go tor: add method Reconnect to reset connection 2021-10-11 13:11:54 +08:00
log.go tor: add logging to tor controller 2021-10-11 13:11:53 +08:00
net.go config+lnd+tor: Update naming 2021-08-01 14:28:32 +02:00
onionaddr.go Fixed typo in comment 2021-07-06 18:35:54 +09:00
README.md multi: unify code blocks in READMEs 2021-01-22 09:14:11 +01:00
tor_test.go tor: convert onion v2 addrs into fake tcp6 2020-11-30 22:42:57 +01:00
tor.go tor: rename dial to dialProxy 2021-10-11 13:11:52 +08: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