nmap / npcap

Nmap Project's Windows packet capture and transmission library
https://npcap.com
Other
2.97k stars 514 forks source link

Npcap cannot install in WinPcap-compatible mode when Win10pcap is installed #405

Closed dmiller-nmap closed 3 years ago

dmiller-nmap commented 7 years ago

Win10pcap installs wpcap.dll and Packet.dll but does not use the npf.sys driver name that WinPcap used. Based on DLLs, Npcap's installer thinks that WinPcap is installed, but since it is not, it cannot be uninstalled. We should detect Win10Pcap and refuse to install in WinPcap-compatible mode, notifying the user that it must be uninstalled first. We should be able to install in normal Npcap-API mode without issues.

dmiller-nmap commented 6 years ago

Intended fix: Detect Win10pcap by executable file version of Packet.dll, and disable WinPcap-compatible mode in the installer if it is present. Notify the user so they can manually uninstall it if necessary.

dmiller-nmap commented 6 years ago

This fix is in place in Npcap 0.95.