Skip to main content

quietquic/
lib.rs

1// SPDX-License-Identifier: 0BSD
2//! quietquic — a cloaked QUIC transport.
3//!
4//! A server built on this crate emits **zero bytes** in response to any
5//! packet that doesn't prove possession of a valid pre-shared key, and its
6//! traffic camouflages as ordinary QUIC v1. See `README.md`'s `Threat Model`
7//! section (or `docs/specs/2026-07-03-quietquic-design.md` §3)
8//! for the full, honest threat model before deploying. In particular: this
9//! defeats internet-wide scanning and casual DPI, but does NOT defeat global
10//! passive traffic analysis, sophisticated DPI that actively attempts
11//! `Initial` decryption on every flow, or a resource side-channel via a
12//! co-located service. **Run it as the only service on its host.** See
13//! `README.md`'s `Limitations` section for boundaries not yet
14//! production-hardened (single-threaded driver, compile-time rate limits, CID pruning only at
15//! connection close).
16
17// Protocol logic lives in the sans-IO core crate; re-exported here so
18// `quietquic::selector::…` (and friends) keep resolving unchanged.
19pub use quietquic_proto::{freshness, initial_keys, ratelimit, replay, selector, transport};
20
21pub mod client;
22pub mod config;
23pub mod conn;
24pub mod server;