basil00 / Divert

WinDivert: Windows Packet Divert
https://reqrypt.org/windivert.html
Other
2.32k stars 491 forks source link

WinDivertRecvEx() gets stuck if packets are dropped #355

Closed etkaar closed 7 months ago

etkaar commented 7 months ago

Let's have look at the passthru.c example: Once you comment out WinDivertSendEx(), then WinDivert will receive only 50 packets every few seconds, so it becomes incredible slow. Why is that? Do we need to manually clear a buffer if the verdict is to drop the packet?

image

image