Skip to main content

Crate typhoon

Crate typhoon 

Source
Expand description

TYPHOON — Transfer Your Packets Hidden Over Observed Networks.

An obfuscated UDP transport protocol designed to be statistically indistinguishable from generic network traffic. Each wire packet consists of an optional fake body, an optional fake header, an encrypted payload, and an encrypted tailer. Decoy packets (pure random bytes) are injected by the flow layer to obscure timing and volume patterns.

§Entry points

§Feature flags

FlagDescription
fast_softwareX25519 + XChaCha20-Poly1305 (default)
fast_hardwareX25519 + AES-GCM-256
full_softwareClassic McEliece + XChaCha20-Poly1305
full_hardwareClassic McEliece + AES-GCM-256
serverServer-side listener and session management
clientClient-side socket and session management
debugDebug probe tools (requires client + server)
capturePer-packet trace logging to typhoon::capture at TRACE level
tokioTokio async runtime
async-stdasync-std runtime

Modules§

bytes
certificate
Certificate I/O helpers: generate, persist, and load TYPHOON key material.
defaults
Default concrete types and re-exports for the most common TYPHOON configurations.
flow
Flow managers: UDP send/receive paths, fake-header/body framing, and decoy injection.
settings
Type-safe configuration settings for the TYPHOON protocol.
socket
Client and server socket APIs.

Macros§

weighted_random
Picks one of several branches at random, weighted by the per-branch weights, and evaluates the chosen branch as an expression (its value is the value of the macro).