ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] tetheral and -i - (stdin) option ...

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

From: rmkml <rmkml@xxxxxxxxxx>
Date: Mon, 30 Dec 2002 00:05:53 +0100
Thanks for all Guy,
You can send me the patch so that I the test ?
This patch goes in next version of Ethereal ?



Guy Harris wrote:

> On Wed, Dec 25, 2002 at 06:09:40AM +0100, rmkml wrote:
> > this patch work but Im not a C developper ...
>
> I've checked in a patch based on it but that doesn't make as many
> changes (some of the changes were unnecessary and broke stuff).
>
> > I found a new pbs,
> > after option "-i -",
> > is not possible add tcpdump/libpcap expression !
> > example: tethereal -t a -nri - 'ip and not tcp port 80'
>
> That's because nobody's written code to use "bpf_filter()" with the
> libpcap expression when capturing from a pipe (perhaps because they
> expected that the program piping *to* Ethereal would be doing the
> filtering).