• Bug#1106147: net-tools: empty packet counters with latest update

    From Christian Herzog@21:1/5 to All on Tue May 20 12:30:01 2025
    Package: net-tools
    Version: 2.10-0.1+deb12u1
    Severity: normal
    X-Debbugs-Cc: team@security.debian.org

    Dear maintainer,

    the latest 2.10-0.1+deb12u1 update introduces a regression in ifconfig:
    all packet counters always show zero:

    $ ifconfig br0
    br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
    inet6 2a02:168:6818::1 prefixlen 64 scopeid 0x0<global>
    inet6 fe80::4028:5dff:feb2:8771 prefixlen 64 scopeid 0x20<link>
    ether 42:28:5d:b2:87:71 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    this applies to all interfaces on several machines I checked. The
    correct values are known to the kernel:

    $ cat /sys/class/net/br0/statistics/rx_packets
    6623318

    thanks and kind regards,
    -Christian



    -- System Information:
    Debian Release: 12.11
    APT prefers stable-security
    APT policy: (500, 'stable-security'), (500, 'stable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.1.0-34-amd64 (SMP w/20 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages net-tools depends on:
    ii libc6 2.36-9+deb12u10
    ii libselinux1 3.4-1+b6

    net-tools recommends no packages.

    net-tools suggests no packages.

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Salvatore Bonaccorso@21:1/5 to Christian Herzog on Tue May 20 12:40:02 2025
    Control: tags -1 + upstream fixed-upstream confirmed
    Control: found -1 2.10-1.2
    Control: affects -1 + release.debian.org,security.debian.org

    Hi Christian,

    On Tue, May 20, 2025 at 12:20:04PM +0200, Christian Herzog wrote:
    Package: net-tools
    Version: 2.10-0.1+deb12u1
    Severity: normal
    X-Debbugs-Cc: team@security.debian.org

    Dear maintainer,

    the latest 2.10-0.1+deb12u1 update introduces a regression in ifconfig:
    all packet counters always show zero:

    $ ifconfig br0
    br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
    inet6 2a02:168:6818::1 prefixlen 64 scopeid 0x0<global>
    inet6 fe80::4028:5dff:feb2:8771 prefixlen 64 scopeid 0x20<link>
    ether 42:28:5d:b2:87:71 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    this applies to all interfaces on several machines I checked. The
    correct values are known to the kernel:

    $ cat /sys/class/net/br0/statistics/rx_packets
    6623318

    Thanks for the report and sorry for the breakage. I can confirm the
    regression (and is present as well in the upper suite). Will prepare a
    fix.

    Regards,
    Salvatore

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)