| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Refactor `trait Tunnel` and factor `start_daita` into `set_config`.
Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
|
|
Document why `rand` can't be upgraded in `wireguard_nt::daita`
|
|
|
|
|
|
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>
|
|
Previous implementation spawned a process with tokio which in turn
registered a signal handler without ONASTACK flag set.
When using GO code, all signal handlers needs to have this flag
set otherwise a signal might be handled on a goroutine thread
which has a small stack and thus can overflow.
Reference: DROID-1825
Co-authored-by: David Lönnhager <david.l@mullvad.net>
|
|
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.
|
|
|
|
|
|
|
|
The firewall blocks the pinger in some circumstances
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
|
|
- 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
|