Gns3-gui: Unrecognized libpcap format or not libpcap data

Created on 25 Aug 2017  路  12Comments  路  Source: GNS3/gns3-gui

There are issues with libpcap on Windows and it's needed to check why it happens.

References:
https://gns3.com/qa/-unrecognized-libpcap-format-or-
https://gns3.com/qa/gns3-and-wireshark

Bug

All 12 comments

Looks like in some situations the packet capture is forbidden and somehow the error message is saved in the .pcap file, hence the unrecognized libpcap format.

wireshark_pcap_error

https://github.com/GNS3/gns3-server/commit/c22229101f2a499cd3ff4b115d8221a309b7584c

I've improved the error reporting a bit but an user will still be unaware of the reason why we can't stream a PCAP file. @ziajka @noplay any idea how we could improve this?

I can reproduce that issue only when using npcap from version 0.08-r4. I've opened an issue on their side: https://github.com/nmap/nmap/issues/997

I didn't replicate the issue when using the last npcap version (0.94).

I have got this error by downloading the portable version 2.4.0 and 2.4.2. I unpacked the exe-file with 7zip, because I don't want to install the software (portables should be startable without installing).
When I klick on the fin, the error appears.

Some users still get that issue: https://gns3.com/qa/gns3-2-1-wireshark-issue

The server will send a notification when it cannot stream a PCAP file. This should help with debugging this issue.

https://github.com/GNS3/gns3-server/commit/3e3e1df051f126d90d38ca3d186a5366d7f6bc86

Note that BitDefender may be a cause: https://gns3.com/qa/gns3-2-0-3-wireshark-captures-no

I don't have BitDefender, and I am getting this problem only with the portable version. (2.4.3)

Ok, It's because WinPCap isn't installed... https://www.winpcap.org/install/default.htm

I am getting same error for portable version. It seems that WinPCap is not installed on my machine. However we need admin privileges for installing WinPCap. I dont have admin privileges on this machine. As this is a portable version, I guess there has to be some workaround. If there is no way to install WinPCap without admin privileges, if wireshark depends on WinPCap and if portable wireshark does not come bundled with WinPCap, then how it is portable?

Was this page helpful?
0 / 5 - 0 ratings