On the userland side, this is fairly trivial and straightforward - when
deciding whether to call dco_set_peer(), take "ping_rec_timeout" into
account (which gets set by "ping-restart" and "ping-exit"). The more
interesting change is kernel-side, to decouple "ping" and "ping-restart"
settings (but that's a different patch for different people to review).
Stared-at-code, test compiled on Linux.
Applying this to release/2.7 as well, because it is very much non-intrusive,
and people have stumbled across this (so "mini bugfix").
Your patch has been applied to the master and release/2.7 branch.
commit d66de4e0a461c8cc5fff5a00ec14b41dd27fc365 (master)
commit 4b49192f980a7a8fb63c74b30c2be631aaa2eb38 (release/2.7)
Author: Marco Baffo
Date: Fri Jun 5 20:10:46 2026 +0200
dco_linux: allow passing KEEPALIVE_TIMEOUT without KEEPALIVE_INTERVAL
Signed-off-by: Marco Baffo <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1705
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg37070.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel