| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The username corresponds to the Account field in iOS system VPN UI,
but if we don't set it, the field is not shown, so setting it isn't
really required.
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: Jason A. Donenfeld <Jason@zx2c4.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: 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: Eric Kuck <eric@bluelinelabs.com>
|
|
|
|
| |
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: 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>
|
|
|
|
| |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
|
|
| |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
|
|
| |
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
|
|
| |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
|
|
|
|
|
| |
This reverts all of Roop's changes to the C code, and then rewrites the
logger logic to be cleaner.
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>
|
|
|
|
|
|
|
| |
So we know which entry is from the app and which is from the network
extension.
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: 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: Eric Kuck <eric@bluelinelabs.com>
|
|
|
|
| |
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
The VPN-on-demand settings should not be part of the tunnel
configuration. Rather, the onDemandRules stored in the
tunnel provider configuration serve as the one place
where the VPN-on-demand settings are stored.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
|
|
|
|
|
|
|
| |
We make sure existing tunnel serializations can be deserialized correctly.
We also bump up the tunnelConfigurationVersion, because the tunnel
configuration contents have changed.
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>
|
|
|
|
| |
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
|
|
|
|
| |
The code for public key calculation need not be shared with the extension
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
|
|
| |
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
|
|
|
| |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
The app figures out all settings and passes them in the
'options' parameter of startTunnel().
The network extension just takes them as is and just plugs the supplied
values into the right places.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|