Jason A. Donenfeld
f8f19ef3d7
Settings: show build id
2018-11-07 05:45:39 +01:00
Jason A. Donenfeld
b927c961ae
Version bump
2018-11-06 20:18:11 +01:00
Jason A. Donenfeld
414835e60e
Importing: simplify
2018-11-06 20:16:40 +01:00
Roopesh Chander
b9b8ae8908
Importing: Assume imported files without .conf or .zip extensions to be a config file
2018-11-07 00:35:37 +05:30
Roopesh Chander
c9b27d1617
DNSResolver: No need to resolve if the endpoint is already an IP address
2018-11-06 23:59:48 +05:30
Roopesh Chander
1410b89f23
Model: Endpoint.hasHostAsIPAddress()
2018-11-06 23:59:48 +05:30
Jason A. Donenfeld
b57824cde1
PacketTunnelProvider: modernize header
2018-11-06 19:04:53 +01:00
Roopesh Chander
cc57d8443e
Global: swiftlint autocorrect --format
2018-11-06 22:42:53 +05:30
Roopesh Chander
fe191b1eff
Global: swiftlint autocorrect
2018-11-06 22:42:05 +05:30
Roopesh Chander
2b3347b294
Importing: Error out on file with unsupported file extension
2018-11-06 22:32:33 +05:30
Jason A. Donenfeld
040f0a25ea
wireguard-go-bridge: take fd instead of fnptr
2018-11-06 16:27:25 +01:00
Jason A. Donenfeld
2a7aa578d2
Xcode: enable more warnings
2018-11-06 16:27:25 +01:00
Roopesh Chander
0f61703c34
Tunnel edit: TunnelEditTableViewKeyValueCell need not support a read-only mode now
2018-11-06 19:01:13 +05:30
Roopesh Chander
845305d8c8
Tunnel edit: A new cell class for the public key field, to make the value scrollable
2018-11-06 17:05:03 +05:30
Roopesh Chander
5ea1c5aea8
Tunnel detail: Refactor out the label scrolling into a separate UI class
2018-11-06 16:49:09 +05:30
Roopesh Chander
e9044966bf
Tunnel view model: Peers in a configuation may not share the same public key
2018-11-06 08:17:56 +05:30
Roopesh Chander
e05a6c31b9
Parser: Peers in a configuation may not share the same public key
2018-11-06 08:17:56 +05:30
Jason A. Donenfeld
e6a6decd79
Version bump
...
We update the build number, not the version number, so that test flight
doesn't need a new review.
2018-11-05 21:44:00 +01:00
Roopesh Chander
4c701a0e4f
Parser: Address, DNS and AllowedIPs can have mutliple entries
2018-11-05 23:53:00 +05:30
Roopesh Chander
c1286c95c3
QR Code: Dismiss the QR code screen when the name prompt is cancelled
2018-11-05 23:38:41 +05:30
Roopesh Chander
3e8af3fd19
Tunnel view model: No need to save if we already have a validated configuration object
2018-11-05 22:55:09 +05:30
Jason A. Donenfeld
12a4acef61
global: convert to Swift 4.2
2018-11-05 06:31:25 +01:00
Jason A. Donenfeld
145b524954
TunnelsManager: account for no or many endpoints
2018-11-05 06:23:26 +01:00
Jason A. Donenfeld
8958a04ba4
PacketTunnelProvider: clamp v6 addresses to /120
2018-11-05 03:11:11 +01:00
Jason A. Donenfeld
395ccf0e87
Settings: account for bottom padding on iPhone X
...
Reported-by: Jeffrey A. Donenfeld <jad@runblue.com>
2018-11-05 02:09:40 +01:00
Jason A. Donenfeld
54cfa3dba3
XCode: use old network extension ID
2018-11-04 05:42:25 +01:00
Jason A. Donenfeld
1f7aaaa233
XCode: unify version strings
2018-11-04 03:51:50 +01:00
Jason A. Donenfeld
1ed21aa60c
Settings: anchor logo to bottom
2018-11-04 03:37:18 +01:00
Roopesh Chander
8fb0baf5d2
Add a correct launch-screen storyboard
2018-11-04 02:31:04 +05:30
Jason A. Donenfeld
939f50be5f
Revert "Settings: Swap table view sections"
...
This reverts commit 1108f82489
.
2018-11-03 19:53:04 +01:00
Jason A. Donenfeld
d91cac6327
Settings: simplify
2018-11-03 19:48:10 +01:00
Jason A. Donenfeld
355a555cc4
Global: run through swiftlint
2018-11-03 19:35:25 +01:00
Jason A. Donenfeld
b3b63b5f5d
Settings: limit size of logo
2018-11-03 19:20:21 +01:00
Jason A. Donenfeld
074e5e7063
Settings: use updated wireguard banner logo
2018-11-03 18:37:51 +01:00
Jason A. Donenfeld
4aba533630
TunnelsManager: restore sanity
2018-11-03 18:20:25 +01:00
Roopesh Chander
c4d5f5975a
Change version with 0.0.yyyymmdd versioning scheme
2018-11-03 19:28:29 +05:30
Roopesh Chander
215c56cec3
VPN: Make sure actions inside tunnelProvider completion handlers are done in the main queue
...
They should really already be in the main queue, but we do this just in case.
2018-11-03 19:26:28 +05:30
Roopesh Chander
f4f1278a82
VPN: Start observing the status only if startTunnel() succeeds
...
This should fix the status change to .disconnected when we're resolving endpoints
2018-11-03 19:22:30 +05:30
Roopesh Chander
6fd9e7f53a
VPN: We should never get a status change to .disconnected if we're resolving endpoints
...
But we do, which we'll fix subsequently
2018-11-03 18:58:27 +05:30
Roopesh Chander
395e6fcdda
Revert "TunnelsManager: initialize observer on correct thread"
...
Rather, we'll make sure we always call startObservingTunnelStatus from
the main thread.
This reverts commit d16a6a167c
.
2018-11-03 18:45:26 +05:30
Roopesh Chander
c0c1fddb75
Settings: Show the captioned WireGuard logo at the end
2018-11-03 18:41:54 +05:30
Roopesh Chander
1108f82489
Settings: Swap table view sections
2018-11-03 17:53:50 +05:30
Roopesh Chander
4f287360a8
Remove empty image
2018-11-03 17:39:43 +05:30
Jeroen Leenarts
f327edfc09
Add Wireguard logo with caption to project
2018-11-03 17:39:22 +05:30
Roopesh Chander
bfdb3efa41
Tunnels list: Fix status switch look after flipping it off after an error
2018-11-03 17:28:16 +05:30
Roopesh Chander
0d4218f0c7
ErrorPresenter: showErrorAlert takes an onPresentated handler
2018-11-03 17:27:07 +05:30
Roopesh Chander
16c9f80ed8
Tunnels list: Should deselect the row when handling the selection
2018-11-03 16:05:02 +05:30
Roopesh Chander
49f055465b
Tunnel list: Don't show the detail view after creating a config from scratch
...
So it's consistent with the other two "Add a configuration" menu items
2018-11-03 15:51:29 +05:30
Roopesh Chander
4ab4c79934
Ensure that all tunnel names are trimmed of whitespaces
2018-11-03 15:45:29 +05:30
Roopesh Chander
eb122f87e2
Zip archive: Handle files within folders inside the zip
2018-11-03 15:37:31 +05:30
Jason A. Donenfeld
d16a6a167c
TunnelsManager: initialize observer on correct thread
...
Because of the callback recursion, this function needs to always be called from the right thread
2018-11-03 07:03:23 +01:00
Jason A. Donenfeld
b81943aaac
TunnelsManager: do not track currentTunnel
...
It's error prone and does not give us anything.
2018-11-03 06:22:57 +01:00
Jason A. Donenfeld
8bbc49015c
TunnelsManager: do not change back to inactive if we are resolving the endpoint
2018-11-03 06:09:57 +01:00
Roopesh Chander
929470c693
Tunnels list: Remove separator lines in the table view
2018-11-03 10:26:15 +05:30
Roopesh Chander
12900e6af3
Tunnels list: Show an 'Add' button when there are no tunnels
2018-11-03 10:26:09 +05:30
Roopesh Chander
4bb45397f1
Tunnels list: Show a busy indicator before the tunnels are loaded
2018-11-03 10:25:47 +05:30
Roopesh Chander
c6df88c893
Tunnels list: The Add and Settings buttons should be no-ops until the tunnels are loaded
2018-11-03 10:25:47 +05:30
Roopesh Chander
e332d6cf0e
Tunnel edit: Use layoutMarginsGuide instead of constants
2018-11-03 10:25:47 +05:30
Jason A. Donenfeld
c025ff8024
TunnelsManager: fix use of arrayslice in addMultiple
2018-11-03 04:37:56 +01:00
Jason A. Donenfeld
aa5634ee27
TunnelsManager: get rid of name set
...
Instead, tunnels itself should be a sorted-set. For now it's a list,
which is probably fine though.
2018-11-03 03:53:08 +01:00
Jason A. Donenfeld
2fdbe1c492
TunnelsManager: get rid of index management
...
No need for premature optimization. There aren't that many tunnels most
of the time, and calling sort on a partially sorted array is fast.
2018-11-03 03:43:09 +01:00
Jason A. Donenfeld
6c737545aa
Global: no periods at the end of error messages
2018-11-03 03:43:09 +01:00
Jason A. Donenfeld
83eeb289c2
Import: rework addMultiple logic
2018-11-03 03:43:09 +01:00
Roopesh Chander
7077dac4e9
Tunnel detail: In the key-value cell, make the value label scrollable horizontally
2018-11-02 23:48:27 +05:30
Roopesh Chander
36292d570a
Tunnel edit: Ensure all key-value fields have a placeholder text
2018-11-02 18:20:32 +05:30
Roopesh Chander
8fee05969e
DNSResolver: Bugfix: Always call completion handler
2018-11-02 18:10:51 +05:30
Roopesh Chander
c04773276a
Info.plist: Update document icons and description
2018-11-02 17:40:46 +05:30
Roopesh Chander
dd04633b1d
Info.plist: Document type UTI should be consistent with exported UTI
2018-11-02 17:40:46 +05:30
Roopesh Chander
0e61d55d3e
Info.plist: Register zip file for open-in
2018-11-02 17:40:46 +05:30
Roopesh Chander
2c999c09de
Info.plist: Add .conf extension to document type
2018-11-02 17:40:46 +05:30
Roopesh Chander
2abcba8031
Add document icon
2018-11-02 17:39:43 +05:30
Roopesh Chander
1a169d5cc6
Add app icons
2018-11-02 16:11:24 +05:30
Roopesh Chander
db8c6cbc21
Handle cell reuse in showing delete buttons in red
2018-11-02 13:24:10 +05:30
Roopesh Chander
c643cd1478
Table edit: Show/hide 'Exclude Private IPs' instead of enable/disable
2018-11-02 13:12:10 +05:30
Roopesh Chander
864394cf81
Tunnel view model: If there's just one peer, populate the scratchpad on init
...
So that exclude private IPs can be computed correctly.
2018-11-02 13:09:45 +05:30
Roopesh Chander
c61491391e
Tunnel view model: Initialize peerData.numberOfPeers
2018-11-02 12:05:58 +05:30
Jason A. Donenfeld
799c2d96cd
DNSResolver: getaddrinfo returns a sockaddr and inet_ntop takes strlen
...
The way this was written before was totally wrong.
2018-11-02 05:34:17 +01:00
Jason A. Donenfeld
2267079367
NetworkExtension: check isTunnelClosed before packet existence
2018-11-01 22:01:52 +01:00
Jason A. Donenfeld
73f4a90dee
Global: OK over Ok
2018-11-01 21:22:12 +01:00
Roopesh Chander
2bb42ac3ec
Deletion buttons are shown in red
2018-11-01 23:53:09 +05:30
Roopesh Chander
bf2031776b
Tunnel edit: Highlight erroring field keys in red
2018-11-01 23:45:48 +05:30
Roopesh Chander
9f98e172b6
Tunnels list: Swipe left to delete
2018-11-01 23:45:48 +05:30
Jason A. Donenfeld
42948b2816
Global: fix up strings
2018-11-01 19:01:43 +01:00
Roopesh Chander
a0b24f53b5
QR code: Fix what happens when an error is shown
2018-11-01 22:08:01 +05:30
Roopesh Chander
79672fa920
NE: Show an alert when someone tries to start the VPN from iOS Settings
2018-11-01 22:08:01 +05:30
Jason A. Donenfeld
ae992c3deb
Export: fix up export format
2018-11-01 17:31:50 +01:00
Roopesh Chander
479f04a579
Tunnel errors: Consolidate tunnel activation errors into ErrorPresenter
2018-11-01 16:58:33 +05:30
Roopesh Chander
e222c8391e
TunnelsManager: Better errors
2018-11-01 16:57:40 +05:30
Roopesh Chander
c056000b55
ConfigFile: WgQuickConfigFileWriter: Fix '[Peer]' section header
2018-11-01 16:13:30 +05:30
Roopesh Chander
2d6426f798
Importing: Account for errors in showing the 'No configurations found' error
2018-11-01 15:59:17 +05:30
Roopesh Chander
1889614157
Tunnel detail: Fix deletion of tunnel
2018-11-01 15:54:37 +05:30
Roopesh Chander
d62c1fd84a
VPN: TunnelsManager: Fix deletion code
2018-11-01 15:53:10 +05:30
Roopesh Chander
c999c2a0ec
VPN: Restart tunnel after modifying a currently active configuration
2018-11-01 15:36:59 +05:30
Roopesh Chander
ecad18749a
QR code: Degrade gracefully when running on the simulator or on a device without a camera
2018-11-01 11:45:44 +05:30
Roopesh Chander
f7331997b2
Revert "QR code: QR code scanning is not available in the simulator"
...
This reverts commit 9729386406
.
2018-11-01 11:45:44 +05:30
Roopesh Chander
771aab9f0f
Importing: Show error when the zip file contains no .conf files
2018-11-01 11:45:44 +05:30
Roopesh Chander
c681b02f7d
VPN: We have to start observing the tunnelContainer before we attempt to activate it
2018-11-01 11:45:44 +05:30
Roopesh Chander
fd30ce0e0d
Importing: Error out on duplicate name
2018-11-01 11:45:44 +05:30
Roopesh Chander
de7bf4cf16
QR Code: Error out on duplicate name
2018-11-01 11:45:44 +05:30
Roopesh Chander
247396ce48
Tunnel edit: Error out on duplicate name when creating / modifying a tunnel
2018-11-01 11:45:44 +05:30
Roopesh Chander
02ff2f783c
VPN: An ErrorPresenter class to consolidate showing of error alerts
2018-11-01 11:45:44 +05:30
Roopesh Chander
d20a1ce7a4
VPN: Introduce an error enum for adding/modifying/removing tunnels
2018-11-01 11:45:44 +05:30
Roopesh Chander
6a586b6f98
VPN: TunnelsManager: s/TunnelsManagerError/TunnelActivationError/g;
2018-11-01 01:47:53 +05:30
Roopesh Chander
699ace099c
VPN: TunnelsManager should keep track of tunnel names to prevent duplicate names
2018-11-01 01:47:53 +05:30
Jason A. Donenfeld
56d827d04a
UI: not all subclasses of CopyableLabelTableViewCell have a detailTextLabel, so generalize
2018-10-31 16:38:05 +01:00
Jason A. Donenfeld
04993104b1
TunnelManager: bound recursion in startActivation
2018-10-31 15:58:03 +01:00
Roopesh Chander
5528be92ff
VPN: Retry startTunnel based on error conditions
2018-10-31 16:42:29 +05:30
Roopesh Chander
dae0e10e20
Tunnel list: Fix importing zip with multiple configurations
2018-10-31 14:30:25 +05:30
Roopesh Chander
efe019b643
VPN: Support adding multiple configurations in one shot
2018-10-31 14:29:54 +05:30
Jason A. Donenfeld
d75a89c09a
wireguard-go-bridge: extract version for consumption by network extension
2018-10-31 04:08:13 +01:00
Jason A. Donenfeld
003286aee0
wireguard-go-bridge: simplify logging and remove tags
2018-10-31 03:22:22 +01:00
Jason A. Donenfeld
47c9924405
NetworkExtension: close context before turning off go
...
The go turnOff code waits for all readers to have completed. In order to
make readers complete, we must send the signal to unblock the request.
Thus, we must reorder these.
2018-10-31 03:03:00 +01:00
Jason A. Donenfeld
34b9023f67
UI: More elegant copy-to-clipboard behavior
2018-10-31 02:17:47 +01:00
Roopesh Chander
9729386406
QR code: QR code scanning is not available in the simulator
2018-10-30 19:22:24 +05:30
Roopesh Chander
203eb46b28
Style: Remove 'Based on' attributions
2018-10-30 19:07:07 +05:30
Roopesh Chander
b12d7bfd95
QR code: Show label overlay with info on how to generate the QR code
2018-10-30 19:04:15 +05:30
Roopesh Chander
1039f1f35a
Tunnel creation: Placeholders for Listen port, Pre-shared key, Persistent Keepalive
2018-10-30 18:50:56 +05:30
Roopesh Chander
13e3f4ae0a
VPN: Refactor use of DNS resolution while activating the tunnel
2018-10-30 18:36:28 +05:30
Roopesh Chander
cc63b0e64f
NE: Print error when unable to start the tunnel
2018-10-30 18:36:28 +05:30
Roopesh Chander
167f5ce55f
Tunnel view model: IP address can be specified without '/cidr'
2018-10-30 13:46:10 +05:30
Roopesh Chander
b372d50757
Model: IP address can be specified without '/cidr'
2018-10-30 13:45:16 +05:30
Roopesh Chander
46080aae63
Fix error message: s/atleast/at least/g;
2018-10-30 13:32:14 +05:30
Jason A. Donenfeld
f6d2feec22
Global: fix up captialization in headers
2018-10-30 03:57:35 +01:00
Jason A. Donenfeld
513cd7aa04
Style: simplify remaining headers
2018-10-30 03:55:43 +01:00
Jason A. Donenfeld
896ed2b33d
XCode: fall back to default settings
2018-10-30 03:54:00 +01:00
Jason A. Donenfeld
f3fa487702
ZIP: fix linter warnings
2018-10-30 00:50:01 +01:00
Roopesh Chander
495b017449
VPN: Better error messages
2018-10-30 00:24:50 +05:30
Roopesh Chander
0ef0eeb116
VPN: Specify an error when there are no peers with an endpoint
2018-10-29 23:38:40 +05:30
Roopesh Chander
22dd3dcc40
Export: Exporting config files
2018-10-29 23:06:55 +05:30
Roopesh Chander
d63ee03d66
mv Parsing/ ConfigFile/
2018-10-29 19:05:01 +05:30
Roopesh Chander
742da89df3
Settings: Add a settings panel
2018-10-29 17:34:09 +05:30
Roopesh Chander
7498e9556b
Model: Cap networkPrefixLengths to valid values
2018-10-29 16:49:49 +05:30
Roopesh Chander
93be31e4e6
Tunnel edit: Support for exclude private IPs
2018-10-29 16:44:47 +05:30
Roopesh Chander
eb61152fe0
Tunnel view model: Support for exclude private IPs
2018-10-29 16:43:53 +05:30
Roopesh Chander
7f69cb6118
Tunnel edit: Fix keyboard type for reused cells
2018-10-29 16:43:12 +05:30
Roopesh Chander
ec3b43bcdf
Tunnel detail: Assume there's just one section per peer
2018-10-29 13:02:11 +05:30
Roopesh Chander
e83a724d83
Tunnel edit: Assume there's just one section per peer
2018-10-29 12:47:00 +05:30
Roopesh Chander
641bcdea04
Tunnel edit: Set correct keyboard types
2018-10-29 06:19:50 +05:30
Roopesh Chander
3e1748bdd9
VPN: If we don't have to make a DNS request, we shouldn't enter that status
2018-10-29 06:19:50 +05:30
Roopesh Chander
5b85d58b27
VPN: Cache DNS resolutions while the app is in memory
2018-10-29 06:19:50 +05:30
Roopesh Chander
8d3b616fa8
VPN: Reload the tunnel before starting it up
...
To avoid errors like this: https://stackoverflow.com/q/47550706
2018-10-29 06:19:50 +05:30
Roopesh Chander
3ffd4a8280
Tunnel list, detail: Deletion of tunnels
2018-10-29 06:19:43 +05:30
Roopesh Chander
4e36ed43c0
VPN: Fix deletion of tunnels
2018-10-29 04:54:57 +05:30
Roopesh Chander
1e7fa2390d
Fix: Make sure all prepareForReuse() implementations call super
2018-10-29 02:27:14 +05:30
Roopesh Chander
6b6a4d3f17
Tunnel edit: Set correct title when editing
2018-10-29 02:24:32 +05:30
Roopesh Chander
b9d6d194bc
Tunnel detail: Change title after editing completes
2018-10-29 02:21:19 +05:30
Roopesh Chander
6b969b7bdf
Tunnel detail: Copying the public key
2018-10-29 02:19:11 +05:30
Roopesh Chander
90eac14b9a
Tunnel editing: Fix cell class names
2018-10-29 02:15:43 +05:30
Roopesh Chander
b9c3e062ea
Import: Use the refactored function for Open-in
2018-10-29 02:09:50 +05:30
Roopesh Chander
894925466d
Import: Minor refactoring
2018-10-29 02:08:40 +05:30
Roopesh Chander
571572943b
Import: Show errors when importing fails
2018-10-29 02:03:39 +05:30
Roopesh Chander
2b72e76679
Import config: Directly add config, don't open up the editor
2018-10-29 01:58:21 +05:30
Roopesh Chander
b060b9ff06
Zip: Import configs from zip files
2018-10-29 01:52:43 +05:30
Roopesh Chander
2d41591cfd
Zip: Add zip file reader
2018-10-29 01:51:49 +05:30
Roopesh Chander
3a58dd9481
Zip: Include minizip in our Xcode project
2018-10-29 01:03:53 +05:30
Roopesh Chander
131d362211
Zip: Add code from the minizip project
...
Source: https://zlib.net/zlib-1.2.11.tar.gz
2018-10-29 01:03:44 +05:30
Roopesh Chander
974b2568d2
QR code: Save the scanned tunnel
2018-10-28 23:32:15 +05:30
Jeroen Leenarts
fabfd17d44
QR code: Ask for title when scanning a QR code
2018-10-28 23:20:18 +05:30
Roopesh Chander
b172ba3a2a
QR code: Minor refactoring
2018-10-28 23:19:56 +05:30
Jeroen Leenarts
1ae0b9a64b
QR code: Support some form of rotation.
2018-10-28 23:19:52 +05:30
Jeroen Leenarts
14a802417b
QR code: Make sure correct layering is used to make sure hint remains visible.
2018-10-28 23:19:45 +05:30
Roopesh Chander
153c11c42c
QR code: Integrate Eric's QR code scanner
2018-10-28 22:22:32 +05:30
Roopesh Chander
7795b6954c
Info.plist: Indicate that the app shall use the camera
2018-10-28 22:01:02 +05:30
Roopesh Chander
54dc70f910
Tunnels list: Need to pass in a name to the parser
2018-10-28 21:59:52 +05:30
Roopesh Chander
d7691158a4
Revert "Parser: Interface name can be added after parsing"
...
This reverts commit d3a9e79149
.
2018-10-28 21:57:18 +05:30
Eric Kuck
e86923528b
QR code: Ability to add tunnels with a QR code scan
2018-10-28 18:26:41 +05:30
Roopesh Chander
be1383aed8
Model: Ensure name is not empty
...
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
.
2018-10-28 18:13:47 +05:30
Roopesh Chander
ac29886f7b
VPN: A tunnel may be already active on app startup
2018-10-28 18:09:38 +05:30
Roopesh Chander
4a71c0e98e
VPN: Remove ability to deactivate the tunnel while resolving DNS
2018-10-28 17:47:01 +05:30
Roopesh Chander
8df53b7709
VPN: DNSResolver: Resolve multiple endpoints in parallel
2018-10-28 17:44:25 +05:30
Roopesh Chander
2c94dd4694
Tunnels list: Add a switch and an activity indicator to the list view
...
They track the status of the tunnel. The switch can also be used to
bring the tunnel up and down.
2018-10-28 14:56:15 +05:30
Roopesh Chander
f2cbf10f72
VPN: Save the tunnel name when modifying a tunnel
2018-10-28 14:55:24 +05:30
Roopesh Chander
7d61385572
Tunnel detail: For now, don't allow cancelling when resolving domains is in progress
2018-10-28 14:54:41 +05:30
Roopesh Chander
2781026728
VPN: Cleaner derivation of subnet mask from CIDR network prefix length
2018-10-28 11:51:18 +05:30
Roopesh Chander
5add29a5c8
Tunnel detail: The tableView should have selection disabled
2018-10-27 19:14:08 +05:30
Roopesh Chander
4516fa0fdd
VPN: Better error and status handling
2018-10-27 19:07:16 +05:30
Roopesh Chander
924b824af4
Xcode: Disable bitcode
...
Enabling bitcode generates a linker error when linking with libwg-go.a
2018-10-27 19:07:16 +05:30
Roopesh Chander
7433634b66
VPN: Bring up the tunnel
...
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.
2018-10-27 19:07:16 +05:30
Roopesh Chander
be25d9d491
Xcode: Make Xcode build libwg-go.a automatically
...
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.
2018-10-27 19:07:16 +05:30
Roopesh Chander
69a35ec3ff
VPN: Fix DNS resolution API
2018-10-27 19:07:16 +05:30
Roopesh Chander
0f92228136
NE: Add bridging header
2018-10-27 19:07:16 +05:30
Roopesh Chander
4eb13921d2
NE: Remove entitlements we don't need for now
2018-10-27 19:07:16 +05:30
Roopesh Chander
b41c6b49d5
NE: Include the network extension in the project
2018-10-27 19:07:16 +05:30
Roopesh Chander
02fb23bb45
VPN: Perform DNS resolution before starting the tunnel
2018-10-27 19:07:16 +05:30
Roopesh Chander
5cb2558fea
Tunnel detail: Account for status section in peer index calculations
2018-10-27 19:07:16 +05:30
Roopesh Chander
373adc578c
VPN: DNSResolver: A class that does DNS resolution using getaddrinfo
2018-10-27 19:07:16 +05:30
Roopesh Chander
c1cfed7739
Tunnel detail: UI for activating and deactivating a tunnel
2018-10-27 19:07:16 +05:30
Roopesh Chander
59133f5467
VPN: Activating, deactivating and tracking the status
2018-10-27 19:07:16 +05:30
Roopesh Chander
d586f1d619
Tunnel detail: Fix comment
2018-10-27 19:07:16 +05:30
Roopesh Chander
8c2b9432d7
Model: Add a version number to the tunnel
2018-10-27 19:07:01 +05:30
Roopesh Chander
ac60a97dee
VPN: Adding, modifying and deleting actual NETunnelProviderManager instances
2018-10-27 15:13:02 +05:30
Roopesh Chander
f6620fed9a
Import: Support for importing a config file from file providers
2018-10-27 15:13:02 +05:30
Roopesh Chander
9d340ab873
iPad: Fix modal presentation style
2018-10-27 15:13:02 +05:30
Roopesh Chander
9aa0c1b1f8
iPad: Make sure the navigation bar is visible in the detail view
2018-10-27 15:13:02 +05:30
Roopesh Chander
b2ad15da55
Tunnel editing: Delegate should also report when editing is cancelled
2018-10-27 15:13:02 +05:30
Roopesh Chander
4e2a1aa07a
Import: Support for opening a .conf file in the app
2018-10-27 15:13:02 +05:30
Roopesh Chander
44a2eff1e0
Tunnel editing: Separate init for creation and modification
2018-10-27 15:13:02 +05:30
Roopesh Chander
d3a9e79149
Parser: Interface name can be added after parsing
2018-10-27 15:13:02 +05:30
Roopesh Chander
db72e9522a
Model: Allow creating an interface with empty name
...
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.)
2018-10-27 15:13:02 +05:30
Roopesh Chander
e8633b243d
Info.plist: support for opening wg-quick config (.conf) files
2018-10-27 15:13:02 +05:30
Roopesh Chander
8561b0f84c
Info.plist: Export the config file type declaration
2018-10-27 15:13:02 +05:30
Roopesh Chander
ab3fab4024
Config file: Parsing a wg-quick config file
2018-10-27 15:13:01 +05:30
Roopesh Chander
903fd02eb2
Model: MTU should be a 16-bit integer
2018-10-27 15:13:01 +05:30
Roopesh Chander
8423814876
VPN: Tunnel container shall provide direct access to the configuration object
2018-10-27 15:13:01 +05:30
Roopesh Chander
34cc14fefa
Tunnel editing: Modifying a tunnel configuration
2018-10-27 15:13:01 +05:30
Roopesh Chander
61cf3f8a5b
Tunnel creation: After saving the new tunnel, show the detail view
2018-10-27 15:13:01 +05:30
Roopesh Chander
ebb0dcd923
Tunnel detail: Don't show fields that have empty value
2018-10-27 15:13:01 +05:30
Roopesh Chander
e2663822bb
Tunnel creation: Public key is uneditable
2018-10-27 15:13:01 +05:30
Roopesh Chander
ad9e9b6666
Tunnel creation: An uneditable field's value should be grey as well
2018-10-27 15:13:01 +05:30
Roopesh Chander
9120e27f2b
Tunnel creation: Generate key pair
2018-10-27 15:13:01 +05:30
Roopesh Chander
423fc4f9e0
Tunnel creation: Compute public key from private key as the text is being edited
2018-10-27 15:13:01 +05:30
Roopesh Chander
91ea0fe7e5
Tunnel view model: Populate interface's public key
2018-10-27 15:13:01 +05:30
Roopesh Chander
a4016afd7c
Model: Interface: Add a public key computed property
2018-10-27 15:13:01 +05:30
Roopesh Chander
1f166c8d3e
Crypto: Swift wrapper for the Curve25519 C code
2018-10-27 15:13:01 +05:30
Jeroen Leenarts
3bae6c6f01
Crypto: Curve25519: Add explicit cast to supress conversion warning.
2018-10-27 15:13:01 +05:30
Roopesh Chander
c68c214cbf
Crypto: Add Curve25519 C code to project
2018-10-27 15:13:01 +05:30
Jeroen Leenarts
c2abe9f011
Crypto: Add key generation functions
2018-10-27 15:13:01 +05:30
Roopesh Chander
e6eef48c69
Tunnel creation: Hide 'Exclude private IPs' switch till the feature is ready
2018-10-27 15:13:01 +05:30
Roopesh Chander
3adb6cc15f
Set Xcode template for smaller copyright headers
2018-10-27 15:13:01 +05:30
Roopesh Chander
e0a8aedc3d
Smaller copyright headers
2018-10-27 15:13:01 +05:30
Roopesh Chander
a8138efefe
Tunnel detail: Start off with the tunnel detail view
2018-10-27 15:13:01 +05:30
Roopesh Chander
cd7d6d5152
Tunnel view model: Add copy public key
2018-10-27 15:13:01 +05:30
Roopesh Chander
6d4151eafa
Tunnel creation: Variable renaming
...
s/interfaceEditFieldsBySection/interfaceFieldsBySection/g;
s/peerEditFieldsBySection/peerFieldsBySection/g;
2018-10-27 15:13:01 +05:30
Roopesh Chander
63f96b928a
Tunnel view model: The view model applies for both editing and viewing
2018-10-27 15:13:01 +05:30
Roopesh Chander
e8350b689f
Tunnels list: Update when a tunnel is added
2018-10-27 15:13:01 +05:30
Roopesh Chander
0324cebe2b
Tunnel creation: Saving a configuration
2018-10-27 15:13:01 +05:30
Roopesh Chander
e0ee01db78
Model: Use DNSServer in the Configuration model
2018-10-27 15:13:01 +05:30
Roopesh Chander
bebbaeaa93
Model for DNS server
2018-10-27 15:13:01 +05:30
Roopesh Chander
1b5ab9a72f
Model: Endpoint host should not have invalid characters
2018-10-27 15:13:01 +05:30
Roopesh Chander
c8fa6850c2
Model: listenPort and persistentKeepAlive should be 16-bit integers
2018-10-27 15:13:01 +05:30
Roopesh Chander
0fa97c38ed
Tunnel creation: Refactor by creating a separate view model
2018-10-27 15:13:01 +05:30
Roopesh Chander
9f252d4e37
Tunnel creation: Validate the data and prepare to save to a configuration
2018-10-27 15:13:01 +05:30
Roopesh Chander
42c3d63d13
Tunnel creation: Save typed values in a scratchpad
2018-10-27 15:13:01 +05:30
Roopesh Chander
d831bd44c4
Tunnel creation: Fix Persistent Keepalive label's look
2018-10-27 15:13:01 +05:30
Roopesh Chander
bbd13ad4cf
Tunnel creation: Start off with tunnel creation
2018-10-27 15:13:01 +05:30
Roopesh Chander
e337427eae
Model: Make InterfaceConfiguration and PeerConfiguration structs
2018-10-27 15:13:01 +05:30
Roopesh Chander
3e72dcade8
Model: Make it impossible to create invalid interface / peer configuration instances
2018-10-27 15:13:01 +05:30
Roopesh Chander
255b579f4d
Use Endpoint in the Configuration model
2018-10-27 15:13:01 +05:30
Roopesh Chander
7482ee8cf5
Model for an endpoint
2018-10-27 15:13:01 +05:30
Roopesh Chander
1d01d1f85d
Model: IPAddressRange: Converting to and from String
2018-10-27 15:13:01 +05:30
Roopesh Chander
945953177e
Model: Name should be part of the interface, not the tunnel
2018-10-27 15:13:01 +05:30
Roopesh Chander
e00a577bba
Tunnels list: Show an actions list when the '+' is tapped
2018-10-27 15:13:01 +05:30
Roopesh Chander
0593a77d7a
Tunnels list: Show data from the tunnels manager
2018-10-27 15:13:01 +05:30
Roopesh Chander
052ece53a3
Tunnels list: Make the table view style explicit
2018-10-27 15:13:01 +05:30
Roopesh Chander
b690de0d14
VPN: Add TunnelsManager to manage the tunnels in the app
2018-10-27 15:13:01 +05:30
Roopesh Chander
66307fd3c5
Bump deployment target to iOS 12.0
2018-10-27 15:13:01 +05:30
Roopesh Chander
f6054775ca
Use IPAddressRange in the Configuration model
2018-10-27 15:13:01 +05:30
Roopesh Chander
0948363d5b
Model for an IP Address range
2018-10-27 15:13:01 +05:30
Roopesh Chander
995320b958
Models for tunnel, interface and peer
2018-10-27 15:13:01 +05:30
Roopesh Chander
9443ee7e30
Configure the split-view controller to work in both iPhone and iPad
2018-10-27 15:13:01 +05:30
Roopesh Chander
50d660851a
Change copyright to WireGuard LLC
2018-10-27 15:13:01 +05:30
Roopesh Chander
0c7321e923
Use a split-view controller as the main (root) view controller
2018-10-27 15:13:01 +05:30
Roopesh Chander
887678bbf9
Move UI code into a separate platform-specific folder
...
Later, we hope to have a UI/macOS folder for developing a macOS client
from this codebase.
2018-10-27 15:13:01 +05:30
Roopesh Chander
8bd289c32f
Prepare for rewrite: Move WireGuardNetworkExtension into the new project folder
2018-10-27 15:13:01 +05:30
Roopesh Chander
be06f33acc
Use APP_ID in xcconfig rather than PRODUCT_BUNDLE_IDENTIFIER
...
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.
2018-10-27 15:13:01 +05:30
Roopesh Chander
62987e7a32
Enable Network Extensions capability
2018-10-27 15:13:01 +05:30
Roopesh Chander
c33cf18a2f
Move App ID to Developer.xcconfig as well
2018-10-27 15:13:01 +05:30
Roopesh Chander
d15a2ee88e
Remove storyboard and create UI from code
2018-10-27 15:13:01 +05:30
Roopesh Chander
732309b2fe
Move DEVELOPMENT_TEAM into an xcconfig out of the git repo
...
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.
2018-10-27 15:13:01 +05:30
Roopesh Chander
c647572b18
Create a new project in Xcode
2018-10-27 15:13:01 +05:30
Roopesh Chander
8df3d72615
Prepare for rewrite: Remove UI and model code
2018-10-27 15:13:01 +05:30
Jeroen Leenarts
94afded0d2
Better handling of CIDR values.
2018-10-03 21:34:51 +02:00
Jeroen Leenarts
f27b4483da
Disable auto corrects and related helpers on UITextfields.
2018-10-03 10:54:41 +02:00
Jeroen Leenarts
e96a5c803f
Export qr scanned config to system settings.
2018-10-03 10:48:49 +02:00
Jason A. Donenfeld
0f553856b1
Remove extra comment cruft
2018-10-03 01:21:59 +02:00
Jeroen Leenarts
ae1af569d6
Remove a few prints, add some whitespace.
2018-10-02 22:36:39 +02:00
Jeroen Leenarts
03c257cfcc
Add some form of image for when no configurations are available.
2018-10-02 21:33:24 +02:00
Jeroen Leenarts
d12542a0c2
Dismiss qr scan vc on cancel.
2018-10-02 21:23:52 +02:00
Jeroen Leenarts
2fac395700
Handle persistentKeepAlive better.
2018-10-02 21:19:27 +02:00
Jeroen Leenarts
25ce33aa1f
Add Wireguard logo to bottom of settings.
2018-10-02 21:14:47 +02:00
Jeroen Leenarts
93b1f31d45
Extract WireGuardGo version at build time.
2018-10-02 21:14:18 +02:00
Jeroen Leenarts
6fa7d7bfbf
Deal with type body length warning.
2018-10-02 19:53:56 +02:00
Jeroen Leenarts
9ad7a2d3bd
Copy public key through context menu.
2018-10-02 19:39:26 +02:00
Jason A. Donenfeld
9d01829a98
Rewrite bridge build system
2018-10-02 19:15:03 +02:00
Jeroen Leenarts
41e0459521
Don't crash on failure to obtain version info and inform user on what is needed to be able to retrieve version info from the Go client.
2018-10-01 15:37:15 +02:00
Jeroen Leenarts
07be1c5398
Check and clear old configs on app start and app foreground.
2018-10-01 15:36:11 +02:00
Jeroen Leenarts
d8946babba
Add switch to info view controller.
2018-09-29 22:29:34 +02:00
Jeroen Leenarts
f29776d8e8
Deal with zero or empty input better.
2018-09-26 11:43:13 +02:00
Jeroen Leenarts
f669dd2015
Use trash instead of edit icon.
2018-09-26 11:27:24 +02:00
Jeroen Leenarts
406d72d8d9
Use message to extension to obtain version info.
2018-09-26 11:26:52 +02:00
Jeroen Leenarts
189e5181a5
Fixe base 64 regex format.
2018-09-26 11:23:13 +02:00
Jeroen Leenarts
ae7e655e37
Add explicit cast to supress conversion warning.
2018-09-26 11:22:15 +02:00
Jeroen Leenarts
3f9858a655
Fixe file/function related warnings.
2018-09-26 11:21:53 +02:00
Jeroen Leenarts
e27a3addb9
Not a gear but dots.
2018-09-26 10:24:52 +02:00
Jeroen Leenarts
2dc9392904
Present alert for title.
2018-09-25 22:30:16 +02:00
Jeroen Leenarts
0342415705
Remove default zeroes for listenPort and mtu.
2018-09-25 21:15:50 +02:00
Jeroen Leenarts
44c5b62c63
Ask for title when scaning a QR.
2018-09-25 20:59:15 +02:00
Jeroen Leenarts
c296d6ed01
Move copy button a bit up towards title line.
2018-09-25 20:15:44 +02:00
Jeroen Leenarts
de82b9f0af
Settnings icon.
2018-09-25 20:10:29 +02:00
Jeroen Leenarts
4fdc8244a1
Report the correct number of rows in the info table view.
2018-09-20 00:44:24 +02:00
Jeroen Leenarts
336f30e3c9
Get rid of a few cosmetic lines.
2018-09-20 00:43:57 +02:00
Jeroen Leenarts
72465bd341
Make sure a scanned config is actually saved and displayed.
2018-09-20 00:43:43 +02:00
Jeroen Leenarts
2e2ffe8634
Support some form of rotation.
2018-09-20 00:28:07 +02:00
Jeroen Leenarts
f51bef7673
Make sure correct layering is used to make sure hint remains visible.
2018-09-20 00:27:49 +02:00
Jeroen Leenarts
a8796ca627
Add add from file within app.
2018-09-19 16:02:20 +02:00
Jeroen Leenarts
78530ca1a4
Add edit/done buttons to have a more discoverable way to remove tunnels.
2018-09-18 22:46:28 +02:00
Jeroen Leenarts
58b4f81356
Move add button to bottom toolbar.
2018-09-18 22:19:03 +02:00
Jeroen Leenarts
7f9d9d4509
Add settings screen. Move export as zip to settings screen.
2018-09-18 21:49:59 +02:00
Jeroen Leenarts
4d7c20e146
Spelling improvement in log statement.
2018-09-16 22:43:31 +02:00
Jeroen Leenarts
c02c568000
Show public key on interface. Do not generate public key on peer on generate. Add public key copy buttons.
2018-09-16 22:38:32 +02:00
Jeroen Leenarts
fabb6c907a
Start a new peer without an allowed ips entry.
2018-09-16 21:23:20 +02:00
Jeroen Leenarts
e53c959c00
New peers should begin with zero peers.
2018-09-16 21:22:00 +02:00
Jeroen Leenarts
f9c2a82740
Back button for tunnel table view renamed to "Tunnels"
2018-09-16 21:19:14 +02:00
Jeroen Leenarts
65bf6d807d
Clean up old school headers.
2018-09-16 21:17:54 +02:00
Jeroen Leenarts
0ec034501e
We do not support "on demand" right now.
...
On demand has the effect of the VPN tunnel being started "on demand" based on a set of triggering criteria. Currently there are no criteria in place, so it always triggers.
2018-09-15 21:26:07 +02:00
Jeroen Leenarts
54aa2767b3
Add intermediate "Info" screen.
2018-09-15 21:24:52 +02:00
Jeroen Leenarts
39990ab480
Prevent crash on add and deletion of config.
2018-09-15 21:23:47 +02:00
Jeroen Leenarts
5df512d4fe
Re-center app icon.
2018-09-15 20:29:28 +02:00
Jeroen Leenarts
afd09fb5f0
Rename "WireGuard tunnels" to "WireGuard".
2018-09-15 20:27:14 +02:00
Jeroen Leenarts
562433468b
Fix provisioning.
2018-09-15 20:26:17 +02:00
Jason A. Donenfeld
55c0242e84
Update bundle names
2018-09-15 02:22:10 +02:00
Jeroen Leenarts
6c49e9151a
Switch copyright assignment from Jason to WireGuard LLC.
2018-09-06 07:42:23 +02:00
Jeroen Leenarts
2cd96f3105
Working zip import.
2018-09-05 20:25:54 +02:00
Jeroen Leenarts
989117a14c
Remove item from provider managers on delete.
2018-09-05 20:25:32 +02:00
Jeroen Leenarts
676bf6c312
Make sure to refresh provider managers after saving.
2018-09-05 20:10:09 +02:00
Jeroen Leenarts
dd899fa63d
Import of zip.
2018-09-03 00:08:34 +02:00
Jeroen Leenarts
ca35168dc9
Zip export.
2018-09-02 22:47:41 +02:00
Jeroen Leenarts
815f12c9a3
Add import and export logic.
2018-09-01 00:18:12 +02:00
Jeroen Leenarts
fc70a92800
Add addresses, dns and mtu to export string.
2018-08-31 21:40:24 +02:00
Jeroen Leenarts
9af7ceac2e
Add string conversion for tunnel config.
2018-08-29 15:01:59 +02:00
Jeroen Leenarts
217b632ccb
Initial merge of rc's work.
2018-08-27 22:32:47 +02:00
Jeroen Leenarts
acb7caa1f8
Move, modify and add key generation functions to project.
2018-08-27 13:38:50 +02:00
Eric Kuck
dc5a99e0a3
Reworked main tableview switch layout & logic
2018-08-22 13:34:08 -05:00
Jeroen Leenarts
2c22d99d4d
Use a Switch on each tunnel cell.
2018-08-21 22:27:44 +02:00
Jeroen Leenarts
5728a525c7
Line selection configures the tunnel.
2018-08-21 20:04:14 +02:00
Eric Kuck
5ef1656102
Added ability to add tunnels with a QR code scan. Logic in place to parse conf files as well.
2018-08-21 11:00:41 -05:00
Jeroen Leenarts
93e2264751
Extend validators to work for DNS entries as well.
2018-08-16 22:41:45 +02:00
Jeroen Leenarts
5363be2403
Use `commaSeparatedToArray` utility everywhere.
2018-08-16 22:39:08 +02:00
Jeroen Leenarts
792301e50e
If the selected tunnel is not "enabled", make it enabled.
2018-08-16 22:05:22 +02:00
Jeroen Leenarts
11b43206ff
Add on demand rule.
2018-08-16 22:04:35 +02:00
Jeroen Leenarts
6b57ca0d98
Do not perform optional try, this ate errors in the addressess and DNS input.
2018-08-16 22:03:40 +02:00
Eric Kuck
475b6abb5b
Added validation before saving any tunnels
...
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-08-15 17:34:16 -05:00
Jeroen Leenarts
d6fcc10bd9
Remove old import.
2018-08-15 19:41:19 +02:00
Jeroen Leenarts
412b21a7ce
Log on VPNStatusDidChange.
2018-08-12 21:50:54 +02:00
Jeroen Leenarts
6d977e13b2
Config tweaking.
2018-08-12 21:49:38 +02:00
Jeroen Leenarts
9ce5fccbd3
Add back addresses.
2018-08-12 21:37:56 +02:00
Jeroen Leenarts
ca5d40c0d8
Fix config generation.
2018-08-09 22:45:28 +02:00
Jeroen Leenarts
126ea25ef1
Switch from using a single VPN manager to a VPN manager per configuration.
2018-08-08 07:04:42 +02:00
Jeroen Leenarts
1a4929964c
Add tunnel provider identifier.
2018-08-08 06:59:56 +02:00
Jeroen Leenarts
d449817a45
Generate split allowed IPs in protocol configuration.
2018-08-07 21:33:19 +02:00
Jeroen Leenarts
cf0ccbf0d1
Remove Address and related code.
2018-08-06 23:28:52 +02:00
Jeroen Leenarts
bde972d96f
Remove incorrect core data model fields.
2018-08-06 09:04:54 +02:00
Jeroen Leenarts
a6b2f2edca
Add provider configuration generation.
2018-08-06 09:04:29 +02:00
Jeroen Leenarts
ea44b6de20
Fix binding.
2018-08-05 19:05:41 +02:00
Jeroen Leenarts
2941f0eb71
Add default allowed IPs.
2018-08-05 15:58:01 +02:00
Jeroen Leenarts
675a17f51a
Assign correct copyright.
2018-08-05 07:48:36 +02:00
Jeroen Leenarts
1dc70297f6
A server address is required for proper saving of protocol configuration.
2018-08-04 22:49:37 +02:00
Jeroen Leenarts
43d5534d22
Remove some silly TODOs.
2018-08-04 22:49:03 +02:00
Jeroen Leenarts
a4db2d4f3e
Add NETunnelProviderManager management to AppCoordinator.
2018-08-04 21:28:19 +02:00
Jeroen Leenarts
0f1aa701df
Change copyright notice.
2018-07-15 11:55:41 +02:00
Jeroen Leenarts
6344f3d25f
Start wire-up of logging and tunnel system.
2018-07-07 22:54:44 +02:00
Jason A. Donenfeld
fa8338ef7a
Fix bizarre name
2018-06-23 02:15:43 +02:00
Jeroen Leenarts
bb1e05f9db
Objective-C wrapper around WireguardGo.
2018-06-22 08:23:39 +02:00
Jeroen Leenarts
25bcb708ae
Allow adding and deleting peers.
2018-05-29 22:47:52 +02:00
Jeroen Leenarts
42f278ff49
Allow adding unvalidated config.
2018-05-29 22:21:44 +02:00
Jeroen Leenarts
0b2f004f62
Wire up TunnelConfigurationTableViewController.
2018-05-27 22:38:44 +02:00
Jeroen Leenarts
a59215110b
A config having zero peers is allowed.
2018-05-27 14:23:36 +02:00
Jeroen Leenarts
a0cf47606a
We are dealing with not just any tunnel, but with WireGuard tunnels.
2018-05-27 14:23:13 +02:00
Jeroen Leenarts
7ce3288939
Deal with final folder name issues due to Apple's case insensitive case preserving behavior.
2018-05-27 14:20:15 +02:00
Jeroen Leenarts
b98ade57c4
Add trash can icon.
2018-05-26 09:41:19 +02:00
Jeroen Leenarts
6bf3d5021e
Some casing trouble in WireGuard strings.
2018-05-26 09:41:09 +02:00
Jeroen Leenarts
1c43581ce5
Everything is a tunnel.
2018-05-26 09:17:36 +02:00
Jeroen Leenarts
6f59c27220
Add bare bones `ProfileConfigurationTableViewController`.
2018-05-24 22:07:04 +02:00
Jeroen Leenarts
e528429f0c
Basic setup of ConnectionsTableViewController.
2018-05-24 20:16:17 +02:00