iptraf - wrong in data rate

Bug #1507153 reported by Benji
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iptraf (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

# apt-cache policy iptraf
iptraf:
  Installed: 3.0.0-8.1
  Candidate: 3.0.0-8.1

In iptraf:

Statistical breakdowns...
--> By TCP/UDP port
--> ethX

The bottom of the screen (status bar) now shows (example values):
"Protocol data rates (kbytes/s): 0,00 in 50,00 out 50,00 total"

Bug:
The "in" rate always stays 0,00 (and therefore the our rate equals always the total rate). The statistics above show corectly, that data is send or received. But regardless of in or out data, only an (average) out value ist shown (even if only data is received).

Expected:
Outgoing packages/data should be used for the out value calculation and incoming packages/data for the in data calculation.

Example:
Two connections:
TCP/http --> Receiving data (for example a online-straming-video is playing)
TCP/ssh --> Sending data (backup to a remote computer)

For both connections the status bar schows:
"Protocol data rates (kbytes/s): 0,00 in XX,00 out XX,00 total"

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Please specify what Ubuntu release you are using and provide exact steps to reproduce the problem. Once done, please change the bug status back to New.

From your description it sounds likely to me that this bug also affects Debian and upstream. If this is the case, then a report should be sent upstream so that it can be fixed there and the wider community can benefit.

Changed in iptraf (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for iptraf (Ubuntu) because there has been no activity for 60 days.]

Changed in iptraf (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.