[Bug 292464] if_ovpn has inconsistent counter display
Date: Wed, 14 Jan 2026 19:31:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292464
Bug ID: 292464
Summary: if_ovpn has inconsistent counter display
Product: Base System
Version: 14.3-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: mike@sentex.net
I noticed when I upgraded from RELENG_13 to RELENG_14 and if_ovpn was being
loaded, I was getting zero traffic via my telegraf collector. If I disable DCO,
I get counters properly being recorded by telegraf. Looking at the output of
netstat , having if_ovpn loaded or not does seem to update things differently.
e.g.
Here is netstat with if_ovpn active
netstat -I tun416 -n -b
Name Mtu Network Address Ipkts Ierrs Idrop Ibytes
Opkts Oerrs Obytes Coll
tun416 1500 <Link#6> tun416 0 0 0 0
0 0 0 0
tun416 - 172.24.4.254/32 172.24.4.254 30 - - 2122
35 - 2387 -
and here it is without it loaded
Name Mtu Network Address Ipkts Ierrs Idrop Ibytes
Opkts Oerrs Obytes Coll
tun416 1500 <Link#6> tun416 18 0 0 1568
21 0 1541 0
tun416 - 172.24.4.254/32 172.24.4.254 16 - - 1138
19 - 1307 -
The Link line is never updated, which is where I am guessing telegraf is
looking for data.
OpenVPN is from the pkg latest
OpenVPN 2.6.16 amd64-portbld-freebsd14.3
14.3-STABLE FreeBSD 14.3-STABLE stable/14-215d16e4102b GENERIC amd64
--
You are receiving this mail because:
You are the assignee for the bug.