Bug 146195 - Wrong sent and received bytes values for current connection after a network restart using NetworkManager
Summary: Wrong sent and received bytes values for current connection after a network r...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: knemo
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: John Stamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 13:12 UTC by Andrea
Modified: 2018-10-29 22:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea 2007-05-31 13:12:51 UTC
Version:           0.4.8 (using KDE 3.5.7 "release 10.1" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.18.8-0.3-default

I'm using openSuse 10.2 with kde 3.5.7 release 10.1 with knemo 0.4.8. I control network interfaces using NetworkManager.

I've noticed that when I restart NetworkManager, in knemo popup and in the interface status window, values of sent and received bytes of current connection are wrong. In particular, their initial value is 4GB instead of 0. Other values, like packets, are right, as happens to informations about statistics, that are reasonably right.

Some values of eth0 interface status window:
Current connection:
Packets: 46882 (sent) 104607 (received)
Bytes:   4.0GB (sent) 4.1GB (received)

Statistics:
Today:   12.0MB (sent) 251.2 (received)

Some values from system:
orodruin:/tmp # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:C0:9F:8D:4B:F0
          inet addr:xx.xx.xx.xx  Bcast:xx.xx.xx.xx  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:104996 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46945 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60789608 (57.9 Mb)  TX bytes:7266035 (6.9 Mb)
          Interrupt:169
orodruin:/tmp # cat /sys/class/net/eth0/statistics/rx_bytes
60837751
orodruin:/tmp # cat /sys/class/net/eth0/statistics/tx_bytes
7274506

Moreover, every time I restart NetworkManager, initial values of sent and received bytes of current connection increase of 4GB respect to previous values.
Comment 1 Percy Leonhardt 2007-11-22 17:22:24 UTC
Cleanup of open bugs. KNemo development was discontinued and there will be no port to KDE4.
Comment 2 Andrew Crouthamel 2018-10-29 22:08:12 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug.