Idea · Oct 15, 2026

Build Your Own Persistent P2P Tunnel

A staged networking project where students build a paired, encrypted file-sharing tunnel that discovers its public address, punches through NATs, and falls back to a relay, then measure how often each path actually works.

What it would do

Flipflop on Show HN uses Iroh to keep a tunnel alive between trusted devices so sharing a file needs no setup after the first pairing, and the comments show how hard NAT traversal still is in practice. In this assignment students build the core of such a tool themselves in Python or Go. Milestone 1: a reliable framed protocol over UDP with acknowledgements and retransmission. Milestone 2: a tiny STUN-like rendezvous server so peers learn their public address and port. Milestone 3: UDP hole punching with simultaneous open, tested against a provided Docker lab that emulates full-cone, restricted and symmetric NATs with iptables. Milestone 4: pairing with a short code, a Noise or libsodium handshake, and an end-to-end encrypted relay fallback the server cannot read. Milestone 5: chunked, resumable file transfer and a measurement report on which NAT combinations get a direct path, how long hole punching takes, and the throughput cost of relaying.

Key features

  • Docker NAT lab with configurable NAT types so every student can reproduce hard cases on one machine
  • Rendezvous and relay servers written by students, with a reference relay for comparison
  • Short-code pairing and an authenticated encrypted handshake (Noise IK or libsodium box)
  • Resumable chunked transfers with integrity hashes
  • Final measurement milestone with a connectivity matrix and latency and throughput plots

More in Systems & Hardware

Pull the Pin

A chip-and-bus level simulator of a tiny 8-bit computer for architecture courses where instructors break chips, pins, and bus lines, and students diagnose the fault from symptoms like a hardware repair tech.

BuiltSystems & HardwareProduct for a businessOct 18, 2026

23:59:60

An interactive timekeeping lab for systems and databases courses that plots UTC, TAI, GPS time, and UT1 together, then runs real leap-second and continuous-UTC scenarios against JavaScript, Python, and Postgres time code so students see exactly where each one breaks.

BuiltSystems & HardwareProduct for a businessOct 17, 2026

Build Your Own Borrow Checker

A staged compilers or PL course project where students implement ownership, moves, and borrow checking for a tiny Rust-like language, ending with a fuzzing hunt for unsound programs their own checker wrongly accepts.

Systems & HardwareClass assignmentLargeOct 14, 2026

Build Your Own Resumable Download Manager

A staged networking assignment in which students build a GetRight-style download manager with HTTP range requests, parallel segments, validators and checksums, graded against a chaos server that drops connections, rotates URLs and silently changes files mid-download.

Systems & HardwareClass assignmentLargeOct 13, 2026

All 39 ideas in Systems & Hardware →