Hi,
I'm planning on implementing capturing from a pipe in ethereal because I
need this feature for my work (it will also allow us to make remote
captures).
My first ideas :
- the data in the pipe must be in pcap format ;
- the user will be able to specify a filename (for the pipe) in the
capture dialog (or on the command line);
- rewrite the current capture functions to be able to read the pipe
instead of using the pcap library if the interface name specified is a
pipe (I'm not familiar with this part of ethereal, I'll look into it
tonight).
Any suggestions on this ? I hope to finish it this week.
Olivier
P.S. :
For those interested :
I'm writing an application on a Linux system which will be used as a
gateway between an AIX system and a Bull Solar SPS5 (an old real time
system which I guess, is used only in France).
The Linux PC is connected to the Solar through a specific interface with
a proprietary driver, and of course, capturing data on this interface is
impossible.
So my intent is for my application to write the data exchanged with the
Solar to a pipe (raw IP data in pcap format) and read the pipe in
ethereal. The raw IP data will contain fake IP addresses for the PC and
the Solar. The decoding of the data (yet another proprietary protocol)
will be done by a plugin.
--
When you don't know what to do, walk fast and look worried.