Ethereal-dev: [ethereal-dev] pipe capture checked in

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

From: Olivier Abad <abad@xxxxxxxxxxxxx>
Date: Sun, 30 Jul 2000 19:22:19 +0200
Hi,

I justed checked in support for capturing from pipes. It's almost the
same code I posted last week, with a few comments added.

I didn't have time to add support for specifying a command from whose
standard output Ethereal would read data, as suggested by Guy. I'll
probably won't be able to do it for the next two weeks.

All the code is #ifdef'ed so as not to be compiled on WIN32. I don't
think named pipes exist on WIN32 but I could be wrong. And support for
reading standard input should be possible. I don't use WIN32 systems but
if this is possible, I'm sure someone will modify the code to allow it.

Olivier

P.S. : this will not work with captures done with broken libpcap
libraries from RedHat 6.1 and SuSE 6.3, because we can't seek on pipes
to check the first record header (as in libpcap_open()).
-- 
We read to say that we have read.