Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple simultaneous circuits #33

Open
sneurlax opened this issue Feb 25, 2024 · 3 comments
Open

Multiple simultaneous circuits #33

sneurlax opened this issue Feb 25, 2024 · 3 comments

Comments

@sneurlax
Copy link
Collaborator

Hi @icota, I have been wondering about using this plugin to use multiple connections/routes simultaneously. Do you think this is feasible?

An example use case would be for multi-coin wallets which would want to connect to multiple different backend servers with their own independent Tor connections.

If this isn’t currently possible I’d be happy to help contribute towards achieving that functionality.

Thanks for reading!

@icota
Copy link
Collaborator

icota commented Feb 25, 2024

@sneurlax I think this is necessary for more than just for your multiple backend use-case. For instance, one could, to improve Tor reliability, keep multiple routes/connections, check their health periodically and access (stateless) services only through the healthy ones.

But to get there we only need to get rid of the singleton pattern? In that case the user of the plugin has freedom to do above.

At first glance seems pretty simple. LMK if it's not :)

@sneurlax
Copy link
Collaborator Author

OK, I'll try to it sometime :) it's just at the level of personal project for now, so we'll see what after-hours hacking gets us!

@sneurlax
Copy link
Collaborator Author

sneurlax commented Oct 4, 2024

Looking into this, Stream Isolation should be used https://tpo.pages.torproject.net/core/doc/rust/arti_client/index.html#more-advanced-usage

@sneurlax sneurlax changed the title Multiple simultaneous Tor connections/routes Multiple simultaneous circuits Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants