aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard.xcodeproj (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: convert to Swift 4.2Jason A. Donenfeld2018-11-051-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: use old network extension ID0.0.20181104-1Jason A. Donenfeld2018-11-041-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: unify version stringsJason A. Donenfeld2018-11-041-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add document iconRoopesh Chander2018-11-021-0/+32
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: An ErrorPresenter class to consolidate showing of error alertsRoopesh Chander2018-11-011-1/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* wireguard-go-bridge: extract version for consumption by network extensionJason A. Donenfeld2018-10-311-3/+24
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: More elegant copy-to-clipboard behaviorJason A. Donenfeld2018-10-311-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: fix up captialization in headersJason A. Donenfeld2018-10-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: fall back to default settingsJason A. Donenfeld2018-10-301-34/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Export: Exporting config filesRoopesh Chander2018-10-291-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* mv Parsing/ ConfigFile/Roopesh Chander2018-10-291-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Settings: Add a settings panelRoopesh Chander2018-10-291-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Import configs from zip filesRoopesh Chander2018-10-291-4/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Add zip file readerRoopesh Chander2018-10-291-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Include minizip in our Xcode projectRoopesh Chander2018-10-291-0/+42
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* QR code: Integrate Eric's QR code scannerRoopesh Chander2018-10-281-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Xcode: Disable bitcodeRoopesh Chander2018-10-271-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 tunnelRoopesh Chander2018-10-271-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 automaticallyRoopesh Chander2018-10-271-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 headerRoopesh Chander2018-10-271-0/+8
| | | | 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: DNSResolver: A class that does DNS resolution using getaddrinfoRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Import: Support for importing a config file from file providersRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Config file: Parsing a wg-quick config fileRoopesh Chander2018-10-271-0/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Crypto: Swift wrapper for the Curve25519 C codeRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Crypto: Add Curve25519 C code to projectRoopesh Chander2018-10-271-0/+22
| | | | 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>
* Tunnel detail: Start off with the tunnel detail viewRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model for DNS serverRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Refactor by creating a separate view modelRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Start off with tunnel creationRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model for an endpointRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Add TunnelsManager to manage the tunnels in the appRoopesh Chander2018-10-271-0/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Bump deployment target to iOS 12.0Roopesh Chander2018-10-271-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model for an IP Address rangeRoopesh Chander2018-10-271-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Models for tunnel, interface and peerRoopesh Chander2018-10-271-0/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Use a split-view controller as the main (root) view controllerRoopesh Chander2018-10-271-1/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move UI code into a separate platform-specific folderRoopesh Chander2018-10-271-8/+24
| | | | | | | Later, we hope to have a UI/macOS folder for developing a macOS client from this codebase. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Use APP_ID in xcconfig rather than PRODUCT_BUNDLE_IDENTIFIERRoopesh Chander2018-10-271-0/+2
| | | | | | | | | This is required because when we add an app extension to the project, there will be two PRODUCT_BUNDLE_IDENTIFIER fields in our project file, so we cannot use xcconfig to set that key directly. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Enable Network Extensions capabilityRoopesh Chander2018-10-271-0/+21
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move App ID to Developer.xcconfig as wellRoopesh Chander2018-10-271-2/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Remove storyboard and create UI from codeRoopesh Chander2018-10-271-16/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move DEVELOPMENT_TEAM into an xcconfig out of the git repoRoopesh Chander2018-10-271-0/+4
| | | | | | | | | This is so that other developers can work on this codebase by copying Developer.xcconfig.template to Developer.xcconfig and setting the DEVELOPMENT_TEAM to their respective Team IDs. The Team IDs need not be checked into source control. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Create a new project in XcodeRoopesh Chander2018-10-273-0/+352
Signed-off-by: Roopesh Chander <roop@roopc.net>