-
Notifications
You must be signed in to change notification settings - Fork 580
Open
Labels
currentIssues with current focus by the core Npcap dev teamIssues with current focus by the core Npcap dev teamenhancement
Description
As discussed in nmap/nmap#572, Windows 7 has a limit on the number of NDIS filter drivers that can be installed, defaulting to 8 but configurable up to 14. Right now, we detect the specific error and print a message to STDOUT in NPFInstall.exe, but the installer doesn't take any special action on this condition.
I propose 2 changes:
- When NETCFG_E_MAX_FILTER_LIMIT is returned, increment
HKLM:\SYSTEM\CurrentControlSet\Control\Network\MaxNumFiltersand try again. - If the install continues to fail with the same error, fail in such a way that the executable installer can detect and display a useful error message to the user. Existing message is simply "Failed to create the npcap service for Win7, Win8 and Win10. Please try installing Npcap again, or use the latest official Npcap installer from https://nmap.org/npcap/"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
currentIssues with current focus by the core Npcap dev teamIssues with current focus by the core Npcap dev teamenhancement