Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | QR code: Minor refactoring | Roopesh Chander | 2018-10-28 | 1 | -5/+5 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | QR code: Support some form of rotation. | Jeroen Leenarts | 2018-10-28 | 1 | -0/+32 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | QR code: Make sure correct layering is used to make sure hint remains visible. | Jeroen Leenarts | 2018-10-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | QR code: Integrate Eric's QR code scanner | Roopesh Chander | 2018-10-28 | 3 | -14/+36 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Info.plist: Indicate that the app shall use the camera | Roopesh Chander | 2018-10-28 | 1 | -0/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Need to pass in a name to the parser | Roopesh Chander | 2018-10-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Revert "Parser: Interface name can be added after parsing" | Roopesh Chander | 2018-10-28 | 1 | -2/+4 |
| | | | | | | This reverts commit d3a9e7914909fc0306921fde5ff9e215c22b6a56. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | QR code: Ability to add tunnels with a QR code scan | Eric Kuck | 2018-10-28 | 1 | -0/+107 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Model: Ensure name is not empty | Roopesh Chander | 2018-10-28 | 1 | -0/+1 |
| | | | | | | | | | We don't need it because we don't have to open the new-config UI after scanning a QR code. This reverts commit db72e95. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: A tunnel may be already active on app startup | Roopesh Chander | 2018-10-28 | 1 | -9/+21 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Remove ability to deactivate the tunnel while resolving DNS | Roopesh Chander | 2018-10-28 | 1 | -13/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: DNSResolver: Resolve multiple endpoints in parallel | Roopesh Chander | 2018-10-28 | 1 | -21/+32 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Add a switch and an activity indicator to the list view | Roopesh Chander | 2018-10-28 | 1 | -4/+89 |
| | | | | | | | They track the status of the tunnel. The switch can also be used to bring the tunnel up and down. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Save the tunnel name when modifying a tunnel | Roopesh Chander | 2018-10-28 | 1 | -0/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: For now, don't allow cancelling when resolving domains is in progress | Roopesh Chander | 2018-10-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Cleaner derivation of subnet mask from CIDR network prefix length | Roopesh Chander | 2018-10-28 | 1 | -14/+8 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: The tableView should have selection disabled | Roopesh Chander | 2018-10-27 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Better error and status handling | Roopesh Chander | 2018-10-27 | 2 | -98/+58 |
| | | | | 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 | 5 | -70/+305 |
| | | | | | | | | | | 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> | ||||
* | VPN: Fix DNS resolution API | Roopesh Chander | 2018-10-27 | 2 | -9/+25 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | NE: Add bridging header | Roopesh Chander | 2018-10-27 | 2 | -2/+9 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | NE: Remove entitlements we don't need for now | Roopesh Chander | 2018-10-27 | 1 | -8/+0 |
| | | | | 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: Perform DNS resolution before starting the tunnel | Roopesh Chander | 2018-10-27 | 1 | -10/+29 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: Account for status section in peer index calculations | Roopesh Chander | 2018-10-27 | 1 | -2/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: DNSResolver: A class that does DNS resolution using getaddrinfo | Roopesh Chander | 2018-10-27 | 2 | -0/+97 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: UI for activating and deactivating a tunnel | Roopesh Chander | 2018-10-27 | 1 | -15/+144 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Activating, deactivating and tracking the status | Roopesh Chander | 2018-10-27 | 1 | -14/+159 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: Fix comment | Roopesh Chander | 2018-10-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model: Add a version number to the tunnel | Roopesh Chander | 2018-10-27 | 1 | -1/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Adding, modifying and deleting actual NETunnelProviderManager instances | Roopesh Chander | 2018-10-27 | 4 | -46/+157 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Import: Support for importing a config file from file providers | Roopesh Chander | 2018-10-27 | 3 | -9/+52 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | iPad: Fix modal presentation style | Roopesh Chander | 2018-10-27 | 3 | -2/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | iPad: Make sure the navigation bar is visible in the detail view | Roopesh Chander | 2018-10-27 | 1 | -2/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel editing: Delegate should also report when editing is cancelled | Roopesh Chander | 2018-10-27 | 3 | -5/+13 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Import: Support for opening a .conf file in the app | Roopesh Chander | 2018-10-27 | 4 | -6/+67 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel editing: Separate init for creation and modification | Roopesh Chander | 2018-10-27 | 1 | -2/+13 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Parser: Interface name can be added after parsing | Roopesh Chander | 2018-10-27 | 1 | -4/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model: Allow creating an interface with empty name | Roopesh Chander | 2018-10-27 | 3 | -2/+2 |
| | | | | | | | | But don't allow such a tunnel to be added to the tunnel manager. (We'll need to create an interface with an empty name when we're reading QR codes.) Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Info.plist: support for opening wg-quick config (.conf) files | Roopesh Chander | 2018-10-27 | 1 | -0/+19 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Info.plist: Export the config file type declaration | Roopesh Chander | 2018-10-27 | 1 | -0/+20 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Config file: Parsing a wg-quick config file | Roopesh Chander | 2018-10-27 | 2 | -0/+169 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model: MTU should be a 16-bit integer | Roopesh Chander | 2018-10-27 | 2 | -3/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Tunnel container shall provide direct access to the configuration object | Roopesh Chander | 2018-10-27 | 3 | -4/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel editing: Modifying a tunnel configuration | Roopesh Chander | 2018-10-27 | 2 | -9/+35 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel creation: After saving the new tunnel, show the detail view | Roopesh Chander | 2018-10-27 | 4 | -9/+32 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: Don't show fields that have empty value | Roopesh Chander | 2018-10-27 | 2 | -10/+52 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel creation: Public key is uneditable | Roopesh Chander | 2018-10-27 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> |