Transports¶
| Transport | Daemon | Protocol | Connection |
|---|---|---|---|
quic |
irohd |
QUIC (Iroh) | Direct with hole punching, otherwise through an Iroh relay |
hyperswarm |
swarmd |
Noise streams (HyperDHT) | Direct with hole punching |
auto |
both | QUIC first, then Hyperswarm |
The answer to a call reports the path: direct, relay or hyperswarm.
Addresses¶
The agent announces itself in the DHT under its topic, and stores its current Iroh addresses in a record signed with its Hyperswarm key. A caller checks that the record belongs to the attested Iroh key.
Authentication¶
Both transports encrypt, and authenticate the other side by its public key. A connection to a key that is not the attested one is refused.
Large data¶
Arguments and results above 24 KiB travel as Iroh blobs, which are transferred in verified pieces. The request then contains only the hash. Up to 64 MiB are supported.