Ethereal-dev: Re: [ethereal-dev] Security race in ethereal leading to root access

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Fri, 30 Jul 1999 14:17:42 -0500
On Fri, Jul 30, 1999 at 01:39:26PM -0500, Guy Harris wrote:
> 
> 
> ...but only when we make wiretap capable of doing packet capture; we
> don't need that if we're only writing a capture out (the filtering is
> done there by "libpcap" when we read the capture from BPF or SOCK_PACKET
> or DLPI or...).

I see now. Don't use the pcap_dump_open() routine, but rather, have
wiretap receive the callback from pcap_loop, and have wiretap write
the data to a file. I like that.

--gilbert