HomeCybersecurityFreenet Small-World Routing & Source Anonymity (2D Ring View)

Freenet Small-World Routing & Source Anonymity (2D Ring View)

Interactive 2D model of Freenet's darknet: greedy key-based routing across a small-world ring of node locations, hops-to-live decay, path caching, and the probabilistic-HTL trick that hides who really requested a file — rendered as a rotatable ring map plus a location number-line panel.

Cybersecurity2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-exp-freenet-security ↗ Open standalone

Freenet distributes content across a peer-to-peer darknet with no central server and no lookup table: every node has a location on a ring and forwards a request greedily to whichever neighbor sits closest to the target key, decrementing a hops-to-live counter as it goes. This 2D simulator renders that darknet as a rotatable ring map — structural neighbor links plus small-world shortcut chords — with a companion location number-line panel underneath that plots every node's raw [0,1) coordinate, so the "closest wins" greedy rule is visible both spatially and numerically at once. A toggle switches on the probabilistic HTL decrement used near the real requester, which is the actual mechanism Freenet uses to stop a relay from telling whether it is one hop from the source or forwarding on someone else's behalf.

⚙ Under the hood

Watch Freenet's darknet route real insert and request traffic hop by hop across a rotatable 2D ring of node locations, with a companion location number-line panel showing the raw [0,1) coordinate the greedy rule minimizes, caching data along successful paths and fuzzing the hops-to-live counter near the source to hide who really asked for a file.

freenetdarknetp2panonymityroutingcybersecurity

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)