When open a netmon pcap file (file magic GMBU) with the following code snippet, got error message
My code snippet:
the libpcap library I used is libpcap.so.0.8. It's strange because wireshark 1.10.6 can open this pcap file even though it uses the libpcap too (according to "ldd" command). The OS here is ubuntu 14.04. asked 04 Jan '17, 21:06 pktUser1001 edited 05 Jan '17, 11:06 Guy Harris ♦♦ |
One Answer:
You assume that libpcap is linked to Wireshark to open these capture files, but it's not. Wireshark uses another library, part of the Wireshark distribution, called wiretap to read all capture file formats. Originally the intend was to make it a super-libpcap, but only it's capture file reading capabilities were developed. answered 05 Jan '17, 00:12 Jaap ♦ |
Thanks Jaap!