Ethereal-dev: Re: [Ethereal-dev] trying to input new format file

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: Fri, 29 Oct 2004 09:59:03 -0700
harsha ss wrote:

  I have installed ethereal 0.10.7 version on linux machine it works well.
I am trying to read the file which consists of the data in separate format
ofcource not in the libcap format.When i try to do so I am getting the error
that this file format can not be understood by the ethereal.It understands
several formats including .html.

It understands several formats, *NOT* including HTML. It understands the HTTP *protocol*, i.e. it can dissect HTTP requests and responses in protocol traces, and it can display HTML payload in HTTP requests and responses as text, but it can't read an HTML file as if it were a capture file.

I want the ethereal to make our format of files to understand.
   Which part of the code

The code that knows how to read capture files is in a library called "Wiretap"; the source to Wiretap is in the "wiretap" subdirectory of the Ethereal source code.