Wireshark-dev: Re: [Wireshark-dev] Npcap 0.04 call for test
From: Yang Luo <[email protected]>
Date: Sun, 16 Aug 2015 20:18:51 +0800
Hi Pascal,

I think this BSoD is caused by the Winsock Kernel init code in Npcap driver (NPF_WSKStartup call or NPF_WSKInitSockets call failed). I can't reproduce it on my Win8.1 VM, Win10 VM and Win10 physical host. I used VMware Workstation 11.1.2 for my VMs. I don't know which type your VM is? There shouldn't be pretty much hardware difference between VMs. What special software has you installed on your VM? The boldest idea is that you provide a VM image that occurs this problem if you like.

Another way is that you try the installer with debug trace on below. With DebugView on ("Capture Kernel" on and "Enable Verbose Kernel Output" on), then install this debug version Npcap, launch Wireshark. The error message should then be recorded in DebugView, save the text into the log file and give it to me. Through this way I could know the failed function call and its error code, while I don't know if this could give me enough information to fix it, but it's an easier way.

Npcap 0.04 with debug trace on:



On Sun, Aug 16, 2015 at 2:10 AM, Pascal Quantin <[email protected]> wrote:
Hi Yang,

2015-08-15 14:38 GMT+02:00 Yang Luo <[email protected]>:
Hi list,

Thanks for your tests for the first 3 versions of Npcap, with your tests I am able to release Npcap 0.04 version as below:
1) Fixed the BAD_POOL_CALLER BSoD.
2) Updated Packet, NPFInstall, NPcapHelper projects to MSVC 2010, updated driver to MSVC 2015.
3) Fixed the "Malformed Packet" bug when executing commands like "ping -t -l 65500".
4) Added loopback packet sending support using Winsock Kernel technique.
5) Fixed the bug that Npcap loopback adapter fails to capture packets when capture filter is specified.
6) Fixed the bug that Npcap fails to capture all chargen protocol packets.
7) Fixed the bug that Npcap didn't finish IRP when opening adapter fails, this perhaps causes some issues, like the IRQL_NOT_LESS_OR_EQUAL BSoD. I don't know if it is fixed, please let me know the result. (also the results of the 6 sub-versions for 0.03-r5)

The latest Npcap installer is:

Previous versions can be found at:

I have tested this version Npcap under Wireshark 1.99.8 x64, in Windows 8.1 x64 and Windows 10 x64.

1) You need to try it under Win7 and later, and no need to change the installation options, just click the "Next"s. Npcap installed in "WinPcap Compatible Mode" is exclusive with WinPcap, so you must uninstall WinPcap first (installer will prompt you this).
2) If you have installed WinPcap, better to reboot the PC after uninstalling Winpcap and then install Npcap.

The README is:


On my Windows 10 x64 virtual machine, the BSoD appears with changeset fdaaa13 (npcap-nmap-0.03-r5-4) and happens with all subsequent 0.03 releases. I cannot test with the Windows 7 x64 PC I used initially before the 1st of September, so hopefully this is the same root cause.
Npcap 0.04 does not crash on the same machine but the loopback interface is not listed in Wireshark (the network interface is installed though).


Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe