Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] mergecap from fifos

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

From: Richard van der Hoff <richardv@xxxxxxxxxxxxx>
Date: Tue, 25 Oct 2005 11:29:05 +0100
Richard van der Hoff wrote:
Hi,

The attached patch and replacements of wiretap/file_wrappers.{c,h} address the can't-mergecap-from-fifos problem by adding a layer of buffering to capture file access in wiretap.

This trick only works for capture file formats which can be read incrementally in a single pass, but since that includes libpcap, I've found it to be adequate for my needs.

I've found it works pretty well for me, but please do share any comments.

Does anyone have any further comments on this? Given how long I've *really, really* wanted this feature, I can't believe I'm alone.

In case anyone missed the relevance: the point of this is that you can do two live captures at once (for instance, from different interfaces with finer control than "all", or even from different machines).

Cheers

Richard

--
Richard van der Hoff <richardv@xxxxxxxxxxxxx>
Systems Analyst
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com