This is reported as fixed in Debian net-tools 1.60-26, which is included
in every Ubuntu release since Vivid. This means that it should be fixed
in 16.04, 16.10 and the current development release (Zesty).
If this is incorrect, please reopen.
** Changed in: net-tools (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to net-tools in Ubuntu.
https://bugs.launchpad.net/bugs/597236
Title:
netstat statistics overflow
Status in net-tools package in Ubuntu:
Fix Released
Status in net-tools package in Debian:
Fix Released
Bug description:
Binary package hint: net-tools
In netstat's summary "netstat -s" the fields 'InOctets' and
'OutOctets' appear to be a 32 bit signed value. When sending or
receiving large amounts of packets the values occasionally wrap around
and change sign.
$ netstat -s
...
IpExt:
...
InOctets: 201874790
OutOctets: -2029455654
...
The raw data however is correct:
$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
lo: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
eth0:22360647 218274 0 0 0 0 0 5 76188265
129485 0 0 0 0 0 0
lab0:11152431249 131487214 0 0 0 0 0 6
51840697004 129560924 0 0 0 0 0 0
Versions:
ubuntu 10.04 - x64_86
net-tools 1.60
netstat 1.42 (2001-04-15)
Netstat should use a bigger integer type, at the very least use an
unsigned interger type.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/597236/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp