basil00 / Divert

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

The download process interrupted when closing the windivert #345

Open Kane-KhangPham opened 9 months ago

Kane-KhangPham commented 9 months ago

When I'm downloading a file in chrome, then close WindowDivert, the download process will be interrupted, can't continue and have to download again from the beginning. Is there any way to prevent this?

basil00 commented 9 months ago

That depends what the WinDivert application was doing.

For example, if it was redirecting the connection to a proxy, then killing the application would permanently disrupt the connection.

Otherwise, if the application was something like passthru, then killing it can cause some packet loss if the application does not shutdown correctly. Specifically, any packet received by the application but not yet reinjected will be lost. However, this should be recoverable for TCP connections.