I have lightly tested it, by sending SIGUSR2 as Lev has suggested.  It's
not visible in the client GLOBAL_STATS (unsurprisingly, since added to 
multi_print_status()... but maybe a followup patch?) but on the servers
it nicely shows...

Aug 17 21:31:59 ubuntu2004 tap-udp-p2mp[2183229]: GLOBAL_STATS,dco_enabled,0
Aug 17 21:32:01 ubuntu2004 tun-tcp-p2mp[2183195]: GLOBAL_STATS,dco_enabled,1
Aug 17 21:32:05 ubuntu2004 tun-udp-p2mp-fragment[2183260]: 
GLOBAL_STATS,dco_enabled,0
Aug 17 21:32:09 ubuntu2004 tun-udp-p2mp-topology-subnet[2183217]: 
GLOBAL_STATS,dco_enabled,1
Aug 17 21:32:11 ubuntu2004 tun-udp-p2mp[2183208]: GLOBAL_STATS,dco_enabled,1


Did not test management interface, but that's the same code anyway.

I have adjusted the commit message + subject as suggested by Lev.

Your patch has been applied to the master branch.

commit b421a0d55afc6e7a566b97cf9b687824be5a9118
Author: Arne Schwabe
Date:   Sat Aug 13 23:11:04 2022 +0200

     Include DCO status in GLOBAL_STATS status v2 output

     Signed-off-by: Arne Schwabe <[email protected]>
     Acked-by: Lev Stipakov <[email protected]>
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg24923.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

Reply via email to