3 ms·
Thanks for the response. This statement confuses me a bit. What is a relay? Does traffic go through it at all, or is it for connection negotiation, or some o
by binarymax 1y ago
Thanks for the response. This statement confuses me a bit. What is a relay? Does traffic go through it at all, or is it for connection negotiation, or some of both?
- 4gotunameagain 1y agoYour questions are answered in TFA, including multiple links to documentation about the process. https://www.iroh.computer/docs/concepts/relay https://www.iroh.computer/docs/concepts/relay \ https://crates.io/crates/iroh https://crates.io/crates/iroh
- b_fiive 1y agosibling comment with links to docs is the more accurate, but to summarize, it's some of both: * all connections are always e2ee (even when traffic flows through a relay) * relays are both for connection negotiation, and as a fallback when a direct connection isn't possible * initial packet is always sent through the relay to keep a fast time-to-first-byte, while a direct connection is negotiated in parallel. typical connections send a few hundred bytes over the relay & the rest of the connection lifetime is direct
- kiitos 1y agotl;dr: resolving ids to destinations requires a third party relay
- dignifiedquire 1y agorelays _can_ be used to resolve IDs, but so can mDNS, an email or any other form of third party channel
- kiitos 1y agothe use case here is somebody opens a web browser and types/pastes an ID into the top bar -- and it needs to resolve, correctly, without prior knowledge, in roughly the same amount of time that DNS takes today relays are the only thing among the things you listed that even have a chance of solving this problem