ciniml / WireGuard-ESP32-Arduino

WireGuard implementation for ESP32 Arduino
Other
782 stars 60 forks source link

The handshake must also be destroyed during a timer reset. Compare wg_q… #1

Closed ErikDoell closed 2 years ago

ErikDoell commented 2 years ago

…ueued_expired_zero_key_material in the file https://git.zx2c4.com/wireguard-linux/tree/drivers/net/wireguard/timers.c

ciniml commented 2 years ago

Sorry for late response.

Thanks for posting a PR for this. I did not notice that there are such TODO line in the original source code.

Actually, most part of this library is based on the original lwIP implementation, including wireguardif.c I think you might want to post this PR to the original lwIP implementation too to solve the problem.

https://github.com/smartalock/wireguard-lwip/blob/main/src/wireguardif.c#L851

For this repository, I will merge this PR after I check it works on my device.