[PATCH applied] Re: dco: backport immediate notification processing on Linux and FreeBSD
Gert Doering <[email protected]>
| Newsgroups | gmane.network.openvpn.devel |
|---|---|
| Message-ID | <[email protected]> |
As the commit message says, this is a backport from the revised
notification handling in 2.7/master to the old DCO code - the relevant
parts are basically the same, the underlying problem is as well
(incoming peer stats messages can get intermixed with peer timeout
messages, which get then ignored because "we're not interested in
that right now", and subsequently userland and kernel disagree on
the state of affected peers...)
I've subjected this to full client/server tests on FreeBSD and Linux,
with and without DCO, and things work as expected.
The Linux side was further subjected to a Gremlin Horde Attach - namely,
many 1000s of very short-lived OpenVPN connects/disconnects, up to 100
in parallel, which is very good in exposing race conditions in event
handling. The server did what this patch wants to achieve - do proper
cleanup, do proper logging, do not overcount clients, very good.
Your patch has been applied to the release/2.6 branch.
commit e78a8af2f5ce5ef3bbfefc2dc8efeca84027c018
Author: Ralf Lici
Date: Tue Apr 21 10:49:01 2026 +0200
dco: backport immediate notification processing on Linux and FreeBSD
Signed-off-by: Ralf Lici <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1632
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg36707.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering