by baby · 9y ago · 0 comments
I was also told that Wireguard uses Noise on top of UDP, so it would be interesting to see what they did there.
Another good point for Noise: if you're planning to implement a TLS-like protocol from scratch, I would go for Noise instead of TLS. It's just simpler, lighter and easy to customize to your own needs.
But indeed DTLS is a mess for other reasons.
For WireGuard I use Noise with stronger DoS resistance and anti replay measures than DTLS, custom tailored for being a layer 3 tunnel. Details here: https://www.wireguard.io/papers/wireguard.pdf
In what way is MITM easier in UDP than TCP? Assuming you use similar techniques to verify your connection, I can't see a difference.