CLI tool
mozilla/neqo avatar
mozilla/neqo

Neqo: Firefox's Rust QUIC stack, with an experimental server and an NSS build you must manage

Neqo, the Mozilla Firefox implementation of QUIC in Rust

2,256 stars185 forksRustApache-2.0

At a glance

What is it?
mozilla/neqo is the QUIC, HTTP/3 and QPACK library used in Firefox, with command line test tools. This review covers the NSS dependency, the experimental server, the debugging switches, and how pre-1.0 versioning works.
Who is it for?
Use Neqo if you work on Firefox networking or need a Rust HTTP/3 client to test against, where neqo-client and qlog output are directly useful. Do not deploy neqo-server, which the project itself says is experimental and not for production.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Rust, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • mozilla/neqo2,256 ★ · +11
Star history
Repository2026-10-122026-11-26
mozilla/neqo2.2k2.3k

11 Stars in the last 45 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Three protocol layers on top of NSS for TLS

Neqo is the QUIC implementation used by Mozilla in Firefox and other products. It is written in Rust and provides a library for QUIC transport, HTTP/3 and QPACK. TLS comes from the Mozilla NSS library, which Firefox also uses.

The workspace splits these jobs into crates: neqo-transport, neqo-http3, neqo-qpack, neqo-common, neqo-udp and neqo-bin, plus fuzz, mtu and test-fixture members. Neqo is designed to be used in Firefox but can also run standalone, and the command line tools neqo-client and neqo-server exist for testing and debugging HTTP/3 servers and clients. Cargo.toml declares the license as MIT OR Apache-2.0.

The server is experimental and not for production

The neqo server functionality is experimental because it is not in production use at Mozilla and is not as mature as the client. It aims to be standards-compliant against a compliant client, but may not implement all optional protocol features and may not handle all edge cases.

It is also not optimized for performance or resource usage, and it lacks configuration for a number of options suited to a live deployment. The project states plainly: do not use the neqo server code in production. For a real HTTP/3 endpoint you need a different server, and Neqo's value stays on the client side and in test setups.

shell
./target/debug/neqo-server '[::]:12345'
./target/debug/neqo-client 'https://[::]:12345/'

cargo build needs a new enough NSS, or a separate NSS and NSPR checkout

Running cargo build uses a system-installed NSS if it is new enough. If NSS is missing or too old, you follow the separate build path: clone NSS and NSPR into the same directory and export NSS_DIR pointing at NSS, for example NSS_DIR=$HOME/neqo-dependencies/nss.

That path adds tooling. Mercurial (hg) must be installed if NSS is not already compiled, and NSS builds require GYP and Ninja. After the build you must also set LD_LIBRARY_PATH on Linux or DYLD_LIBRARY_PATH on macOS to the directory holding libssl3, or anything that depends on NSS will not run. Setting NSS_PREBUILT=1 skips rebuilding NSS on later cargo build runs. Skipping the library path step is the usual reason the binaries fail to start.

Three debugging switches: qlog, SSLKEYLOGFILE and RUST_LOG

Passing --qlog-dir to neqo-server or neqo-client writes QLOG files, which you can upload to qvis to visualize the flows. For Neqo Simulator runs, set the environment variable QLOGDIR, as in QLOGDIR=/tmp/qlog cargo bench --bench min_bandwidth --features bench.

Setting SSLKEYLOGFILE to a filename makes NSS dump TLS keys in the standard format, so Wireshark and other tools can decrypt captures. RUST_LOG follows the tracing-subscriber Targets filter and works for the command line tools and inside Gecko, although Gecko must be built in debug mode. RUST_LOG=neqo_transport::dump ./mach run lists sent and received QUIC packets and their frames only, and RUST_LOG=neqo=trace,error sets trace for every module starting with neqo.

Testing local Neqo in Gecko means patching Cargo.toml and re-vendoring

In a checked-out Gecko source tree, you add a [patch."https://github.com/mozilla/neqo"] section to the root Cargo.toml, with path entries for neqo-bin, neqo-common, neqo-http3, neqo-qpack, neqo-transport and neqo-udp. Then run ./mach vendor rust, and compile Gecko with ./mach build.

The warning is that newer Neqo code may need changes in neqo_glue if something has changed, so a clean build of Neqo alone does not guarantee a clean Gecko build. Budget time for that glue step whenever you test an in-development revision.

Pointing Firefox at a local neqo-server takes two about:config prefs

Run neqo-server with cargo run --bin neqo-server -- 'localhost:12345'. In Firefox, set network.http.http3.alt-svc-mapping-for-testing to localhost;h3=":12345", and set network.http.http3.disable_when_third_party_roots_found to false. Optionally enable logging through about:logging or profiling through profiler.firefox.com.

Navigate to https://localhost:12345 and accept the self-signed certificate. Without the second pref, Firefox may refuse HTTP/3 when it finds third-party root certificates, which is why it must be switched off for this local test.

Pre-1.0 versioning: every minor bump can break you

Neqo follows semantic versioning, and while the version is below 1.0 a minor bump (0.X.0) signals a breaking change and a patch bump (0.X.Y) is reserved for backwards-compatible fixes. Recent releases are v0.34.0 on 2026-10-22, v0.33.0 on 2026-10-13 and v0.32.0 on 2026-09-25. Three breaking-capable minors in under a month means any dependency on these crates needs a pinned version.

The workspace requires rust-version 1.90.0 and edition 2024, and a comment in Cargo.toml says not to raise the version beyond what Firefox currently uses. The release procedure also includes filing a Bugzilla bug under Core :: Networking to land the update in Firefox. The repository is not archived, and the last push was on 2026-10-25.

Editorial conclusion

Use Neqo if you work on Firefox networking or need a Rust HTTP/3 client to test against, where neqo-client and qlog output are directly useful. Do not deploy neqo-server, which the project itself says is experimental and not for production. Before depending on the crates, check the 0.X minor version you target, because every minor bump may break your code, and confirm you can provide a recent NSS.

Frequently asked questions

Can I run neqo-server in production?

No. The project says the neqo server functionality is experimental, not in production use at Mozilla, and tells readers not to use the neqo server code in production.

What does Neqo use for TLS?

Neqo uses the Mozilla NSS library as its TLS security backend, the same library Firefox uses. cargo build uses a system NSS if it is new enough.

How do I decrypt Neqo traffic in Wireshark?

Set the SSLKEYLOGFILE environment variable to a filename and NSS dumps TLS keys in the standard format, which Wireshark and other tools can use to decrypt captures.

Official sources

  1. License: Apache-2.0
  2. mozilla/neqo on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/mozilla-neqo.svg)](https://hysenlabs.com/projects/mozilla-neqo)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/mozilla-neqo.svg)](https://hysenlabs.com/projects/mozilla-neqo)

Was this useful?