mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
2eb9059cf7
In this commit, we extend the TorDial function and add a new attribute to the TorProxyNet struct to allow the caller to opt for stream isolation or not. Using stream isolation, we ensure that each new connection uses a distinct circuit. |
||
---|---|---|
.. | ||
interface.go | ||
net.go | ||
README.md | ||
torsvc.go |
torsvc
The torsvc 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 and routing DNS queries over Tor (A, AAAA, SRV). In the future more features will be added: automatic setup of v2 hidden service functionality, control port functionality, and handling manually setup v3 hidden services.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/torsvc