2018-04-25 19:00:50 +03:00
|
|
|
tor
|
|
|
|
===
|
|
|
|
|
|
|
|
The tor package contains utility functions that allow for interacting with the
|
2018-04-26 09:44:12 +03:00
|
|
|
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 authentication only as a sane default.
|
|
|
|
* Creating v2 onion services.
|
|
|
|
|
|
|
|
In the future, the Tor Control functionality will be extended to support v3
|
|
|
|
onion services, asynchronous messages, etc.
|
2018-04-25 19:00:50 +03:00
|
|
|
|
|
|
|
## Installation and Updating
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ go get -u github.com/lightningnetwork/lnd/tor
|
|
|
|
```
|