Skip to content
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

Npcap Vn 0.9989 causes NIC General Failure #1998

Closed
Hal2000v3 opened this issue Apr 11, 2020 · 15 comments
Closed

Npcap Vn 0.9989 causes NIC General Failure #1998

Hal2000v3 opened this issue Apr 11, 2020 · 15 comments

Comments

@Hal2000v3
Copy link

@Hal2000v3 Hal2000v3 commented Apr 11, 2020

Build Information:
(This from the previous working version of Wireshark/Npcap)...

Version 3.2.2 (v3.2.2-0-ga3efece3d640)
Copyright 1998-2020 Gerald Combs gerald@wireshark.org and contributors. License GPLv2+: GNU GPL version 2 or later https://www.gnu.org/licenses/gpl-2.0.html This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with Qt 5.12.6, with WinPcap SDK (WpdPack) 4.1.2, with GLib 2.52.3, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.39.2, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.9, with QtMultimedia, with automatic updates using WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled resampler), with SBC, with SpanDSP, with bcg729.
Running on 64-bit Windows 7 Service Pack 1, build 7601, with Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (with SSE4.2), with 16336 MB of physical memory, with locale English_United Kingdom.1252, with light display mode, without HiDPI, with Npcap version 0.9986, based on libpcap version 1.9.1, with GnuTLS 3.6.3, with Gcrypt 1.8.3, with brotli 1.0.2, without AirPcap, binary plugins supported (19 loaded). Built using Microsoft Visual Studio 2019 (VC++ 14.24, build 28316).
Wireshark is Open Source Software released under the GNU General Public License.


The latest version of Npcap (0.9987(?) bundled with Wireshark Vn 3.2.3) causes a General Failure on my NIC card (Intel 82579V Gigabit Network Connection, Driver 11.13.51.0 built by WinDDK).

Uninstalling Npcap or reverting to this previous version (64-bit Wireshark Vn 3.2.2, Npcap Vn 0.9986) gives me a functioning NIC card - hence I can post this bug report.

@MrSmite
Copy link

@MrSmite MrSmite commented Apr 12, 2020

Same problem here.

Win 7 had "limited access" on my wireless adapter (Intel Dual Band AC 8260) after reboot. Uninstalling Npcap fixed the problem.

@RadarNyan
Copy link

@RadarNyan RadarNyan commented Apr 12, 2020

Same for me,

Npcap works after installation, but after reboot network is down (General Failure)

Realtek GbE RTL8168 / Windows 7 SP1 64-bit / npcap-0.9990

Uninstall Npcap (without reboot) fixes the problem.

Went back to an older version comes with Nmap stable release (npcap-0.9982-oem.exe), doesn't have this problem.

EDIT: base on erasmo52's comment below, I installed 0.9988 and it works fine after reboot. So whatever breaks it must be between 0.9988 and 0.9989

EDIT2: I've experienced a BSOD when waking from sleep using 0.9988, going back to 0.9987 for the time being.

@erasmo52
Copy link

@erasmo52 erasmo52 commented Apr 12, 2020

I had same problem upgrading wireshark from 3.2.2 to 3.2.3. It install npcap 0.9989.
Same problem installing npcap 0.9990. For both the installation stop with the error: "A LWF & WFP driver installation tool has stopped working". Installing the npcap 0.9987 all work fine, it is the last release installing and working fine.
Where is the problem?
Thanks for your attention.

@doomgod
Copy link

@doomgod doomgod commented Apr 16, 2020

Same problem here. Windows 7 SP1 x64, fully updated to april 2020.
IPv4: No network access - after a reboot. The chip is Intel 82579V. CPU: Core i7-4960X
The only option selected was WinPCap compatible mode.

@samuel-jimenez
Copy link

@samuel-jimenez samuel-jimenez commented Apr 20, 2020

Windows 7 SP1 x64.

Having the Npcap Packet Driver enabled for an ethernet connection prevents it from obtaining an IP address.

Disabling the driver and performing a release/renew will allow the connection to obtain an IP address, at which point npcap can be re-enabled.

@Hal2000v3
Copy link
Author

@Hal2000v3 Hal2000v3 commented Apr 20, 2020

@dmiller-nmap
Copy link

@dmiller-nmap dmiller-nmap commented Apr 20, 2020

We optimistically removed some do-nothing callback functions that NDIS documentation lists as "optional." This has caused problems on Windows 7 in the past, but we were hopeful that intervening changes would make it possible to remove them. We will restore these in the next release. Please update this issue if updating to a version of Npcap newer than 0.9990 solves this problem.

dmiller-nmap pushed a commit to nmap/npcap that referenced this issue Apr 20, 2020
This reverts commit b9de440.
Potential fix for nmap/nmap#1998 in light of changelog entries for Npcap
0.99-r7 and nmap/nmap#1207
dmiller-nmap pushed a commit to nmap/npcap that referenced this issue Apr 20, 2020
This reverts commit bf4ef87.
Possibly related to nmap/nmap#2004, nmap/nmap#1998
@lenlynch
Copy link

@lenlynch lenlynch commented Apr 20, 2020

Just installed 0.9990 win7 x64, if the driver shim is enabled on an interface, it fails operation. Disabling the shim returns operation. Just before installing 0.9990, Earlier today, noticed that 0.9989 was causing this same issue, and decided to try 0.9990. No joy, unfortunately. Downgrading to 0.9986 restores operation.

@LurkingKiwi
Copy link

@LurkingKiwi LurkingKiwi commented Apr 29, 2020

Same problem, Win7 x64 SP1, 0.9989 and .9990 cause DHCP failure on reboot. RTL8167, Intel 82579V.
Any forecast on the availability of the installer, I can't easily build from source?
Somebody has just raised it on the WireShark forum, I have linked it to this issue.
https://ask.wireshark.org/question/16252/unable-to-connect-to-network-when-npcap-packet-driver-is-enabled/

@guyharris
Copy link

@guyharris guyharris commented Apr 29, 2020

We optimistically removed some do-nothing callback functions that NDIS documentation lists as "optional." This has caused problems on Windows 7 in the past, but we were hopeful that intervening changes would make it possible to remove them. We will restore these in the next release. Please update this issue if updating to a version of Npcap newer than 0.9990 solves this problem.

If this fixes the problem, perhaps you should report a bug in the NDIS documentation.

@Astrobirder
Copy link

@Astrobirder Astrobirder commented Apr 29, 2020

Same issue here, Win 7 Pro, Intel i219 card. and a USB NIC as well. Workaround that might help until you get a new version, which works for me:

If it helps, you can disable npcap on the interface (i.e. uncheck it, close the options page), do a ping to a device on the net that is affected, and then reopen the interface options page, recheck npcap and it seems to get around the issue.

@shixudong2020
Copy link

@shixudong2020 shixudong2020 commented May 1, 2020

We optimistically removed some do-nothing callback functions that NDIS documentation lists as "optional." This has caused problems on Windows 7 in the past, but we were hopeful that intervening changes would make it possible to remove them. We will restore these in the next release. Please update this issue if updating to a version of Npcap newer than 0.9990 solves this problem.

Contribute a proven idea:
modify duplex and speed mode from auto-negotiate to Definite speed also solve the bug

@dmiller-nmap
Copy link

@dmiller-nmap dmiller-nmap commented May 5, 2020

@shixudong2020 Thanks for the idea. It seems very likely that the interruption is due to a mishandling of NDIS status indications related to connection speed, so we will be investigating that separately. See #2034.

@dmiller-nmap
Copy link

@dmiller-nmap dmiller-nmap commented May 5, 2020

Npcap 0.9991, released yesterday, should resolve this issue. Please open a new issue if it recurs.

@RadarNyan
Copy link

@RadarNyan RadarNyan commented May 6, 2020

I can confirm that npcap 0.9991 solves the problem for me, also it doesn't have the BSOD bug presented in 0.9988. Network & npcap works fine after reboot / wake from sleep.

(Realtek GbE RTL8168 / Windows 7 SP1 64-bit)

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

Successfully merging a pull request may close this issue.

None yet