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
Client should connect to federation via Tor #391
Comments
After some initial investigation it doesn't seems jsonrpsee has any built-in support fox socks proxies, but I made an issue to ask for sure. |
If Arti isn't ready, will we need to run Tor as a separate process and use a Tor controller like https://github.com/teawithsand/torut ? |
That won't work on iOS because everything has to run in 1 process. For iOS we'll need something like libtor to spawn tor in our process |
@justinmoon the two aren't mutually exclusive. We will need |
Just did a little research on prior art etc:
|
Turns out it's actually trivial to implement SOCKS support for I'd like to test it for our use case though before upstreaming. Local testing looks good so far though. |
What are opinions about using arti now that it is ready for production use (according to the developers)? I am in favor of starting with arti and later implementing main tor client. Just because better docs will make it easier. |
@maan2003: Does Arti implement a Tor client? Last I checked it was more focused on server side #15 (comment). |
Yes it does https://docs.rs/arti-client UPD: ah, it does not supporting hidden services. |
update: circuit switching is now supported using IsolationToken |
I think we would all prefer to use |
|
arti also has hyper connector so the integration should be similar enough. |
i want to contribute in this project , |
unassigning myself, because this is a SOB idea now. |
@justinmoon did this issue get solved? was proxy connections made possible with Jsonrpsee? I'm facing the same issue rn |
This issue was about server-server communication via Tor, which is no longer a priority, at least in the near future. The |
For the e-cash system to provide the privacy guarantees it's capable of, user clients need to connect to the federation via Tor. They also need to open a new connection for each operation. This will require multiple changes:
FederationApi
that uses Tor and maybe even bundles Tor (e.g. to run on Apple mobile devices)The text was updated successfully, but these errors were encountered: