Rust library for QUIC transport, HTTP/3, and QPACK, used in Firefox. NSS backs TLS; standalone CLI clients and servers support testing.
Overview
Neqo is Mozilla’s Rust implementation of QUIC, HTTP/3, and QPACK. It powers QUIC and HTTP/3 in Firefox and related products, with TLS handled through the Mozilla NSS library used elsewhere in the browser stack.
The codebase is structured as a library for embedding in applications, especially Gecko-based networking. It can also be built and exercised on its own through command-line tools such as neqo-client and neqo-server for HTTP/3 interoperability testing and debugging.
Server functionality in Neqo is experimental and not used in production at Mozilla. It aims for standards-compliant interaction with compliant clients but may omit optional features, edge cases, or deployment-oriented configuration. Project guidance warns against using the server code in production.
Developers can enable QLOG output, export TLS keys for Wireshark via SSLKEYLOGFILE, and tune Rust logging with RUST_LOG. Local patches can redirect Gecko’s Cargo dependencies to a checkout of Neqo for in-development testing against neqo-server.
Key features
- QUIC transport in Rust
- HTTP/3 and QPACK support
- NSS-backed TLS integration
- neqo-client and neqo-server CLI tools
- QLOG generation for flow visualization
- SSLKEYLOGFILE for traffic decryption
- Configurable Rust tracing logs
- Standalone or Firefox-embedded use
Use cases
- HTTP/3 support in Firefox networking
- QUIC protocol development and debugging
- HTTP/3 client and server interoperability tests
- Analyzing QUIC flows with QLOG tools
- Experimenting with Neqo inside Gecko builds