Comments (1)
Thanks for reporting the issue.
I think the issue is that the replay detection algorithms in RFC2401 and RFC6479 assume that the first packet will have sequence number 1
If you look at the counter_validate() function in the Linux implementation (https://git.zx2c4.com/wireguard-linux/tree/drivers/net/wireguard/receive.c#n295) you can see that the counter is incremented before the check starts. I have added a similar fix in 0c44df3 which should hopefully fix this
from wireguard-lwip.
Related Issues (12)
- Implementation on ESP8266 HOT 3
- Show when link has dropped? HOT 6
- handshake_destroy
- Chacha20poly1305 enc/dec function not symmetrical
- wireguardif_init crashes the program?
- Crash on esp8266 arduino ide HOT 6
- Replay window is only 4 packets wide, instead of 32 HOT 1
- about keypair_update HOT 1
- esp32 device as the vpn server HOT 8
- Problem with wireguard-lwip on esp32C3 using esp-if latest version (5.0), is it possible to work on this version ? HOT 7
- How to send packts through WireGuard-Tunnel? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wireguard-lwip.