HomeFreeBSD

ktls: Add a tunable to disable TLS receive

Description

ktls: Add a tunable to disable TLS receive

TLS receive offload is really only beneficial for in-kernel use cases
(such as NFS over TLS) or when using a hardware offload. In addition,
several recent SAs have involved the TLS receive path, but the only
current mitigation for those is to disable TLS offload entirely.

Reviewed by: ziaee, gallatin, markj
Relnotes: yes
Sponsored by: Netflix
Sponsored by: Chelsio Communications
Co-authored-by: John Baldwin <jhb@FreeBSD.org>
Differential Revision: https://reviews.freebsd.org/D57974

Details

Provenance
gallatinAuthored on Jul 1 2026, 12:53 AM
jhbCommitted on Jul 1 2026, 12:54 AM
Reviewer
ziaee
Differential Revision
D57974: ktls: Add a tunable to disable TLS receive
Parents
rG9cee48180d7a: ktls: Centralize the check for CBC ciphers
Branches
Unknown
Tags
Unknown