From 372508cc42d008fbf6d1016306de99f37a32fddb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Fri, 6 May 2022 08:53:16 +0200 Subject: [PATCH] MINOR: config: Add "cluster-secret" new global keyword It could be usefull to set a ASCII secret which could be used for different usages. For instance, it will be used to derive QUIC stateless reset tokens. --- doc/configuration.txt | 8 ++++++++ include/haproxy/global-t.h | 1 + src/cfgparse-global.c | 18 +++++++++++++++++- src/cfgparse.c | 7 +++++++ src/haproxy.c | 1 + 5 files changed, 34 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 23fc72b3e9..d5283270c2 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -992,6 +992,7 @@ The following keywords are supported in the "global" section : * Process management and security - ca-base - chroot + - cluster-secret - crt-base - cpu-map - daemon @@ -1161,6 +1162,13 @@ chroot with superuser privileges. It is important to ensure that is both empty and non-writable to anyone. +cluster-secret + Define an ASCII string secret shared between several nodes belonging to the + same cluster. It could be used for different usages. It is at least used to + derive stateless reset tokens for all the QUIC connections instantiated by + this process. If you do not set this parameter, the stateless reset QUIC + feature will be silently disabled. + close-spread-time