Ethereal-dev: Re: [Ethereal-dev] Advice on how to make a protocol grapher

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

From: Jason House <jhouse@xxxxxxxxx>
Date: Fri, 23 May 2003 13:47:50 -0400
Here's a thought:  ring taps...

Ethereal supports ring buffers... it can capture for a while, writing to a file, and then moving on to use the next file in the ring... If the file switching could be done at regular time intervals (which might already exist, I'm just not familiar with the feature), and the io,stats could be "drawn" and then reset at each transition... Then you *should* be able to get graphable data at regular time intervals.


To me, it sounds like it should be a straight-forward item to implement. There is (or should be?) a well defined point in the code where the transition between ring buffers occurs. Putting in a few tap specific calls in there should be relatively straight-forward. Of course, finding the "right" way to do that so that any and all taps can conditionally benefit from such an feature would be the hardest part... ie. it might be easy to get it to work, but hard to get it to work right :)

ethereal-dev-request@xxxxxxxxxxxx wrote:
Message: 1
Date: Fri, 23 May 2003 14:23:29 +0200
From: B. Lo?c <50891@xxxxxx>

Hi,

First, thanks Ronnie for pointing out the -z option of tethereal. My
RedHat
comes with tethereal 0.9.6, which seems not to have this option... (wget
and
make are not far away...).

<snip>
>
Jason was right, "it's a matter of trying to make what already exists
work in
real time" !

I'll continue thinking about possible solutions. If you have other ideas
(either completely new or based on tethplot), please let me know.

Regards,

Loïc