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: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 30 Jul 1999 11:33:45 -0700 (PDT)
> > In this particular case, I'd be inclined to switch to using "wiretap" to
> > write out the capture file, adding the ability to do that to "wiretap",
> > and have "wiretap"s API include a "wtap_dump_fdopen()" call or something
> > such as that, which takes a file descriptor rather than a file name.
> 
> Yes. But we'd need to include some capture filter facility in wiretap.

...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...).