]> git.ipfire.org Git - thirdparty/openvpn.git/commit
options: warn and ignore --reneg-bytes/pkts when DCO is enabled
authorRalf Lici <ralf@mandelbit.com>
Fri, 17 Oct 2025 19:16:06 +0000 (21:16 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 17 Oct 2025 19:20:01 +0000 (21:20 +0200)
commitc9a320649bd4ec43d3f2640f70476178d8fcc660
tree8d872a564fb7c49b7432b1bdf1e713e5d4f76afd
parent23d70b08a94b150f5df76449e2acbf7a1160146a
options: warn and ignore --reneg-bytes/pkts when DCO is enabled

Thresholds specified by --reneg-bytes and --reneg-pkts cannot be
enforced when DCO is enabled, as it only provides global statistics.

Rather than adding complexity to support these options, ignore them when
DCO is enabled. Print a warning to inform users and update the manpage
accordingly.

Change-Id: I7b718a14b81e3759398e7a52fe151102494cc821
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1280
Message-Id: <20251017191612.15642-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59248122/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/renegotiation.rst
src/openvpn/options.c