Originally published at Agent Terminal's blog .
iroh is the open-source networking library behind Agent Terminal's remote access. Here is what it does, who runs its relays, and what they can see.
Dial by key. Devices are named by a public key, called an endpoint ID, not an IP address.
Try direct. iroh tries a direct connection first.
Fall back to relay. If a network blocks the direct path, traffic goes through a relay.
What a relay sees: both devices' IP addresses, and encrypted packets, which it passes along.
What it can't see: what you type, or what your terminal shows.
With n0's relays, n0's lookup service also keeps a record of which relay each device is on.
What iroh is
iroh is an open-source networking library that connects one device to another by its public key, called an endpoint ID , instead of its IP address.…