This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hello,
I'm trying to analyze QUIC traffic and tried Wireshark 2.1.0 with QUIC dissector on MAC El Capitan - it works great. The issue I'm having is with using tshark. When setting it to display QUIC fields it does not print information related to QUIC to stdio and when I tried "-w file" it writes this only line and exits:

\M<+????????8TShark (Wireshark) 2.1.0 (v2.1.0-0-g46f9217 from master)\,q???????? ,[email protected]:~/PXPRS/tests$

The tshark command i'm using is this:
sudo tshark -r test.pcap -w test.out -d "udp.port==12346,quic" -T fields -e udp.srcport -e quic.tags

It does print everything related to the legacy protocols - udp, tcp, http etc. tshark also complains on some missing libraries when trying sudo tshark -D:

dyld: Library not loaded: @rpath/libssh.4.dylib Referenced from: /Applications/Wireshark.app/Contents/MacOS/extcap/ciscodump Reason: image not found
dyld: Library not loaded: @rpath/libssh.4.dylib Referenced from: /Applications/Wireshark.app/Contents/MacOS/extcap/sshdump Reason: image not found

How do i fix it?
Any help is greatly appreciated.

iez

asked 06 Jul '16, 07:36

iez's gravatar image

iez
6224
accept rate: 0%

edited 06 Jul '16, 07:41

Could you please file a bug on the Wireshark bugzilla and attach the test.pcap file, so we can try to reproduce the problem? It might be an issue of one-pass vs. two-pass processing.

when I tried "-w file" it writes this only line

-w doesn't write lines to the file, it writes a binary pcapng file by default. That file can be read by TShark and Wireshark and programs that use a sufficiently recent version of libpcap - your Mac probably has a sufficiently recent version of libpcap, so the tcpdump that ships with your Mac can probably read it. It is NOT, however, a text file, so you CAN'T read it with cat or more or less or TextEdit or....

dyld: Library not loaded: @rpath/libssh.4.dylib Referenced from: /Applications/Wireshark.app/Contents/MacOS/extcap/ciscodump Reason: image not found

That might be an issue with the process of building the installation dmg for Wireshark. Try one of the 2.2.1 builds from the automated builds directory.

(07 Jul '16, 00:47) Guy Harris ♦♦

Guy, thanks for the reply. I did try 2-path processing - same result. The file produced with "-w file" is empty being opened by wireshark (size 136B). Sorry fro not being more specific. Filed a bug. Will try 2.2.1

(07 Jul '16, 06:26) iez
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×832
×53
×8

question asked: 06 Jul '16, 07:36

question was seen: 768 times

last updated: 07 Jul '16, 06:26

p​o​w​e​r​e​d by O​S​Q​A