Ethereal-dev: Re: [ethereal-dev] XML piping. Was: Some ideas...

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

From: Juan Toledo <toledo@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Mar 2000 09:33:42 +0100
On Wed, Mar 01, 2000 at 04:19:11PM -0500, Dan Warburton wrote:
> I think it would be a nice if etherape would accept XML'ized 
> data stream on a socket. So ethereal could invoke the program
> and send the data stream...
> 
> <packet number="1">
>   <ethernet>00:c0:4f:6b:9f:e0 00:c0:4f:30:20:11</ethernet>
>    <ip>192.168.44.1 192.168.68.1</ip>
> </packet>
> 
> or more verbose:
> 
> <packet number="1">
>   <ethernet>
>      <source> 00:c0:4f:6b:9f:e0 </source>
>      <destination> 00:c0:4f:30:20:11 </destination>
>   </ethernet>
>    <ip>
>      <source> 192.168.44.1 </source>
>      <destination> 192.168.68.1 </destination>
>    </ip>
> </packet>

I'm all for XML piping. That way I could keep the current main
loop by which I give gdk a file descriptor to read at, and so
freebsd would be supported by means of ethereal data input.
I'll leave you guys the discussion of the DTD, though. :-)

And I was planning to use XML, anyways, if for a different
purpose. I want to be able to set per nodes preferences,
including positioning nodes (and probably logically grouping
them as well) in the diagram, and XML would be the file format
of choice.

And yet another idea. I think that if the XML thing goes 
forward it should be a wiretap supported format, but I guess
that's obvious. By the way, ¿when will wiretap be able of
capturing packets from the wire?

Regards,
Juan.