I want to report an issue I found with your example (send ring buffer get corrupted)

Oded Katz katz.oded at gmail.com
Fri Jan 23 19:34:31 UTC 2026


Hi,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 thank,
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: send_udp.py
Type: text/x-python-script
Size: 5078 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20260123/0d77a4c6/attachment.bin>


More information about the WireGuard mailing list