NETWORKS · PROTOCOLS · SPECIFICATIONS

The networks that make up the dark web.

How each anonymity network routes traffic, names its sites and protects its users, with links to the official documentation and specifications so you can go deeper.

Core concepts

Every network on this page combines a few building blocks. Learn these once and the rest is detail.

  • Layered encryption (onion routing). The sender wraps a message in several layers of encryption, one per relay. Each relay removes one layer and learns only the previous and the next hop, never both ends.
  • Circuits and tunnels. A path through several relays that is built once and reused for a while. Tor circuits are two-way; I2P tunnels are one-way.
  • Self-authenticating addresses. On Tor, I2P and Lokinet the address is derived from the service's public key. If you have the right address, you are talking to the holder of that key, with no certificate authority involved.
  • Directories and distributed hash tables (DHTs). A network needs a way to find relays and services. Tor uses a small set of directory authorities that publish a signed consensus; I2P, Hyphanet and GNUnet use DHTs spread across peers.
  • Mixing and cover traffic. Low-latency networks like Tor do not hide timing patterns from an observer who watches both ends. Mixnets such as Nym add delays and dummy packets to defeat that kind of traffic analysis, at the cost of speed.
  • Threat model. No network protects against everything. Ask: who am I hiding from (my ISP, a website, a government), and what do they see?

Tor: The Onion Router

Tor is the largest anonymity network, run by thousands of volunteer relays and maintained by the non-profit Tor Project. It does two jobs: it lets you reach the normal web without the website learning your IP address, and it hosts onion services, sites whose own location is hidden too.

How a Tor circuit works

  1. Your Tor client downloads the consensus, a signed list of relays that the directory authorities publish every hour.
  2. It builds a circuit through three relays: a guard (entry) relay it keeps for months, a middle relay, and an exit relay. It negotiates a separate key with each one.
  3. Data travels in fixed-size cells wrapped in three layers of encryption. The guard knows your IP but not your destination; the exit knows the destination but not your IP.
  4. Traffic between the exit and a normal website is only as private as that connection, so HTTPS still matters.

Onion services (v3)

  • A v3 onion address is 56 characters plus .onion. It encodes the service's ed25519 public key, a checksum and a version byte, so the address itself proves which key you are talking to.
  • The service picks introduction points and publishes a signed, encrypted descriptor to the onion-service directory (a distributed hash ring of relays).
  • Your client fetches the descriptor, picks a rendezvous point, and asks the service, through an introduction point, to meet there. Both sides build their own circuits, so neither learns the other's IP address.
  • The old 16-character v2 addresses were retired in 2021. If a list shows a 16-character onion, it is out of date.
  • Onion services can enable a proof-of-work defence against denial-of-service floods, and client authorisation to restrict who can connect.

Getting around censorship

Where Tor is blocked, bridges (unlisted entry relays) and pluggable transports disguise the connection: obfs4 makes traffic look random, Snowflake tunnels through WebRTC via volunteer browser proxies, meek fronts through large cloud services, and WebTunnel looks like ordinary HTTPS. Tor Browser's Connection Assist can pick one for you.

Software

  • Tor Browser: a hardened Firefox ESR with Tor built in. See the Tor Browser guide.
  • Tor (C daemon) and Arti, the Tor Project's rewrite of Tor in Rust.
  • Tails (amnesic live operating system) and Whonix (virtual machines that force all traffic through Tor) for higher-risk use.

Official sources: torproject.org · Tor specifications · Onion services documentation · Tor support portal

I2P: the Invisible Internet Project

I2P is a fully peer-to-peer anonymity network. Every participant routes traffic for others, and it is designed mainly for services inside the network rather than for browsing the normal web.

  • Garlic routing. I2P bundles several messages ("cloves") into one encrypted "garlic" message, a variant of onion routing.
  • One-way tunnels. Each router builds separate inbound and outbound tunnels. A request and its reply travel different paths, which makes correlation harder.
  • netDb. A distributed database, kept by "floodfill" routers, stores RouterInfos (how to reach a router) and LeaseSets (how to reach a destination's inbound tunnels).
  • Addresses. A destination is a public key. Human-friendly names end in .i2p and resolve through local address books; the raw form is a 52-character .b32.i2p address.
  • Transports and APIs. Routers talk over NTCP2 (TCP) and SSU2 (UDP). Applications connect through I2CP or the SAM bridge.
  • What runs on it. Websites ("eepsites"), email, chat, and BitTorrent inside the network. Access to the normal web through "outproxies" is limited and not the main purpose.
  • Implementations. The original Java I2P router and i2pd, a lighter C++ router.

Official sources: geti2p.net · I2P technical documentation · i2pd

Hyphanet (formerly Freenet)

Hyphanet started in 1999–2000 as Freenet, one of the first censorship-resistant networks. It is not a way to browse websites anonymously; it is a distributed data store. You insert content, it is encrypted, split and spread across other nodes' disk space, and anyone with the key can retrieve it. In 2023 the original project was renamed Hyphanet, because the Freenet name moved to a new, different project (see below).

  • Keys. Content-hash keys (CHK@) address immutable files by their hash; signed-subspace keys (SSK@) let an owner publish under a public key; updatable keys (USK@) add versioning, used for freesites.
  • Opennet and darknet. In opennet mode your node connects to strangers. In darknet (friend-to-friend) mode it connects only to people you know, which makes the network much harder to map or block.
  • Content lifetime. Popular content spreads and stays; content nobody requests can drop out of the store over time.
  • Applications. Static "freesites", and forum and social tools built on top of the store.

Official source: hyphanet.org

Lokinet / Session Router

Lokinet applies onion routing at the IP layer rather than per application. Its protocol, LLARP (Low Latency Anonymous Routing Protocol), routes packets through service nodes, which operators run by staking cryptocurrency as a Sybil-resistance measure. Because it works at the network layer, it can carry UDP as well as TCP, which suits voice and real-time apps. Sites use .loki addresses derived from public keys. The project is now developed by the Session Foundation under the name Session Router, as a component of the Session messenger.

Official sources: lokinet.org · Session Router on GitHub

ZeroNet

ZeroNet (2015) served websites from visitors' own computers: each site is signed with a Bitcoin-style key pair and distributed through a BitTorrent-like swarm, so it stays online as long as someone is seeding it. It could route through Tor for anonymity and used Namecoin .bit names. The original project has not had a release since 2019 and is unmaintained, though community forks continue the idea. Study it as an important design, but treat old software with care.

GNUnet, Nym and the new Freenet

GNUnet

GNUnet is the GNU Project's framework for secure peer-to-peer networking. It includes a DHT (R5N), a secure transport layer (CADET) and the GNU Name System (GNS), a decentralised, censorship-resistant alternative to DNS that is documented in RFC 9498. Source: gnunet.org.

Nym

Nym is a mixnet based on the Loopix design. Packets use the Sphinx format, pass through several layers of mix nodes that add random delays, and are mixed with cover traffic, so even an observer who watches the whole network struggles to link sender and receiver. This protects against timing analysis that low-latency networks like Tor do not cover. Source: nym.com.

The new Freenet

Since the 2023 rename, the name Freenet belongs to a newer project (originally called Locutus) from the Freenet Project: a peer-to-peer platform for decentralised applications whose contracts run as WebAssembly. Its focus is decentralised apps rather than anonymous browsing. Source: freenet.org.

Comparison table

NetworkRouting modelAddressingDiscoveryBest for
TorOnion routing, 3-hop two-way circuits.onion (56-char v3)Directory authorities and hourly consensusAnonymous web browsing, onion sites, censorship circumvention
I2PGarlic routing, one-way tunnels.i2p, .b32.i2pnetDb (floodfill DHT)Services inside the network, P2P apps
HyphanetKey-based routing in a distributed storeCHK@, SSK@, USK@ keysOpennet or friend-to-friend darknetCensorship-resistant publishing
Lokinet / Session RouterOnion routing at IP layer (LLARP).lokiStaked service nodesLow-latency TCP and UDP traffic
ZeroNetP2P swarms, optional TorPublic-key sites, .bitBitTorrent-style trackersHistorical: peer-served websites
GNUnetP2P overlay (CADET)GNS names (RFC 9498)R5N DHTResearch, decentralised naming
NymMixnet with delays and cover trafficNym addressesNetwork directory of mix nodesResisting traffic analysis

Standards and specifications

  • RFC 7686: reserves .onion as a special-use domain name, so normal DNS must never resolve it.
  • Tor specifications: the Tor protocol, directory protocol, onion-service (rendezvous) protocol, path selection and pluggable transports.
  • I2P documentation and specifications: tunnels, garlic routing, netDb, NTCP2, SSU2, SAM and I2CP.
  • RFC 9498: the GNU Name System.
  • Research foundations: onion routing (US Naval Research Laboratory, 1990s), "Tor: The Second-Generation Onion Router" (USENIX Security 2004), and the Loopix mixnet design (USENIX Security 2017).
NEXT STEP

Ready to try it? Read the Tor Browser guide before you connect.