summaryrefslogtreecommitdiffhomepage
path: root/talpid-tunnel/src/tun_provider/mod.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-10-07Define networks as const valuesMarkus Pettersson1-16/+9
2025-05-26Add BoringtunJoakim Hulthe1-0/+14
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>
2025-02-25Reduce open_tun calls (Establish)David Göransson1-0/+12
Each call to Establish opens a window for leaks on android. By only invoking Establish if the VpnConfig if any of the input has changed and reusing it otherwise we avoid many of these leaks. This commit also waits for android to report back that the routes have been created to ping and verify connectivity to avoid pings going outside the tunnel.
2025-01-03Clean up API for setting tunnel device nameMarkus Pettersson1-0/+2
2024-09-02Set tunnel name to wg0-mullvad for wireguard-goDavid Lönnhager1-0/+4
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-09-02Run `cargo +nightly clippy --fix`Markus Pettersson1-0/+1
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-6/+8
2024-08-13Refactor tunnel provider and TalpidVpnServiceDavid Lönnhager1-34/+50
This also fixes the issue of the VPN service being restarted unnecessarily
2024-05-29Migrate to gRPCDavid Göransson1-5/+6
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2022-11-07Split up talpid-coreEmīls Piņķis1-0/+80