Skip to content

tor.streamisolation — how is it different from Tor's own stream isolation? #5783

Answered by guggero
xanoni asked this question in Q&A
Discussion options

You must be logged in to vote

I looked at the code of what lnd does with the tor.streamisolation flag and it looks like it creates a new set of credentials for each individual connection which in turn causes Tor to create a new circuit every time an address is dialed.
So this seems to create an additional layer of isolation. But looking at what IsolateDestAddr does and how "expensive" a new circuit is, it might be a good middle ground to use IsolateDestAddr instead of lnd's stream isolation. That way you could re-use an existing circuit to re-connect to a node (if it just restarts) instead of forcing a new circuit on every connection attempt.
That could lead to somewhat more stable connections, but I'm just speculatin…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@xanoni
Comment options

Answer selected by Roasbeef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants