mrkeyoor.comAsk

n0-computer/irohtested 05 Oct 2026commit b4c8fc6

iroh review

Iroh is worth evaluating for Rust applications that need public-key dialing with direct connections and relay fallback.

  • Build failed
  • Tests failed
13 sto install
  • 459 packages
Dev Toolsevaluationupdated 26 Oct 2026
+37stars / 7d

Iroh is a networking library with an API for dialing peers by public key. Its README describes QUIC connections, hole-punching for direct connectivity, and public relay fallback when hole-punching fails. Rust is the documented starting point; other languages use the separate iroh-ffi project.

Verdict

Iroh is worth evaluating for Rust applications that need public-key dialing with direct connections and relay fallback. Our October 5, 2026 run at b4c8fc6 downloaded dependencies but stopped at a linker error before producing a successful build or test-case results. That limits this review to the documented design, setup observations, and attributed issue reports. Confirm the toolchain first, then test direct paths, relay fallback, and recovery on the networks your application must support.

We ran it

Lab card: what happened when we ran iroh
Lab card from our sandbox run
Screenshot of iroh (iroh.computer)
iroh.computer
Install✓ · 13s459 packages
Build✗ · 3s
Tests✗ · 2sran, no count parsed
Repo238 files~58,549 lines of source · 3 MB · 16 CI workflows

Answers from our run

Does iroh build from source?

Dependencies installed in 13 seconds (459 packages), and the build failed. We cloned commit b4c8fc6 into a clean Debian container with 3 CPUs and no project-specific setup.

Do iroh's tests pass?

No. The project's own test command exited unsuccessfully after 2 seconds, and its output did not expose an individual test count.

Who should not use iroh?

Readers looking for a complete file-sync application: the README lists blob transfer, gossip, and document storage as separate protocols built on Iroh.

What are the alternatives to iroh?

rust-libp2p, Quinn. Iroh is worth evaluating for Rust applications that need public-key dialing with direct connections and relay fallback.

Setup2/5Our October 5, 2026 run at b4c8fc6 completed dependency downloads, but build and test commands stopped during dependency build-script linking. Application integration through cargo add iroh was not separately validated.
Docs3/5The supplied README explains public-key dialing, relay fallback, Rust examples, FFI, and repository components. It does not establish a verified toolchain remedy for our recorded linker failure.
Community3/5The supplied issue histories show maintainer responses, reporter follow-ups, and closure of issue 4390. They do not measure adoption, support response times, or compatibility.
Maturity2/5The documented design and issue histories support evaluation, but our run produced no successful build or network validation. Issue 4390 is closed; issue 4476 remains open in the supplied extract.

Discussed on

  1. hnIroh: A library to establish direct connection between peers268 points
  2. hnIroh: Peer-2-peer that just works4 points
  3. hnIroh: A toolkit for building distributed applications3 points

Who it’s for

Rust developers evaluating peer connections for an embedded application.
Teams that want public-key dialing with hole-punching and relay support.
Operators prepared to evaluate relay infrastructure and test connectivity on their users' networks.

Who it’s NOT for

Readers looking for a complete file-sync application: the README lists blob transfer, gossip, and document storage as separate protocols built on Iroh.
Teams requiring evidence of successful compilation or network performance from this review: our recorded run established neither.
Teams that cannot accommodate relay fallback when a direct connection is unavailable.
Developers expecting the Rust example to establish equivalent setup and compatibility in other languages; the README directs them to iroh-ffi.

Setup reality

In our recorded run on October 5, 2026, at commit b4c8fc68ef21b78781741fab8c6c86a1043d0f97, the dependency-download step completed with exit 0 in 13.054 seconds. The parser recorded 459 dependencies; this is not a count of installed applications or verified unique downloads.

The build command exited 101 after 2.592 seconds. The test command exited 101 after 1.561 seconds. Both captured logs stopped while linking dependency build scripts for proc-macro2 and quote: Clang rejected -fuse-ld=lld with invalid linker name. The test command did not produce test-case results. These are command failures during compilation, not evidence of failing Iroh test cases or broken networking.

The recorded environment had 3 CPUs, 12 GB of memory, and image label lab-rust:1. That label does not establish compiler or operating-system versions. No successful library build, installed-binary check, connectivity workload, or security audit is established by this record.

The README starts Rust consumers with cargo add iroh. Adding the crate to an application and compiling the repository checkout are different setup paths. Before evaluating connectivity, check the selected checkout's Cargo configuration and available linker tooling, then rerun the build and tests.

Public-key dialing is the reason to evaluate Iroh

Iroh lets an application identify the peer it wants to reach by public key. The README says the library attempts hole-punching for a direct connection and can fall back to public relay servers. It describes authenticated encryption, concurrent QUIC streams, stream priorities, and datagrams. These are documented capabilities, not results from our sandbox.

This makes Iroh relevant to developers embedding peer connectivity in an application. It is not a finished synchronization product. The README lists iroh-blobs, iroh-gossip, and iroh-docs as separate protocols, and directs developers using other languages to iroh-ffi.

What our October 5 run established

Our recorded run began on October 5, 2026, at 02:47:49.982 UTC, using commit b4c8fc68ef21b78781741fab8c6c86a1043d0f97, dated October 2, 2026. It used a recorded configuration of 3 CPUs, 12 GB of memory, and image label lab-rust:1. We did not perform a new execution for this correction.

Recorded step Result Duration
Dependency-download step, labelled install by the harness Exit 0; captured output lists downloaded crates 13.054 seconds
Build command Exit 101 during dependency build-script linking 2.592 seconds
Test command Exit 101 during dependency build-script linking; no test-case results 1.561 seconds

The parser recorded 459 dependencies, 238 files, approximately 58,549 source lines, a 3 MB checkout, and 16 CI workflows. These are recorded scan summaries, not exhaustive verification of unique dependencies, test coverage, or CI success.

Both command logs show Clang rejecting -fuse-ld=lld while linking proc-macro2 and quote build scripts. This establishes a linker-selection failure in the recorded environment. It does not establish a defect in Iroh's networking code, identify a verified remedy, or show that any Iroh test case failed.

No successful library build, installed-binary check, hole-punching trial, relay workload, throughput benchmark, or security audit is established by this run. Test pass counts and network performance remain unknown.

Adding a crate and building a checkout are different paths

The README's Rust starting command is cargo add iroh. Its example binds an endpoint, connects with an application protocol identifier, and opens a bidirectional stream. That documentation describes an application integration path; our recorded commands exercised a source checkout.

The supplied Cargo configuration at historical commit 3677ec6 selects Clang and passes -fuse-ld=lld for x86-64 Linux. It is historical configuration evidence, not a verified copy of the configuration at b4c8fc6. The October run's logs independently establish that its failing linker invocations used the same option.

Check the selected revision's Cargo configuration and linker availability before repeating the build. A successful dependency-download step does not prove that the library compiled or that a CLI was installed.

The README also identifies relay client/server code and a DNS server implementation in the repository. Running infrastructure adds operational work; this review did not deploy those components or compare public and self-operated services.

Read issue reports with their versions and current status

Issue 4390 reports unbounded pending-path queue growth in Iroh 1.0.1 under a specific condition involving multiple connections at the path-ID limit. The supplied issue history records closure as completed through pull request 4551 on October 6, 2026. It should not be presented as an unresolved issue. Closure also does not establish that the fix was present in our October 2 checkout or in a particular published release.

Issue 4476 remains open in the supplied extract. Its original report concerns an Iroh 1.0.3 endpoint that became unreachable outside its LAN after relay re-homing. The reporter later identified local NAT/conntrack overload as a likely trigger. A September 20 follow-up reports a related relay-actor stall with Iroh 1.2.0 on two machines using a local TUN; that reporter says the same binary did not wedge on four other machines. These are attributed reports with environment limits, not findings from our run or proof that every deployment is affected.

The existing page identifies v1.1.0, but our measurement is tied to b4c8fc6. We have not established that this checkout is the v1.1.0 release. Keep release identity, source revision, and issue-report versions separate when deciding which evidence applies to your application.

Choosing a next step

Start with the README's Rust example after verifying the toolchain. Then test the paths your product needs: direct connectivity, forced relay use, and recovery after network disruption. Our run supplies no passing result for those scenarios.

For a different networking approach, rust-libp2p documents transport, multiplexing, swarm, and application-protocol components. Quinn documents a Rust implementation of IETF QUIC with a high-level Tokio API. Those are relevant alternatives at different API boundaries; we did not benchmark or test either against Iroh.

How to read the scores

These are editorial evidence ratings, not performance measurements. The scale is 1 for a documented blocker without a usable path, 2 for limited evidence or a blocked local evaluation, 3 for a documented path with material verification gaps, 4 for strong documentation plus successful relevant validation, and 5 for broad, repeated validation. Unknown adoption or compatibility does not earn a high score. Each category uses the evidence described in its note.

Alternatives

ProjectWhat it isPick it when
rust-libp2pThe central Rust implementation repository for the libp2p specification.Choose it when you want to build around libp2p's transport, stream-multiplexing, swarm, and application-protocol components.
QuinnA pure-Rust, async-compatible implementation of the IETF QUIC transport protocol.Choose it when your requirement is a Rust QUIC API; its documentation describes a high-level Tokio API and a separate protocol state machine for custom event loops.

What people are saying

  1. [github-trending] n0-computer/iroh

Sources

  1. Iroh repository and README
  2. Iroh v1.1.0 release
  3. Iroh x86-64 Cargo linker configuration
  4. Pending path queue growth report
  5. CGNAT relay fallback report
  6. Relay reconnect wedge report
  7. Linux virtual-interface rebind report

More dev tools reviews