Files
lnd/tor
Boris Nagaev 66c7e72c0d tor: fix go vet error in Go 1.24
non-constant format string in call to (*net/textproto.Conn).Cmd
2025-08-30 14:13:44 -03:00
..
2024-04-25 11:23:31 +02:00
2025-08-30 14:13:44 -03:00
2025-08-07 16:53:45 +02:00
2025-07-16 01:19:58 -03:00
2024-10-26 14:18:32 +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