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

Add an option to always use relays #2957

Open
link2xt opened this issue Nov 21, 2024 · 4 comments
Open

Add an option to always use relays #2957

link2xt opened this issue Nov 21, 2024 · 4 comments

Comments

@link2xt
Copy link
Contributor

link2xt commented Nov 21, 2024

Together with #2901 it should be possible to establish all connections via proxy and not reveal the IP address even if communicating to unknown relays.

Some users may want to use P2P features of the app (calls, webxdc realtime) but never reveal the IP address.

@zh522130
Copy link
Contributor

Together with #2901 it should be possible to establish all connections via proxy and not reveal the IP address even if communicating to unknown relays.

Some users may want to use P2P features of the app (calls, webxdc realtime) but never reveal the IP address.

I also need this feature. I've found that direct connections between different network operators sometimes have higher latency than using a relay.

@ramfox ramfox moved this to 📋 Backlog in iroh Nov 27, 2024
@link2xt
Copy link
Contributor Author

link2xt commented Feb 4, 2025

Changelog for 0.31.0 mentions "relay-only mode for testing", is this somehow related?

Seems to be this PR: #3056

@flub
Copy link
Contributor

flub commented Feb 5, 2025

We still haven't implemented this with privacy in mind, while you can have all data go through the relay server I can't guarantee that you'll never send an IP address to the peer. And even if that happens to be so, it might break in the future, given this is a debugging tool for now it is not unreasonable that it would behave like a real case where holepunching does not work, in which case initiating holepunching should be happening still.

@flub
Copy link
Contributor

flub commented Feb 5, 2025

The context for #3056 was to push a lot of data through the relay path of the magic socket so that we could improve how it behaves and increase throughput/performance of it. And continuously test for regressions of that performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants