Ethereal-users: Re: [Ethereal-users] Automation of Ethereal

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

From: Paul Hoffman / VPNC <paul.hoffman@xxxxxxxx>
Date: Thu, 11 Sep 2003 09:44:47 -0700
At 9:26 AM -0700 9/11/03, Guy Harris wrote:
On Thu, Sep 11, 2003 at 11:19:25AM -0500, Munshi, Shahid K. (Manpower Contract) wrote:
 Is there any way I can open Etherreal from Python and start and stop
 capturing network packets in Windows 2000 ?

There's no way, from outside Ethereal, to force it to stop capturing
packets.

But there is a way with tethereal: simply stop the program. You should be able to pipe the tethereal output to a file and, based on the size or contents of the file, stop tethereal from another process. I know you can do this in Perl; it seems likely you can do it in Python.

--Paul Hoffman, Director
--VPN Consortium