Ethereal-dev: Re: [Ethereal-dev] BUG in "Export as PSML" and "as CSV"

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Stefano Pettini <spettini@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 09 Mar 2005 23:04:12 +0100
Ulf Lamping wrote:

However, the matlab output seems very specialized to me, as it only exports a single pair of data helpful in only some cases. So I don't tend to check this in in it's current form.

I definitively need that feature. Since it's not so
Matlab-specific, we can rename it to "Export to traffic data", "to IO
data" or something similar.

We might need to have some way to select which data has to be exported, to be somewhat more generalized and helpful to more people.

Well, you can select which data using filters and then export only
displayed packages.

Out of interest: What's the reason you don't use the IO graph but matlab?

Many reasons:

1) I can't save IO graphs to files! (I have to take a screenshot to
capture the image :-((( It's a nightmare, especially when it's necessary
to scroll the graph horizontally.

2) I can't perform calculation on captured data (e.g. total bytes sent
from/to a host or multicast group, average packet size, average
frequency of a series of packets, ...) and I need these infos.

3) I can only manipulate summarized data with a sample period of 0.1, 1
and 10 seconds.

4) I can only manage 5 filters.

5) Matlab figures have more options to specify colors, type of line
drawn, logarithmic scales, and so on...

I think my solution provides the user with a good level of flexibility.
Yes, if you want to use exported data to plot a graph, you still have to
resample the amount of transmitted data, so it could be easier to export
directly the samples computed by Ethereal IO graph processing. An
additional "Export" button on that window could be useful, but I
think a global "export to IO data" is important too.

There are scripts on the net to convert tcpdump files to matlab
matrices. I think an export feature integrated in Ethereal is better, simply because you see what you export :-)

Could you split out the CSV related parts and send another patch with
 only theses changes (I've very little time...)?

Ok, I'll write a CSV-only patch as soon as I can.

P.S: It's not necessary to put both patch and diff in the filename ;-)

Yea! "patch" is the name, "diff" is the extension :-)

Ciao
Stefano