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
memory leak when sending packets on Windows10 (since npcap v1.76) #688
Comments
Hi, I've also noticed the same thing with version 1.76 (on Win11) nppool.mp4 |
One potential case handled in 93a968d, but I need to go through Write.c to check the send path, too. |
Same problem here. Windows 11. Installed NMAP 7.94 and latest NPCAP 1.76. After nmap scan (-Pn) of cca 400 of IP addresses the Windows started to have free memory problem and froze completely. I found this thread - I uninstalled NPCAP 1.76 and installed the one bundled in nmap installer (NPCAP 1.75) and everything works without any problem, now. |
I cannot replicate this issue, so I need some further details to narrow the search. The fix I previously mentioned would only cause leaks of allocations in the The information I need:
|
Hi, |
Npcap Nonpaged Pool Memory LeakSee also: Npcap Driver Nonpaged Pool Memory Leak · Issue #38 · SeaLoong/drcom4scut · GitHub DescriptionAfter drcom4scut established the EAP session, the frames stored by the Npcap driver will not not be released until reboot, and the nonpaged pool used by the Npcap driver increases with the increase of the amount of data transferred over the network. This problem occurs only if the version of Npcap is 1.76 or 1.77, other version of the library such as WinPcap 4.1.3, Npcap 1.71, Npcap 1.75 do not. Reproduction
mac: # the MAC address of the interface used to reproduce
ip: # the IP address of the interface used to reproduce
username: username
password: password
log:
enable_file: false
DiagnosticDiagReport
|
I have opened #701 for the memory leak in Npcap 1.77, which is distinct from this issue. We have a fix and expect to release soon, pending complete testing. |
No memory leak occurs in Npcap 1.78. |
Describe the bug
Npcap leaks kernel memory when sending packets via pcap_sendqueue_transmit or PacketSendPackets.
Affected: v1.76 on windows 10.
v1.75 does not leak memory
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Kernel memory should not leak when sending packets. npcap v1.75 works fine
Screenshots
Diagnostic information
The text was updated successfully, but these errors were encountered: