aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard (follow)
Commit message (Collapse)AuthorAgeFilesLines
* TunnelsManager: Don't restart if only on-demand setting has changedRoopesh Chander2019-03-111-5/+11
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to remove multiple tunnels at a timeRoopesh Chander2019-03-103-13/+41
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: Support for removing multiple tunnels at a timeRoopesh Chander2019-03-101-2/+22
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Generalize NoTunnelsDetailVC into a ButtonedDetailVCRoopesh Chander2019-03-104-51/+58
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Only the main thread shall access lastFileImportErrorTextRoopesh Chander2019-03-051-8/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Make use of lastError returned from TunnelsManager.addMultiple()Roopesh Chander2019-03-051-13/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: addMultiple() should also return the last errorRoopesh Chander2019-03-052-6/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Simplify TunnelImporterRoopesh Chander2019-03-041-65/+56
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: macOS: Support importing of multiple files at a timeRoopesh Chander2019-02-255-7/+46
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Use case-insensitive comparison for zip extensionRoopesh Chander2019-02-251-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Hack to restart active tunnel after adding a new tunnelRoopesh Chander2019-02-241-1/+16
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Show OS error when unable to open a .conf fileRoopesh Chander2019-02-241-2/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel edit: Disable user interaction when OS VPN prompt is shownRoopesh Chander2019-02-241-0/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel edit: s/populateTextFields()/populateFields()/g;Roopesh Chander2019-02-241-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: When programmatically selecting a tunnel, also scroll if requiredRoopesh Chander2019-02-221-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Replace NSSegmentedControl with NSPopUpButton and NSButtonRoopesh Chander2019-02-221-43/+50
| | | | | | Thereby avoiding the hacky way of showing the menus. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Give a clearer error message on importing an invalid configRoopesh Chander2019-02-222-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show 'quitting with active tunnel' only when appropriateRoopesh Chander2019-02-223-13/+8
| | | | | | Not when logging off or when the machine's shutting down Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix removal of DNSes from AllowedIPs when DNS has changedRoopesh Chander2019-02-212-5/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: On changing DNS, update AllowedIPs with the current DNS serversRoopesh Chander2019-02-213-5/+26
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: On saving, update AllowedIPs with the current DNS serversRoopesh Chander2019-02-211-1/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Better error message when .conf file is not readableRoopesh Chander2019-02-212-2/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Specify crypto complianceJason A. Donenfeld2019-02-191-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelViewModel: Remove DNS from AllowedIPs when unchecking 'Exclude private IPs'Roopesh Chander2019-02-161-2/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Exclude private IPsRoopesh Chander2019-02-163-0/+61
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelViewModel: Minor refactoring of exclude private IPs handlingRoopesh Chander2019-02-161-20/+23
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* ConfTextStorage: lowercase only onceJason A. Donenfeld2019-02-161-5/+4
| | | | | | Also fix submodule regression. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfTextStorage: Let's keep the AllowedIPs and DNS servers as stringsRoopesh Chander2019-02-161-8/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* ConfTextStorage: Make fieldType an enumRoopesh Chander2019-02-161-11/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* ConfTextStorage: keep track of single peer state for exclude private IPsJason A. Donenfeld2019-02-151-1/+59
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Tunnel detail: Set min width/heightRoopesh Chander2019-02-151-0/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnels list: Use constant width for the table viewRoopesh Chander2019-02-152-3/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show privacy notice on adding first tunnel0.0.20190207-3Jason A. Donenfeld2019-02-155-8/+47
| | | | | | | | App store reviewers don't understand that this isn't a service. Revert this as soon as they come to their senses. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2019-02-141-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preshared key field in the detail view should just say 'enabled'Roopesh Chander2019-02-123-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Log migration of tunnel configurationRoopesh Chander2019-02-121-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Migrate when we notice a new tunnel in reload()Roopesh Chander2019-02-121-0/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Don't migrate in asTunnelConfiguration()Roopesh Chander2019-02-121-11/+8
| | | | | | | | It causes problems when installing a tunnel through a Configuration Profile on macOS and activating it first through Network Preferences. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Info.plist: Localize with InfoPlist.stringsRoopesh Chander2019-02-113-2/+23
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Change keyboard shortcut for importing to Cmd+ORoopesh Chander2019-02-102-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Adapt to the new applyConfiguration APIRoopesh Chander2019-02-101-34/+57
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Rewrite applying runtime configurationRoopesh Chander2019-02-102-66/+76
| | | | | | To make scrolling smoother while the fields are modified Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Ignore case in matching file extensions inside zip filesRoopesh Chander2019-02-091-1/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: No need to access tunnelConfiguration on status changeRoopesh Chander2019-02-091-5/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Version bump0.0.20190207-2Jason A. Donenfeld2019-02-081-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fix writing of preshared key to config formatRoopesh Chander2019-02-091-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Project: don't embed swift binaries into appexJason A. Donenfeld2019-02-081-4/+10
| | | | | | Otherwise we're rejected from the app store. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: fix swiftlint issuesJason A. Donenfeld2019-02-089-25/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* KeyEncoding: rename file to match extension filename styleJason A. Donenfeld2019-02-082-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Key: we already do len checking in CJason A. Donenfeld2019-02-081-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>