nmap / npcap

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

Npcap 0.98 - install hangs on creation Npcap Loopback Adaptor #395

Closed Zebrafish007 closed 3 years ago

Zebrafish007 commented 6 years ago

Hi,

The installation of Npcap 0.98 fails when install option Support loopback traffic is checked. The installer halts at the point where it reports "extract: WlanHelper.exe". If this option remains unchecked it installs normal (checked options are: first) Automatically start...', last) Install Npcap in...').

Win10 x64.

Attached a bunch of log files (normal and halted version).

Normal: install.log NPFInstall.log DiagReport-20180210-183617.txt

Halted: Halt - install.log Halt - NPFInstall.log Halt - DiagReport-20180210-183241.txt

dmiller-nmap commented 6 years ago

It looks like the "normal" install also had WinPcap API-compatible mode checked, and the "halted" version was a reinstall. I can't figure out from the logs what was the problem; it seems to stop during installation of the WFP callout driver, but the NPFInstall.log doesn't show that command being run at all.

I do see that the command to install the loopback adapter stopped logging in the middle of execution. This looks like a crash of some sort. Can you run NPFInstall.exe -il and report if it succeeds or not?

Zebrafish007 commented 6 years ago

Hmmm... this is the response: "Npcap Loopback adapter has failed to be installed.".

In the meantime I've added manually the Microsoft KM-TEST Loopback Adaptor and ran it with RawCap successfully. But.. while running Rawcap I now understand the remark about it why Npcap came to life and is there for all of us. Wireshark looks like Caploader and/or vice-versa ;-) The dumpfile of Rawcap I can read in Wireshark and see the communication what I send from client to server and back using local-host.

dmiller-nmap commented 6 years ago

@Zebrafish007 Are you still having this problem with Npcap 0.99-r6?

Zebrafish007 commented 6 years ago

@dmiller-nmap Cheers for the fix. It now works, also NMAP 7.70 installs just fine.

dmiller-nmap commented 6 years ago

Glad it's working for you!