summaryrefslogtreecommitdiffhomepage
path: root/talpid-wireguard/src/connectivity/check.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-10-24Add DAITA stats to 'Stats'David Lönnhager1-15/+5
2025-09-03Add last WG handshake to statsDavid Lönnhager1-0/+5
2025-07-10Run `cargo fmt`Sebastian Holmin1-14/+20
2025-05-26Add BoringtunJoakim Hulthe1-22/+29
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-1/+11
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-23Refactor connectivity check to be asyncDavid Lönnhager1-153/+217
2024-12-18Revert reset of pinger establish timeoutDavid Lönnhager1-2/+0
2024-12-18Reset connection monitor state and timeout between each ping attemptDavid Lönnhager1-0/+2
2024-12-12Remove some deprecated ref patternsJoakim Hulthe1-5/+1
2024-11-22Check that that tunnel can serve traffic after starting a new tunnelKalle Lindström1-0/+630
- Split up "ConnectivityCheck" into more descriptive types and collect them in a new `connectivity` module. - Fix allow Wireguard-Go tunnel setup to be cancelled - Use retry param in connectivity check