-
Notifications
You must be signed in to change notification settings - Fork 578
Closed
Description
Describe the bug
Using the silent installation on Windows 2008 R2:
npcap-1.85-oem.exe /S /loopback_support=no /admin_only=yes /dot11_support=yes /winpcap_mode=no /prior_driver=yes
results in an error The data area passed to a system call is too small. (122) in the following pcap_open code:
char errbuf[PCAP_ERRBUF_SIZE];
pcap_t* pcap = pcap_open(
"rpcap://\Device\NPF_{E3ADBA6B-C6E7-461F-8344-0652A6973CCB}", // name of the device
65536, // portion of the packet to capture
0, // PCAP_OPENFLAG
256, // read timeout
nullptr, // authentication on the remote machine
errbuf // error buffer
);To Reproduce
Steps to reproduce the behavior:
- silent installation on Windows 2008 R2:
npcap-1.85-oem.exe /S /loopback_support=no /admin_only=yes /dot11_support=yes /winpcap_mode=no /prior_driver=yes - Installed driver:
C:\>wmic datafile where name='c:\\windows\\system32\\drivers\\npcap.sys' get version
Version
5.1.30.408
pcap_openfails onThe data area passed to a system call is too small. (122)
Expected behavior
Silent installer and pcap_open works on Windows 2008 R2
Diagnostic information
- Windows version from
winver
Microsoft Windows Server 2008 R2 Enterprise Version 6.1 (Build 7601: Service Pack 1) - Output of DiagReport
DiagReport-20251129-181833.txt - Installation logs
install.log
NPFInstall.log
Metadata
Metadata
Assignees
Labels
No labels