From e8674658aec306ca29870e7e75558e58cd0a5d69 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 3 Jul 2025 17:27:36 +0200 Subject: [PATCH] MINOR: cfgparse: Add a new "ktls" option to bind and server. Add a new "ktls" option to bind and server. Valid values are "on" and "off". It currently does nothing, but when kTLS will be implemented, it will enable or disable kTLS for the corresponding sockets. It is marked as experimental for now. --- doc/configuration.txt | 13 ++++++++ include/haproxy/listener-t.h | 1 + include/haproxy/server-t.h | 1 + src/cfgparse-ssl.c | 59 ++++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index 84800a2cf..50269e8b4 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -12178,6 +12178,7 @@ ssl-f-use [ ...]* - crl-file - curves - ecdhe + - ktls - no-alpn - no-ca-names - npn @@ -16752,6 +16753,11 @@ interface client IP addresses need to be able to reach frontends hosted on different interfaces. +ktls [ EXPERIMENTAL ] + Enables or disables ktls for those sockets. If enabled, kTLS will be used + if the kernel supports it and the cipher is compatible. + This is only available on linux. + label