| Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
When handling network path changes, change the listen port
only when the first interface has changed.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
The solution implemented in commit b8c331c causes the tunnel to
remain in 'Activating' state, without the ability to cancel that.
So, in this commit, instead of retrying DNS silently on
Activated-On-Demand tunnels, we fail the startTunnel() silently.
To summarize, if activate-on-demand is on:
- If started from the WireGuard app, show error using lastErrorFile
mechanism, suggesting a way to turn off Activate On Demand
- If not started from WireGuard app, don't call displayMessage()
(don't show error to user) and silently fail starting the tunnel
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
This combination causes iOS to keep trying to bring up the tunnel,
leading to a lot of displayMessage() alerts.
In this fix, if we get a DNS resolution error in an Activate On Demand
enabled tunnel, we silently retry 9 times (with a 4-second delay before
each retry) and then show the displayMessage() alert.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
If we have a stale tunnel on which we don't get status updates we rely
on a timer to update the status (see commit 34a7e5b). Previously, if
the user tries to activate another tunnel, that resulted in both tunnels
waiting indefinitely. This commit fixes that.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
With state restoration, we're not guaranteed that the
list view will get shown immediately after the launch screen.
So, generalize the launch screen as much as possible.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Because they can be part of a multi-sentence message when displayed
in the alert.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
This is our first release to the real app store.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
This should allow us to eventually build on macOS
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
To help in generation of screenshots for the App Store
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Fixed DNS servers not saving
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
This was roop's initial idea, and it turns out to be the better one, now
that we can pass cstrings more easily.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
It uses to remain in 'Activating' state when we don't get a status
update notification, for example, when turning on the tunnel repeatedly
without Internet connectivity.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|