[Bug 293232] security/wolfssl: enable TLS 1.3 middlebox compat mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 16 Feb 2026 23:05:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293232

            Bug ID: 293232
           Summary: security/wolfssl: enable TLS 1.3 middlebox compat mode
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: fox@FreeBSD.org
          Reporter: feld@FreeBSD.org
          Assignee: fox@FreeBSD.org
             Flags: maintainer-feedback?(fox@FreeBSD.org)

Created attachment 268121
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268121&action=edit
wolfssl middlebox compat

WolfSSL by default disables the TLS 1.3 Middlebox Compat Mode even though it is
built with TLS 1.3 support (--enable-tls13, --enable-tls13-draft18)

It technically breaks RFC compliance to have it disabled. I can confirm that
our Erlang packages have this client feature enabled by default in their TLS
1.3 implementations, so they would be unable to connect to an haproxy@wolfssl
server.

TL;DR the feature allows the client to use a non-empty session id to trick
middleboxes into thinking there's a TLS 1.2 session coming through. It adds an
extra roundtrip to the handshake, but has no other penalty. It's a no-op for
clients that do not try to use this.

-- 
You are receiving this mail because:
You are the assignee for the bug.