Skip to content

Releases

Fix HTTP/2 stalls on large TLS records

Choose a tag to compare

@bneradt bneradt released this 26 Oct 14:12
ba726f6

Bug fixes

  • verifier-server no longer stalls on HTTP/2 requests that end inside a large TLS record. When a peer sent a TLS record larger than the server's 10 KiB read buffer, OpenSSL kept the rest of the record decrypted where poll(2) could not see it. If a request's END_STREAM was in that tail, the server waited on an idle socket and never answered the request. Proxies that merge many small DATA frames into one record under load hit this, and it caused intermittent hangs in ATS's http2_flow_control test. The server now checks OpenSSL's buffered data before it polls the socket. (#413)

    Thanks to @bryancall for finding and fixing this issue.

Security: reject short PROXY v2 headers

Choose a tag to compare

@bneradt bneradt released this 14 Oct 21:47
7941637

Security

  • PROXY protocol v2 headers too short for their address family are now rejected. verifier-server previously accepted a PROXY v2 header whose length field did not cover the TCP4 or TCP6 address block and read the addresses from past the received bytes, logging 12 or 36 bytes of uninitialized stack memory. The server now rejects such headers before reading any address and zeroes its peek buffer. This affects servers replaying sessions with proxy-protocol version 2 on a port reachable by untrusted peers. (GHSA-q86g-vh3v-7r4q, #411)

    Thanks to @Gengyskan for reporting this issue.

Tooling

  • A checked-in skill documents the release process. (#410)

Performance: idle server session parking, faster replay parsing; --rate fix

Choose a tag to compare

@bneradt bneradt released this 14 Oct 15:16
3decbbd

Performance

  • Idle server sessions no longer pin worker threads. verifier-server now parks idle keep-alive HTTP/1 and HTTP/2 connections, such as a proxy's pooled origin connections, on a single watcher thread and hands them back to a worker as soon as more data arrives. --thread-limit on the server now bounds actively served connections rather than open connections. In a prod sim replay through ATS this raised throughput from about 0.7k to over 10k requests per second at the same thread limits. HTTP/3 connections keep their thread. (#403)
  • Faster replay parsing. Replay files are parsed on one thread per hardware thread, and Linux builds link jemalloc when available (including the static release binaries). Parsing a 173k-transaction replay dropped from about 36 seconds to 12. Configure with -DPV_ENABLE_JEMALLOC=OFF to keep the system allocator. (#407)

Bug fixes

  • --rate is now honored for replays whose sessions have no start-time nodes. Previously the computed per-session sleep was discarded and sessions were dispatched without delay. (#405)

Tooling

  • urtest.sh works with no arguments on bash 3.2 (macOS). (#406)
  • tools/format.sh works from git worktrees. (#404)
  • Release binaries are now stripped, cutting the download size.

New features: io_uring socket readiness, content delay for chaos testing, OpenSSL 3.5 QUIC

Choose a tag to compare

@bneradt bneradt released this 03 Sep 23:41
542c971

New features

  • io_uring socket readiness (Linux). On supported Linux systems, Proxy Verifier now uses a process-wide io_uring to multiplex socket readiness waits, with poll as the automatic fallback. A new --io-uring option takes auto (default), off, or required. The required mode fails fast if io_uring cannot be used, which makes same-binary A/B comparisons against off straightforward. (#401)
  • Content delay for server chaos testing. A delay key inside a content node pauses between writing a message's headers and writing its body. This lets a replay file simulate an origin that starts a response and then stalls, exercising proxy timeout and partial-response handling. Applies to HTTP/1.1 in the clear and over TLS. For HTTP/2, use a delay on the DATA frame in a frames node instead; combining both is rejected with a diagnostic. (#389)
  • OpenSSL 3.5 native QUIC for HTTP/3. The ngtcp2 transport is replaced with OpenSSL's native QUIC API. nghttp3 is still used for HTTP/3 framing and nghttp2 for HTTP/2. OpenSSL 3.5 or later is now required. (#390)

Build and dependency changes

  • Builds now use distribution-provided OpenSSL and nghttp2/nghttp3 packages instead of the source-built dependency bundle. CMake presets are simplified around system dependency discovery. (#398)
  • Three build Dockerfiles are maintained: Ubuntu 26.04 (GitHub Actions CI), Alpine 3.24 (static musl Linux release artifacts), and Fedora 44 (development). Rocky Linux image definitions are removed. (#398)
  • The Ubuntu CI image is published to GHCR. (#399, #395, #392)

Testing and CI

  • End-to-end tests migrated from the legacy AuTest harness to pytest-based Uranium tests, with isolated, failure-preserving sandboxes and CI sharding. (#400)
  • GitHub Actions CI added, running formatting, RAT license audit, Clang unit tests, and GCC end-to-end tests as separate jobs. (#393, #394)
  • The RAT job now checks copyright years, and copyright-update.sh derives years from git history. (#397, #396)
  • AuTest Python dependencies updated. (#391)

bug fix: HTTP/3 large body handling

Choose a tag to compare

@bneradt bneradt released this 29 May 19:48
d760395

This fixes a bug in handling of large HTTP/3 request and response bodies. Without this fix, the sending of such bodies could hang.

Bug fixes: HTTP/1 100 Continue handling and HTTP/2 idle connection shutdowns

Choose a tag to compare

@bneradt bneradt released this 02 Apr 17:03
a170129

Bug fixes:

  • Fixed an issue where sending an HTTP/1 100 Continue response could overwrite parsed request header data and cause incorrect request verification.
  • Fixed an issue where HTTP/2 replay could treat a clean peer connection close during delay or dependency waits as a fatal error instead of shutting down gracefully.

Dockerfile: Add curl for AuTests

Choose a tag to compare

@bneradt bneradt released this 01 Apr 21:44
18f3308

This fixes a bug in the docker containers by adding curl to them so that some of the autests run appropriately. This is a bugfix only in the Dockerfiles for autests.

Request Presence Verification

Choose a tag to compare

@bneradt bneradt released this 01 Apr 21:07
606b3dc

The big new feature in this release is the ability to verify the absence of a request on the server. This can be useful, for instance, to verify that a request is served out of cache by the proxy rather than forwarding it onto the server.

This also has some build updates that should help make the release more portable on older hardware.

method, set-cookie, openssl 3.5, stack, etc

Choose a tag to compare

@bneradt bneradt released this 18 Mar 02:21
084040d

This is a big release. It is technically incompatible backwards because of the way it treats duplicate header fields, so I am making it a new major version.

Features (see the updated README.md for any of these):

  • set-cookies have their own specialized verification semantics.
  • protocol specifications now have a convenience stack paradigm.
  • YAML file parsing can now be killed via Ctrl+C.
  • Method verification is now possible in proxy-request.
  • Verification rules that are specified but whose transactions are not seen produce a verification error. This is on by default but can be disabled via --allow-unprocessed-verifications.

Developer Updates:

  • Proxy Verifier is now built via CMake.
  • The dev Dockerfiles are updated for current operating systems.
  • I've added AGENTS.md files to guide AI development, including a variety of helpful skills.
  • The source files are consolidated under src.
  • The library dependencies are updated to recent versions, including OpenSSL 3.5.

openssl quic 3.3

Choose a tag to compare

@bneradt bneradt released this 12 Aug 22:26
23a3a2c

This updates the library dependencies, including the use of openssl quic 3.3 via dev branch since it hasn't landed yet in 3 months:
https://github.com/quictls/openssl/tree/wladd/quic-on-3.3-dirty

  • nghttp2: v1.62.1
  • nghttp3: v1.4.0
  • ngtcp2: v1.6.0
  • openssl-quic 3.3 (via wladd dev branch)