Fwd: I want to report an issue I found with your example (send ring buffer get corrupted)
Simon Rozman
simon.rozman at amebis.si
Mon Feb 9 12:02:36 UTC 2026
Hi, Oded!
Reviewing your issue closely, I may have found the cause. I have queued
a proposal to fix it here:
https://git.zx2c4.com/wintun/commit/driver/wintun.c?id=8814f660310c30a9297fc640c844c4ab6f27e5d7
However, I need to reinstall my testing environment to test and confirm
it working.
Lep pozdrav | Best regards,
Simon Rozman
Amebis, d. o. o., Kamnik
On 4. 2. 2026 19.19, Oded Katz wrote:
> Hi,
>
> I'm reposting this one as I didn't get any response.
>
> We were trying to integrate `wintun` into our product and while
> testing we found an issue with upload of high UDP throughput on
> multiple sockets. initially we thought it may be related to our
> integration. but we managed to find the same issue in your example
> code.we tried to do some debugging on the example, but it seems like
> the corruption is on the driver side.
> the way to reproduce this issue- run the example
> - run the `send_udp.py` (the attached python script) on 2 different
> command terminals
> - `send_udp.py 10.6.7.8 5201 1450`
> - `send_udp.py 10.6.7.8 5201 1400`after some time the
> `WintunReceivePacket` returns NULL and `GetLastError()` return 13
> (`ERROR_INVALID_DATA`)
> many thanks,
> and I hope you can help us.
> btw: in the meantime, I'll try to see if I can contribute myself with a fix
> Oded
More information about the WireGuard
mailing list