Ethereal-dev: Re: [Ethereal-dev] Running from Command line and suppress the GUI

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: Thu, 19 Jul 2001 16:31:35 -0700 (PDT)
> If the Tethereal program can dump or export in some fashion to acsii then I
> can parse it.

If you run it with the "-V" flag and without the "-w" flag, it produces
output very similar to what Ethereal produces with "File->Print"
(because it largely runs though the same *code*); is that what you've
been doing with Ethereal?

> As for restarting the process - A capture file can capture in
> most cases only so much data.

The limit, in the case of Ethereal, Tethereal, tcpdump, snoop, etc.,
would be the minimum of

	the amount of disk space available;

	whatever limit the OS APIs the program is using impose (which
	might be a 2GB limit).

> I want to reinitiate the capture if it has a buffer limit.

There's no automatic way of doing that in Tethereal - or, I suspect, any
of the other programs, given that you'd be writing a textual dissection
rather than a capture file.