Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Wireshark from command line?

From: Raymond Jender <rayj00@xxxxxxxxx>
Date: Fri, 21 Dec 2007 12:03:49 -0800 (PST)
I am developing a script that executes java code to
send TCP packets out. I need to be able to record
the packets sent and packets received. I thought being
able to fire  up WS from the command line, but that
brings up the GUI. I'd rather capture the packets in 
the background and save them. I need to do something
like this:

1. test = 1
2. Start up packet capture
3. Run test. Send TCP packets out and expect a
response.
4. Stop the packet capture (save the capture in a
file)
5. Test = Test + 1
6. Go to 2

Any ideas?

Thanks,

Ray


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ