Stared at code, discussed what this "netlink uint" thing is (it's a magic
data type which is sent in netlink data structures as 32 or 64 bit,
depending on need - so, when going over 4G, you get 64 bit counters,
and when not, saving on bandwidth).

Tested, and lo and behold, counters do appear, with values that look
reasonable

    tun-udp-p2mp[58643]: dco_update_peer_stat / dco_read_bytes: 1013248
    tun-udp-p2mp[58643]: dco_update_peer_stat / dco_write_bytes: 1059016
    tun-udp-p2mp[58643]: dco_update_peer_stat / tun_read_bytes: 867928
    tun-udp-p2mp[58643]: dco_update_peer_stat / tun_write_bytes: 911344

Your patch has been applied to the master branch.

commit 6c33e3761ecb476d047bc14e7948ffddba800915
Author: Antonio Quartulli
Date:   Sat May 17 10:32:23 2025 +0200

     dco_linux: fix peer stats parsing with new ovpn kernel module

     Signed-off-by: Antonio Quartulli <[email protected]>
     Acked-by: Gert Doering <[email protected]>
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg31666.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