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: [Wireshark-users] TShark / Mergecap - Problem converting file type from command line.

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


From: "David DuPre" <david@xxxxxxxxxxxxxxxx>
Date: Tue, 19 Jun 2007 10:55:32 -0700

Guy,

  I am running Wireshark (mergecap.exe) Version 0.99.5 (SVN Rev 20677)on WinXP and I need to automate the conversion of
a *.cap file from TCPDump (AIX, and RHat) into Sniffer Pro 2.0 version of the file.

  Doing this from the GUI seems to work, but when I try this from the command line using "mergecap.exe" or "tshark.exe"
I get this error:

(tshark: The capture file being read can't be written in that format.)

The command line I am using is:

tshark -r top8_en0_w1ite_20070618_1700_NoNFS.cap -F ngwsniffer_2_0 -w outfile.cap

This below also fails:

mergecap.exe -F ngwsniffer_2_0 -w OUTPUT1.cap -r tempfilename.cap

Both with the same error message, is this a bug in this release?
If there is a version that will work I will gladly install the older release.

I considered trying to save it in "libpcap" format first with the command line but it fails with the same error message.

Thank for any help you can provided,

David

David DuPre'
Mobile: 423-503-3799




  • Follow-Ups:
    • Re: [Wireshark-users] TShark / Mergecap - Problem converting file type from command line.
      • From: Sake Blok
  • References:
    • [Wireshark-users] Dissector and Packets Bytes Pane
      • From: Kaushal Shriyan
    • Re: [Wireshark-users] Dissector and Packets Bytes Pane
      • From: Guy Harris
  • Prev by Date: [Wireshark-users] rpm-build
  • Next by Date: [Wireshark-users] Ping not showing up
  • Previous by thread: Re: [Wireshark-users] Dissector and Packets Bytes Pane
  • Next by thread: Re: [Wireshark-users] TShark / Mergecap - Problem converting file type from command line.
  • Index(es):
    • Date
    • Thread

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