Ethereal-users: [Ethereal-users] RE: RE : [Ethereal-dev] Help!!

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

From: "Venkatesh, Susheel" <susheel@xxxxxx>
Date: Thu, 26 Jun 2003 11:36:35 +0530
Title: Help!!
Thanks a lot for the reply.
I have tried this option of using tethereal in the past, but, there is still one major problem. Is there a way I can save "file.pcap" in text format?
To the best of my knowledge, the only way to save capture in text format is by opening the capture in Ethereal and use "Print to File". Am I missing something?
-----Original Message-----
From: RABRET Laurent FTRD/DAC/ISS [mailto:laurent.rabret@xxxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, June 25, 2003 7:02 PM
To: Venkatesh, Susheel; ethereal-dev@xxxxxxxxxxxx; ethereal-users@xxxxxxxxxxxx
Subject: RE : [Ethereal-dev] Help!!

You must use tethereal instead of ethereal. There's an autostop condition –a and you can fix a limit in time or size. For example, to capture just 1kB in "file.pcap" from the default interface use :

tethereal -a filesize:1 -w file.pcap

 

see http://www.ethereal.com/tethereal.1.html for more info

 

 

-----Original Message-----
From: Venkatesh, Susheel [mailto:susheel@xxxxxx]
Sent:
Wednesday, June 25, 2003 3:19 PM
To: 'ethereal-dev@xxxxxxxxxxxx'; 'ethereal-users@xxxxxxxxxxxx'
Subject: [Ethereal-dev] Help!!

 

Hi,

I am trying to develop a Automated test-suite which would require controlling Ethereal. I was just wondering if I can get custom-made executable that would allow me to control Ethereal (start, stop and save ethereal capture in text format from an external application) or if someone could suggest how to add this functionality into Ethereal.

The sequence of steps during a typical test is as follows. These steps are to be executed using an external application (the automation test tool):-

1) Launch ethereal and start (this can be done from the command-line and there is no problem with this step)
2) Run a test-script
3) Stop capture and save the capture in text-format (there is a problem here; there is no way I can control ethereal from an external application and there is no command-line option to stop and save capture in text-format)

I am using Windows 2K. What all do I require to take the ethereal source code and compile it on my PC?

I would appreciate some help on this.

Thanks,
Susheel