encrypted udp transport · by primetype

Slither

Sealed on dispatch, delivered in order — and it finds you when you move.

Two peers exchange encrypted, reliable, unordered messages over UDP — plus streams and datagrams — authenticated by raw public keys. No certificates, no TLS, no PKI. A Noise IK handshake on the way in, QUIC-shaped streams once you are through, and a connection that keeps working when your address changes.

a peer is its public key reject an identity before the DH is spent connections roam drivable without a kernel

Watch it run in this tab ↓ Source Docs Crate

unaudited · pre-1.0

Running in this tab

Two slither endpoints — the real protocol, compiled to WebAssembly — handshaking and talking to each other inside a Web Worker, over slither's own in-memory test network. Browsers cannot send UDP, so nothing here touches a socket; the fabric underneath is the same kernel-free one every slither flow test runs on, which is rather the point. Timers run on a paused clock, so a twenty-five-second protocol timeout resolves in milliseconds. Source.

Scenario

Loading WebAssembly…

The network

0% 0% 0 ms 0 ms
A — the dialler
10.0.0.1:4001
dial connection
B — the responder
10.0.0.2:4002
intro claimed proven connection
protocol time 0.000 s
0
datagrams sent
0
lost in flight
0
duplicated
0 / 0
DH ops · a / b
0
handshake retries
0 s
protocol time
0 ms
wall time in wasm

Event log