Iroh 1.0 - Dial Keys, not IPs

76 points by mhm


lalitm

Since there's a lot of confusion both here and on HN about how Iroh is different to mesh networks layered on VPNs (Tailscale, ZeroTier, Netbird etc.), this is my interpretation: Iroh is aimed at application developers who want to communicate P2P between machines running their app while mesh networks are aimed at network admins who want to connect devices they own/manage together.

Imagine I'm developing an P2P messaging app where, on one side the user is on a mobile device which constantly roams between WiFi/mobile data (so doesn't have a stable address), and the other side is a laptop sitting behind a NAT and a CGNAT. If I want to get these folks to talk to each even while the IP addresses change, I need some mechanism to deal with this. Historically this would have been done via an intermediary server owned by the app developer which both the endpoints talk to so they can share state. Iroh tries to instead standardise this and offer it as a service.

twp

Maybe I missed something, but hanging everything off a single key sounds incredibly dangerous. What happens if that key is lost or compromised?

I did a quick search for "key rotation" in the Iroh docs, but didn't find anything.