aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NE: Remove entitlements we don't need for nowRoopesh Chander2018-10-271-8/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* wireguard-go: Upgrade submodule to version 0.0.20181018Roopesh Chander2018-10-271-0/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* NE: Include the network extension in the projectRoopesh Chander2018-10-271-1/+150
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Perform DNS resolution before starting the tunnelRoopesh Chander2018-10-271-10/+29
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: Account for status section in peer index calculationsRoopesh Chander2018-10-271-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: DNSResolver: A class that does DNS resolution using getaddrinfoRoopesh Chander2018-10-272-0/+97
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: UI for activating and deactivating a tunnelRoopesh Chander2018-10-271-15/+144
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Activating, deactivating and tracking the statusRoopesh Chander2018-10-271-14/+159
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: Fix commentRoopesh Chander2018-10-271-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Add a version number to the tunnelRoopesh Chander2018-10-271-1/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Adding, modifying and deleting actual NETunnelProviderManager instancesRoopesh Chander2018-10-274-46/+157
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Import: Support for importing a config file from file providersRoopesh Chander2018-10-273-9/+52
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iPad: Fix modal presentation styleRoopesh Chander2018-10-273-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iPad: Make sure the navigation bar is visible in the detail viewRoopesh Chander2018-10-271-2/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel editing: Delegate should also report when editing is cancelledRoopesh Chander2018-10-273-5/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Import: Support for opening a .conf file in the appRoopesh Chander2018-10-274-6/+67
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel editing: Separate init for creation and modificationRoopesh Chander2018-10-271-2/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Parser: Interface name can be added after parsingRoopesh Chander2018-10-271-4/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Allow creating an interface with empty nameRoopesh Chander2018-10-273-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) filesRoopesh Chander2018-10-271-0/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Info.plist: Export the config file type declarationRoopesh Chander2018-10-271-0/+20
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Config file: Parsing a wg-quick config fileRoopesh Chander2018-10-272-0/+169
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: MTU should be a 16-bit integerRoopesh Chander2018-10-272-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Tunnel container shall provide direct access to the configuration objectRoopesh Chander2018-10-273-4/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel editing: Modifying a tunnel configurationRoopesh Chander2018-10-272-9/+35
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: After saving the new tunnel, show the detail viewRoopesh Chander2018-10-274-9/+32
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: Don't show fields that have empty valueRoopesh Chander2018-10-272-10/+52
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Public key is uneditableRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: An uneditable field's value should be grey as wellRoopesh Chander2018-10-271-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Generate key pairRoopesh Chander2018-10-271-2/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Compute public key from private key as the text is being editedRoopesh Chander2018-10-272-0/+31
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel view model: Populate interface's public keyRoopesh Chander2018-10-271-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Interface: Add a public key computed propertyRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Crypto: Swift wrapper for the Curve25519 C codeRoopesh Chander2018-10-272-0/+31
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Crypto: Curve25519: Add explicit cast to supress conversion warning.Jeroen Leenarts2018-10-271-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Crypto: Add Curve25519 C code to projectRoopesh Chander2018-10-272-0/+27
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Crypto: Add key generation functionsJeroen Leenarts2018-10-272-0/+184
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnel creation: Hide 'Exclude private IPs' switch till the feature is readyRoopesh Chander2018-10-271-2/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Set Xcode template for smaller copyright headersRoopesh Chander2018-10-271-0/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Smaller copyright headersRoopesh Chander2018-10-2711-77/+22
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: Start off with the tunnel detail viewRoopesh Chander2018-10-273-0/+238
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel view model: Add copy public keyRoopesh Chander2018-10-271-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Variable renamingRoopesh Chander2018-10-271-18/+18
| | | | | | | s/interfaceEditFieldsBySection/interfaceFieldsBySection/g; s/peerEditFieldsBySection/peerFieldsBySection/g; Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel view model: The view model applies for both editing and viewingRoopesh Chander2018-10-272-10/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnels list: Update when a tunnel is addedRoopesh Chander2018-10-272-2/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Saving a configurationRoopesh Chander2018-10-272-7/+32
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Use DNSServer in the Configuration modelRoopesh Chander2018-10-272-5/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model for DNS serverRoopesh Chander2018-10-272-0/+66
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Endpoint host should not have invalid charactersRoopesh Chander2018-10-271-10/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: listenPort and persistentKeepAlive should be 16-bit integersRoopesh Chander2018-10-272-6/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>