Ethereal-users: Re: [Ethereal-users] tethereal performance questions

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 19 Oct 2005 18:53:42 +0200
On Wed, Oct 19, 2005 at 12:32:03AM -0700, Guy Harris wrote:
> >Can the developers put the '-r -' functionality in?
> 
> Not very conveniently.  Tcpdump reads fewer types of capture files than 
> does Tethereal; Tethereal's capture-file-reading library (the same one 
> as Ethereal) determines the file type (and some other characteristics of 
> the file) by trying to read the file multiple times.  That's done by 
> seeking back to the beginning of the file and reading; that doesn't work 
> on pipes.

There is another way to do this quite easily: When running from a pipe,
*force* the user to specify the input file format (just recycle the -F
option?)

 Ciao
        Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.