summaryrefslogtreecommitdiffhomepage
path: root/talpid-wireguard/src/boringtun
AgeCommit message (Collapse)AuthorFilesLines
2025-10-24Add DAITA stats to 'Stats'David Lönnhager1-1/+11
2025-10-24Set max_padding_frac and max_blocking_fracMarkus Pettersson1-7/+8
Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2025-10-24Propagate error if configuring GotaTun device in invalid stateMarkus Pettersson1-7/+15
2025-10-24Fix tunnel setup after having negotiated with an ephemeral peerMarkus Pettersson1-2/+5
Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
2025-10-24Work around mtu getter not being implemented on AndroidJoakim Hulthe1-1/+7
2025-10-24Integrate GotaTun cleanlyMarkus Pettersson1-81/+173
Refactor `trait Tunnel` and factor `start_daita` into `set_config`. Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
2025-10-24Update important log messageJoakim Hulthe1-9/+6
2025-10-08Block tunnel traffic when negotiating with an ephemeral peer on AndroidMarkus Pettersson1-42/+50
Patch tunnel config to block traffic to non-gateway destinations during PQ setup when using Boringtun on Android. Move `patch_allowed_ips` to `config` module.
2025-10-03Add a UDS for wiresharking gotatun multihop trafficJoakim Hulthe1-1/+75
2025-09-03Add last WG handshake to statsDavid Lönnhager1-0/+9
2025-08-26Update boringtun, adding multihop fixes and GROSebastian Holmin1-22/+32
Adds: - Userspace multihop de-fragmentation - PcapSniffer - UDP GRO on Linux Also updates setup of userspace multihop on the deamon side, as `PacketChannel` has been replaced with specifc channel types that implement the `IpSend`, `IpRecv`, `UdpSend` and `UdpRecv` traits.
2025-08-14Refactor device creationSebastian Holmin1-149/+90
Change the way tun devices are created to prevent two from overlapping. This caused PQ to panic when taking read-locks.
2025-08-05Fix Android boringtun buildDavid Lönnhager1-6/+8
2025-07-25Create new boringtun devices when toggling multihopDavid Lönnhager1-63/+99
2025-07-25Set MTU in Unix tun providerDavid Lönnhager1-0/+2
2025-07-25Add userspace multihop to boringtunJoakim Hulthe1-55/+315
2025-07-10Run `cargo fmt`Sebastian Holmin1-3/+3
2025-06-27Fix bad fd on android when using boringtunDavid Göransson1-2/+2
2025-06-12Fix tun file descriptor ownershipJoakim Hulthe1-3/+1
We accidentally borrowed the file descriptor when we should have moved it. This commit adds more `OwnedFd` and friends to help handle ownership correctly. Signed-off-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
2025-06-10Update nix to 0.30 everywhereJoakim Hulthe1-2/+2
2025-05-26Add BoringtunJoakim Hulthe1-0/+314
Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net> Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net> Co-authored-by: David Göransson <david.goransson@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>