Spring Raindrop ff5b944400
tor: fix parsing replies
Replies may contain quoted values that include spaces, newlines and/or
escaped characters (including doublequote itself). Not accounting for
that leads to errors when e. g. `COOKIEFILE` path contains spaces.
2022-08-17 03:43:06 +00:00
..
2022-08-17 03:43:06 +00:00
2022-08-17 03:43:06 +00:00
2022-03-21 20:41:33 +01:00
2022-03-21 20:41:33 +01:00
2021-10-11 13:11:53 +08:00
2021-07-06 18:35:54 +09:00
2021-01-22 09:14:11 +01:00
2021-10-11 13:11:52 +08: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