lnd/tor
positiveblue 09d21345e1
multi: bump Go version
Bump all build go versions to v1.21.0
Bump the minimum build package version to v1.19.0

Debian "buster" is not longer supported. Security updates have been
discontinued since June 30th 2022. We will build using the latest
version, "bookworm".
2023-09-05 10:11:42 -07:00
..
cmd_info_test.go tor: replace defer cleanup with t.Cleanup 2022-10-13 17:47:04 +08:00
cmd_info.go tor+healthcheck: fix healthcheck for multiple services 2021-11-23 09:53:36 +01:00
cmd_onion_test.go tor: Add option to encrypt Tor private key 2022-09-06 15:14:08 -05:00
cmd_onion.go tor: Add option to encrypt Tor private key 2022-09-06 15:14:08 -05:00
controller_test.go tor: replace defer cleanup with t.Cleanup 2022-10-13 17:47:04 +08:00
controller.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
go.mod multi: bump Go version 2023-09-05 10:11:42 -07:00
go.sum multi: bump Go version 2023-09-05 10:11:42 -07:00
log.go tor: add logging to tor controller 2021-10-11 13:11:53 +08:00
net.go build: update to version of neutrino w/ BIP 155 support 2022-05-03 15:48:37 -07:00
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: convert onion v2 addrs into fake tcp6 2020-11-30 22:42:57 +01:00
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