Ethereal-users: Re: [ethereal-users] Error when starting capture.

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

From: Gilbert Ramirez <gramirez@xxxxxxxxxx>
Date: Mon, 3 May 1999 09:23:50 -0500
On Mon, May 03, 1999 at 09:08:29AM -0500, Gerald Swann wrote:
> 
> 
> 
>   Did you type in a valid filename to capture to in the filename box?
> 
> gerry

As of 0.6.1, you no longer are given an opportunity to type in a
filename in the capture dialog box. Ethereal now works like other
commercial "sniffer" programs in that it captures packets to a temporary
file, the name of which is unknown to you. If you decide to keep the
trace, then you save the trace. At that time you are asked for a file
name.

What Ethereal does is call the tempnam() function in <stdio.h> to create
a temporary name. It passes this name to libpcap for the capturing.

--gilbert