Mtr

How to calculate packet loss from 'raw' mode?

Bug #958406 reported by Ask Bjørn Hansen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mtr
Triaged
Wishlist
Unassigned

Bug Description

I'm adding a traceroute tool to the NTP Pool system ( http://www.pool.ntp.org/ ) and I'm basing it on the "raw" output from mtr.

Currently to calculate packet loss I compare the number of received packets with the highest number of packets returned by a later hop. Is that correct or is there a better way without updating the raw mode to also know about sent packets?

Revision history for this message
rew (r-e-wolff) wrote :

You're right. The raw mode may not provide enough information to present all the info that is now shown by the output modules. For this case, the raw mode needs to be expanded.

Parsers for raw mode should know that the format may still change: Additional output lines may provide more info later on, and should be ignored by users based on an earlier version.

So: Feel free to send in a patch that adds this info to the raw mode.

Changed in mtr:
status: New → Triaged
importance: Undecided → Wishlist
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.