Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dmiller-nmap opened this issue Sep 3, 2017 · 4 comments

Comments

@dmiller-nmap
Copy link
Contributor

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
Copy link
Contributor Author

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
Copy link
Contributor Author

This fix is in place in Npcap 0.95.

@fyodor fyodor transferred this issue from nmap/nmap May 5, 2021
@shrddr
Copy link

shrddr commented Dec 27, 2024

the warning about this in the installer is incomplete or cut off for some reason
image

@fyodor fyodor reopened this Dec 27, 2024
@fyodor
Copy link
Member

fyodor commented Dec 27, 2024

Thanks for the note, @shrddr. Re-opening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants