iroh
IP addresses break, dial keys instead. Modular networking stack in Rust.
Learn how to gracefully shut down iroh endpoints and routers using endpoint.close().await for clean QUIC termination and router shutdown. Ensure UDP sockets close properly.
Using iroh on Wasm Browser Platforms: Complete Configuration GuideConfigure iroh for Wasm browser platforms. This guide details its use with cfg(wasm_browser) for relay-only networking, disabling IP transports.
Using iroh Presets Like N0 for Quick Endpoint SetupQuickly set up iroh endpoints with presets like N0. Deploy TLS crypto providers, PKARR DNS, address resolution and relay configuration instantly.
Building Multi-Protocol Servers with Router in irohLearn to build multi-protocol servers with iroh Router. Handle multiple protocols simultaneously on a single QUIC Endpoint using ALPN. Explore early connection filtering and graceful shutdown.
Monitoring Connection Stats and Path Metrics in iroh: A Complete GuideLearn to monitor connection stats and path metrics in iroh with our complete guide. Discover real-time counters for socket traffic and connection events via the Endpoint metrics API.
Securely Managing Endpoint Secret Keys and Endpoint IDs in irohSecurely manage endpoint secret keys and endpoint IDs in iroh. Generate or inject a SecretKey during Endpoint construction for local security and a shareable PublicKey as your EndpointId.
Understanding iroh Relay Servers and NAT Traversal: P2P Connectivity in n0-computer/irohLearn how iroh relay servers and NAT traversal enable P2P connectivity in n0-computer/iroh. Discover QUIC connections, TURN-like intermediaries, and hole-punching for seamless communication.
Configuring DNS and Pkarr Address Lookup Services in irohLearn to configure iroh's DNS and Pkarr address lookup services using the Endpoint builder API for peer discovery. Translate EndpointId to EndpointAddr efficiently.
How to Implement Path Selection Strategies in Iroh: A Complete Guide to Custom Network Path SelectionLearn to implement custom path selection strategies in Iroh using the PathSelector trait. Guide your network traffic for optimal performance with this comprehensive tutorial.
How to Use Custom Transports in iroh with the unstable-custom-transport FeatureLearn to use custom transports in iroh with the unstable-custom-transport feature. Route packets over Bluetooth or Tor while retaining QUIC and NAT traversal logic.
Configuring endpoint connection hooks for authentication in irohSecure iroh connections with custom authentication using endpoint connection hooks. Intercept QUIC handshakes for token-based pre-authorization. Learn more.
How iroh Memory Address Lookup Works for Local Peer DiscoveryLearn how iroh memory address lookup enables zero-latency local peer discovery using a thread-safe BTreeMap for instant, network-free connections.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →