nmap / npcap

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

[npcap] Windump crashing on start #433

Closed gpotter2 closed 3 years ago

gpotter2 commented 7 years ago

Hello, I cannot use windump with Npcap.

When i start it, i get the error (in french): http://imgur.com/a/GNFBG

Which means:

The entry point method getservent does not exist in the dynamic links library C:\Windows\System32\Npcap\windump.exe

I'm working with Npcap 0.81 installed with default options, on a x64 windows 10 (latest insider) computer. wpcap.dll is working perfectly

I would really like to have it working...

Side note: I used to have Winpcap, which I uninstalled with the GUI, then removed manually C:\Windows\System32\Packet.dll and C:\Windows\System32\wpcap.dll.

dmiller-nmap commented 7 years ago

Thanks for the report. WinDump is not provided with Npcap, so it's possible that the version you have installed was built for an earlier version of Npcap. If you install Npcap in WinPcap-compatibility mode, it should work, but I believe @hsluoyz has a Npcap-compatible WinDump repository, if you are able to compile it yourself. Please let us know if you believe the situation is different.

hsluoyz commented 7 years ago

Just as Dan said, the original WinDump can't be used with Npcap, because the latest Libpcap interface has removed some deprecated functions which are imported by it. Please use the WinDump here: https://github.com/hsluoyz/WinDump

gpotter2 commented 7 years ago

Thanks for the explanation & your help.

I've tried using the provided version but got a problem related to Windump, so i will post it in the WinDump repo. (https://github.com/hsluoyz/WinDump/issues/1)