Add support for Defense against AI-guided Traffic Analysis (DAITA) using maybenot framework
Is your feature request related to a problem? Please describe. Even if you have encrypted your traffic with a VPN (or the Tor Network), advanced traffic analysis is a growing threat against your privacy. DAITA protects against this. More information about DAITA (incorporated into mullvad's wireguard client) can be found below: https://mullvad.net/en/blog/introducing-defense-against-ai-guided-traffic-analysis-daita
Describe the solution you'd like Incorporate maybenot using maybenot's-ffi c binding into wireguard-go. Mullvad has done so with their wireguard-go-rs wrapper, meaning that most of the heavy lifting is done. It may be worth trying to compile mullvad's version of wireguard-go with DAITA support and dropping it in to netbird to see what happens, and then continuing with a full integration. https://github.com/maybenot-io/maybenot https://github.com/maybenot-io/maybenot/tree/main/crates/maybenot-ffi Mullvad's module: https://github.com/mullvad/mullvadvpn-app/tree/8eecff14f55bb65c4503e7daf09f1ff50baaa711/wireguard-go-rs
Describe alternatives you've considered This relates a lot to the topics of obfuscation and deep packet inspection. Alternatives could be tools like shadowsocks or the Tor Projects OBSF4 protocol. I think mullvad having a working wireguard implementation with maybenot and funding it speaks volumes for the use case and ease of implementation.
Additional context This may also help combat issue #1096's problem of ISP blocking. It will certainly help prevent higher level traffic analysis. I think in the future, it's a good idea for netbird to be looking at what mullvad is doing with their wireguard client and potentially even collaborate to inspire new netbird features that extend the traditional wireguard set of features.
I am not a very skilled developer, but I'll start taking a stab at integrating it with the steps I mentioned above. If anyone else would like to discuss / try integrated themself it would be greatly appreciated!!!
The problem outlined in a cartoon:
Source: netbirdio/netbird