5d29dea21a
In this commit, we fix an issue where connections made through Tor's SOCKS proxy would result in the remote address being the address of the proxy itself We fix this by using an internal proxyConn struct that sets the correct address at the time of the connection. |
||
---|---|---|
.. | ||
net.go | ||
onionaddr.go | ||
README.md | ||
tor.go |
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 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/tor