It is also solved in more recent version of netstat / net-tools, for
example the git version. See below.

So why not upgrade to a more recent net-tools in Ubuntu? Can the
maintainers take care of that?

Git-version:

sander@HPtje:~/git/net-tools$ ./netstat -s | grep -i octet
    InOctets: 8916276097
    OutOctets: 1457306418
    InMcastOctets: 34823
    OutMcastOctets: 33223
    InBcastOctets: 656
sander@HPtje:~/git/net-tools$ 
sander@HPtje:~/git/net-tools$ ./netstat --version
net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian 
Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N
AF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE 
-BLUETOOTH
HW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT 
+FDDI +HIPPI +HDLC/LAPB +EUI64 
sander@HPtje:~/git/net-tools$ 


In Ubuntu's version of netstat, there is the 31-bit overflow error:

sander@HPtje:~$ netstat -s | grep -i octet
    InOctets: -1
    OutOctets: 1456778102
    InMcastOctets: 34396
    OutMcastOctets: 32852
    InBcastOctets: 656
sander@HPtje:~$

sander@HPtje:~$ netstat --version
net-tools 1.60
netstat 1.42 (2001-04-15)
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N
AF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE 
HW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT 
+FDDI +HIPPI +HDLC/LAPB +EUI64 
sander@HPtje:~$ 

sander@HPtje:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Saucy Salamander (development branch)
Release:        13.10
Codename:       saucy
sander@HPtje:~$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1074957

Title:
  improper value display in net-tools statistics.c

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/1074957/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to