The iroh-tor-transport crate routes iroh connections through Tor hidden services, hiding both peers’ IP addresses from each other and from the network. This is useful when IP address privacy is a hard requirement for your application. For background, see the blog post.Documentation Index
Fetch the complete documentation index at: https://docs.iroh.computer/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Add the dependency:Usage
How it works
Connections are routed through Tor onion services. Each endpoint creates a hidden service address, which other endpoints dial over the Tor network. Neither side learns the other’s real IP address.Current limitations
- Requires a separately installed and running Tor daemon
- Cookie authentication must be disabled (
--CookieAuthentication 0) - No automatic recovery if the Tor daemon crashes
- Limited to TCP streams over Tor