Ethereal-users: Re: [Ethereal-users] tethereal command line options

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: Tue, 2 Apr 2002 20:50:06 -0800
On Tue, Apr 02, 2002 at 10:43:00PM -0600, chaitanya chapati wrote:
> 1) Is there any commandline option in tethereal to save the print summary
> of the  packets to a file .( through GUI I can do this using by right 
> clicking on the packet and selecting the print to a file option.)

Tethereal prints to the standard output; by default, that's the terminal
or console window, but if you redirect the output of Tethereal with the
standard UNIX and Windows syntax

	tethereal >file

it'll write to the file named "file".

> -w command option  Writes packet data to savefile., but i cannot save packet
>    summary(seq # , Ack #) with this option.

The packet summary includes the sequence number and ack number only if
you don't dissect anything past the TCP header, so if *that's* what you
want, even for protocols running atop TCP, there's no way to do it in
Tethereal, because there's no command-line option in Tethereal to
disable protocols.

> 2)  Is there any commandline option in tethereal to specify a dipaly filter.

The option is "-R".