hydroxide icon indicating copy to clipboard operation
hydroxide copied to clipboard

Tor stream isolation support

Open 1cho1ce opened this issue 2 years ago • 1 comments

Right now if hydroxide has multiple accounts then connection to all of them will go through the same Tor circuit and it'll cause identity correlation. Using HTTPS_PROXY or torsocks won't help here and stream isolation should be implemented inside hydroxide so all new connections will use a fresh circuit, rather than possibly re-using an existing circuit. This could be implemented using this package when hydroxide is started with -tor 127.0.0.1:9050 option: https://pkg.go.dev/github.com/lightningnetwork/lnd/tor

1cho1ce avatar Nov 05 '23 18:11 1cho1ce

I don't believe plumbing Tor/proxy support to each and every program that uses TCP is a good way forward. I would recommend setting up a system-wide transparent proxy instead (TransPort in Tor config), which makes Tor work similarly to VPNs.

emersion avatar May 08 '24 09:05 emersion