Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: Re: [Wireshark-users] Is it possible to merge multiple capture files based on a filter?

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Hansang Bae <hbae@xxxxxxxxxx>
Date: Fri, 04 Apr 2008 22:17:27 -0400

ccie wrote:
All:
I have been searching around to no success....
I have wireshark capturing 'all' packets continuosly for 10000 files (buffer ring file) of 16MB each. Now I need to find a way to extract certain packets based on a display filter and output to another set of file. is it possible to do this on the command-line (Windows DOS prompt) with filename wild-card?

You can use tshark to parse out what you need.

tshark -r <infilename>  -R ip.addr==192.168.1.1  -w <outputfilename>

The -R will let you use any of the display filters. Couple the above with some FOR loop and you should be fine.


--

Thanks,
Hansang

  • Prev by Date: [Wireshark-users] It was great meeting you guys during the Sharkfest!!
  • Next by Date: Re: [Wireshark-users] Looking for some help or advice with an issue
  • Previous by thread: [Wireshark-users] It was great meeting you guys during the Sharkfest!!
  • Next by thread: Re: [Wireshark-users] Looking for some help or advice with an issue
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation