Ethereal-users: Re: [Ethereal-users] How to start ethereal with capture filters enabled already

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

From: Mark Grigsby <mark@xxxxxxxxxx>
Date: Wed, 15 Dec 2004 10:02:29 -0800
Ariel..

On *Nix distributions, I use command line specifications for captures in 
simple shell scripts.  for instance...

ethereal -i eth1 -f "net 192.168.0.0/24 and port 110" -k

this will start ethereal with the capture defined as listening to ethernet 1 
interface, and looking for traffic on port 110 on network 192.168.0.0/24..  
(192.168.0.0 mask 255.255.255.0) the -k at the end means to start the capture 
now.  If you omit the -k at the end, it will preload the capture filter but 
you will still have to manually start the capture.



On Wednesday 15 December 2004 07:00 am, Ariel Burbaickij wrote:
> Hello dear mailing list participants,
> I would like to get capture filters
> (several of them)
> enabled already when the ethereal
> starts, wtihout specifying them in graphical
> menue, is it possible?
>
> With Best Regards
> Ariel Burbaickij
>
> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-users

-- 
Mark Grigsby
Network Operations Manager
PCI  (Preferred Communications Inc.)
P.O. Box E Lakeside, OR. 97449
Voice: 800-787-3806
Fax: 1-541-759-3126