Tested this on ubuntu 20.04 + DCO - --client + --management-hold, connect
to mgmt, "bytecount 1", "hold release", boom, SIGSEGV.
v1 looked correct, but checked the wrong variables, so "no SIGSEGV, but
no counters at all anymore", not so good either ;-) - v2 fixes that,
no crash *and* working counters. With proper timing. So really getting
there, after a day staring at manage.c...
Your patch has been applied to the master branch.
commit 14ced61eef89797e606c3b7600adc4da83a336f4
Author: Ralf Lici
Date: Tue Sep 2 18:45:15 2025 +0200
dco_linux: validate tun interface before fetching stats
Signed-off-by: Ralf Lici <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg32768.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