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

Ethereal-users: [Ethereal-users] dumpcap run from the command line without "-w" - is that useful

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 29 Apr 2006 11:08:14 -0700
Guy Harris wrote:

Of course, the file it wrote to when I last tried it was "/var/tmp/ether47NNKLzrLm", as I hadn't given it any "-w" flag to tell it to write to a particular file, so it created a temporary file.

Should it report the name of the temporary file in that case, or should it fail if it's not being run with a capture pipe (i.e., if it's not being run by Ethereal, which would read the temporary file name from the capture pipe), so that you have to use "-w" when capturing from the command line? (I.e., is the ability to capture to a temporary file useful when it's run from the command line?)