Sōzu

Sōzu is a lightweight, fast, always-up reverse proxy server.

Why use Sōzu?

To get started check out our documentation !

Installation

Quickstart

Once the prerequisites (protoc, Rust 1.91 via the pinned rust-toolchain) are installed, building and starting Sōzu takes two commands:

cargo build -p sozu --release --locked
target/release/sozu start -c bin/config.toml

bin/config.toml is the in-tree sample config — copy it next to your TLS certs and edit listener/cluster blocks before going to production. The live operator dashboard is available with cargo build -p sozu --release --locked --features tui then target/release/sozu top. Configuration reference: doc/configure.md.

Exploring the source

The Cargo workspace ships five crates (Rust 2024 edition, MSRV 1.91):

The fuzz/ crate (fuzz_frame_parser, fuzz_hpack_decoder) lives outside the Cargo workspace and is built with cargo +nightly fuzz from inside fuzz/.

HTTP/2 support (frontend and backend) is driven through the multiplexer in lib/src/protocol/mux/ and TLS ALPN negotiation in lib/src/protocol/rustls.rs; the multiplexer includes flood mitigations for CVE-2023-44487 (Rapid Reset), CVE-2024-27316 (CONTINUATION flood), and CVE-2025-8671 (MadeYouReset), plus PING/SETTINGS/priority floods.

License

Sōzu itself is covered by the GNU Affero General Public License (AGPL) version 3.0 and above. Traffic going through Sōzu doesn't consider Clients and Servers as "covered work" hence don't have to be placed under the same license. A "covered work" in the Licence terms, will consider a service using Sōzu's code, methods or specific algorithms. This service can be a self managed software or an online service. The "covered work" will not consider a specific control plane you could have develop to control or use Sōzu. In simple terms, Sōzu is a Free and Open Source software you can use for both infrastructure and business but in case of a business based on Sōzu (e.g. a Load Balancer product), you should either give back your contributions to the project, or contact Clever Cloud for a specific Business Agreement.

sozu-lib, sozu

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

sozu-command-lib

sozu-command-lib is released under LGPL version 3

Copyright (C) 2015-2026 Clever Cloud