Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Error handling: Introduce a WireGuardResult type to handle errors in callbacks across the app | Roopesh Chander | 2018-12-07 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Error handling: Introduce a WireGuardAppError protocol to manage errors | Roopesh Chander | 2018-12-07 | 1 | -0/+4 |
| | | | | | | The alert strings shall be located next to where the errors are declared. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | NE: Logging: Log file should begin with version numbers and tunnel name | Roopesh Chander | 2018-12-07 | 1 | -0/+20 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Error out when tunnel activation fails because there's no internet | Roopesh Chander | 2018-12-03 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | NE: Write log to file | Roopesh Chander | 2018-11-30 | 1 | -0/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Xcode: Add app groups capability | Roopesh Chander | 2018-11-29 | 1 | -0/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Exporting: Refactor out zip exporting into a separate class | Roopesh Chander | 2018-11-15 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Importing: Refactor out zip importing into a separate class | Roopesh Chander | 2018-11-14 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model, Tunnels manager: Rewrite the model for VPN-on-demand | Roopesh Chander | 2018-11-12 | 1 | -6/+4 |
| | | | | | | | | | 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> | ||||
* | Model: ActivityType enum to represent VPN-on-demand options | Roopesh Chander | 2018-11-10 | 1 | -0/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | NE: When there's an error starting the tunnel, show it to the user using displayMessage() | Roopesh Chander | 2018-11-09 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Remove unused file PacketTunnelOptionKey.swift | Roopesh Chander | 2018-11-08 | 1 | -6/+0 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Move logic to extension: NETunnelProviderProtocol extension code should be shared | Roopesh Chander | 2018-11-08 | 1 | -0/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Move logic to extension: Refactor PacketTunnelOptionsGenerator into a PacketTunnelSettingsGenerator | Roopesh Chander | 2018-11-08 | 1 | -4/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Move logic to extension: Move DNSResolver to extension | Roopesh Chander | 2018-11-08 | 1 | -3/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Move logic to extension: Include shared model code when building the extension | Roopesh Chander | 2018-11-08 | 1 | -0/+8 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Move logic to extension: Move PacketTunnelOptionsGenerator to the extension | Roopesh Chander | 2018-11-08 | 1 | -3/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Move logic to extension: Move model files to Shared | Roopesh Chander | 2018-11-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Xcode: enable more warnings | Jason A. Donenfeld | 2018-11-06 | 1 | -1/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnel detail: Refactor out the label scrolling into a separate UI class | Roopesh Chander | 2018-11-06 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | global: convert to Swift 4.2 | Jason A. Donenfeld | 2018-11-05 | 1 | -0/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | XCode: use old network extension ID0.0.20181104-1 | Jason A. Donenfeld | 2018-11-04 | 1 | -2/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | XCode: unify version strings | Jason A. Donenfeld | 2018-11-04 | 1 | -4/+4 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Add document icon | Roopesh Chander | 2018-11-02 | 1 | -0/+32 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: An ErrorPresenter class to consolidate showing of error alerts | Roopesh Chander | 2018-11-01 | 1 | -1/+5 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | wireguard-go-bridge: extract version for consumption by network extension | Jason A. Donenfeld | 2018-10-31 | 1 | -3/+24 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | UI: More elegant copy-to-clipboard behavior | Jason A. Donenfeld | 2018-10-31 | 1 | -0/+4 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Global: fix up captialization in headers | Jason A. Donenfeld | 2018-10-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | XCode: fall back to default settings | Jason A. Donenfeld | 2018-10-30 | 1 | -34/+15 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Export: Exporting config files | Roopesh Chander | 2018-10-29 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | mv Parsing/ ConfigFile/ | Roopesh Chander | 2018-10-29 | 1 | -3/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Settings: Add a settings panel | Roopesh Chander | 2018-10-29 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Zip: Import configs from zip files | Roopesh Chander | 2018-10-29 | 1 | -4/+0 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Zip: Add zip file reader | Roopesh Chander | 2018-10-29 | 1 | -0/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Zip: Include minizip in our Xcode project | Roopesh Chander | 2018-10-29 | 1 | -0/+42 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | QR code: Integrate Eric's QR code scanner | Roopesh Chander | 2018-10-28 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Xcode: Disable bitcode | Roopesh Chander | 2018-10-27 | 1 | -0/+2 |
| | | | | | | Enabling bitcode generates a linker error when linking with libwg-go.a Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Bring up the tunnel | Roopesh Chander | 2018-10-27 | 1 | -0/+18 |
| | | | | | | | | | | 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> | ||||
* | Xcode: Make Xcode build libwg-go.a automatically | Roopesh Chander | 2018-10-27 | 1 | -0/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is based on Jeroen Leenarts' work (commit a3cdb84) and Jason Donenfeld's work (commit 9d01829). To reproduce: In Xcode, add a new target called 'WireGuardGoBridge' with the Cross-platform > External build system template. Configure that target with the 'make' build tool and ask it to build on the wireguard-go-bridge directory. The Makefile in wireguard-go-bridge is already configured to handle being called from Xcode as an external build system. In WireGuardNetworkExtension's build phases, add a dependancy to WireGuardGoBridge, and ask it to link to libwg-go.a (the make command shall generate this archive). Add libwg-go.a as a library to be linked with. Edit the Xcode pbxproj file and in the file reference entry for libwg-go.a, set path as "libwg-go.a" and sourceTree as BUILT_PRODUCTS_DIR. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | NE: Add bridging header | Roopesh Chander | 2018-10-27 | 1 | -0/+8 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | NE: Include the network extension in the project | Roopesh Chander | 2018-10-27 | 1 | -1/+150 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: DNSResolver: A class that does DNS resolution using getaddrinfo | Roopesh Chander | 2018-10-27 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Import: Support for importing a config file from file providers | Roopesh Chander | 2018-10-27 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Config file: Parsing a wg-quick config file | Roopesh Chander | 2018-10-27 | 1 | -0/+12 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Crypto: Swift wrapper for the Curve25519 C code | Roopesh Chander | 2018-10-27 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Crypto: Add Curve25519 C code to project | Roopesh Chander | 2018-10-27 | 1 | -0/+22 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Set Xcode template for smaller copyright headers | Roopesh Chander | 2018-10-27 | 1 | -0/+9 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: Start off with the tunnel detail view | Roopesh Chander | 2018-10-27 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model for DNS server | Roopesh Chander | 2018-10-27 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel creation: Refactor by creating a separate view model | Roopesh Chander | 2018-10-27 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> |