Roopesh Chander
|
39fb52a2e3
|
macOS: Fix removal of DNSes from AllowedIPs when DNS has changed
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-21 18:17:28 +05:30 |
|
Roopesh Chander
|
69a064d954
|
iOS: On changing DNS, update AllowedIPs with the current DNS servers
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-21 17:57:13 +05:30 |
|
Roopesh Chander
|
ba3f0db92c
|
TunnelViewModel: Remove DNS from AllowedIPs when unchecking 'Exclude private IPs'
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-16 19:57:31 +05:30 |
|
Roopesh Chander
|
5031a7db4c
|
macOS: Exclude private IPs
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-16 18:25:17 +05:30 |
|
Roopesh Chander
|
a355232e09
|
TunnelViewModel: Minor refactoring of exclude private IPs handling
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-16 17:35:33 +05:30 |
|
Roopesh Chander
|
e53c2d4d17
|
iOS: Rewrite applying runtime configuration
To make scrolling smoother while the fields are modified
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-10 03:35:24 +05:30 |
|
Jason A. Donenfeld
|
0e2556544e
|
Global: fix swiftlint issues
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2019-02-08 17:07:28 +01:00 |
|
Jason A. Donenfeld
|
05547861b6
|
Key: Constant time encoding
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2019-02-08 03:23:15 +01:00 |
|
Roopesh Chander
|
1b8b9ed7ee
|
iOS: Use shorter pretty time
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-08 04:40:11 +05:30 |
|
Roopesh Chander
|
8a6a60482c
|
TunnelViewModel: Don't call peer change handler if there are no changes
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-05 12:36:34 +05:30 |
|
Roopesh Chander
|
4ff6105053
|
iOS: Apply runtime configuration by diff-ing
And apply the diff on the tableView as insert/remove/reloads.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-02-02 19:22:01 +05:30 |
|
Roopesh Chander
|
1189b3d700
|
Fix handling of 'PersistentKeepalive: every n seconds'
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-01-31 18:22:08 +05:30 |
|
Roopesh Chander
|
b0bb2e993a
|
Runtime info: Make bytecount and timestamp info prettier
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-01-28 17:27:08 +05:30 |
|
Roopesh Chander
|
d1f83d167e
|
Persistent Keepalive detail should read 'every n seconds'
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-01-28 16:07:28 +05:30 |
|
Jason A. Donenfeld
|
22625e8cc4
|
Tunnel: support getting runtime configuration
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2019-01-24 01:37:57 +01:00 |
|
Roopesh Chander
|
273ee04450
|
Better os() directives
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-01-22 04:06:37 +05:30 |
|
Roopesh Chander
|
09d7a5229a
|
On-Demand: Add support for macOS-specific values
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-01-14 14:52:26 +05:30 |
|
Roopesh Chander
|
10982a57ef
|
import Foundation instead of UIKit wherever possible
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2019-01-14 14:52:26 +05:30 |
|
Jason A. Donenfeld
|
e2384e143c
|
Update copyright
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2019-01-07 19:23:39 -05:00 |
|
Roopesh Chander
|
999b761ed0
|
Remove more comments
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-12-23 00:31:44 +05:30 |
|
Jason A. Donenfeld
|
41a4c6362a
|
Attempt to strongly recommend things
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2018-12-22 01:55:42 +01:00 |
|
Jason A. Donenfeld
|
4ed646973e
|
Move name from interface to tunnel
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2018-12-22 00:28:18 +01:00 |
|
Eric Kuck
|
8553723e04
|
Updated NETunnelProvider save format
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-21 16:42:16 +01:00 |
|
Roopesh Chander
|
0552d75aa1
|
Localize all the things
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-12-21 18:34:09 +05:30 |
|
Eric Kuck
|
a89ad95901
|
Enabled more swiftlint rules
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-20 11:22:37 -06:00 |
|
Eric Kuck
|
5618c465a2
|
Added a String->[String] helper
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-20 10:46:26 -06:00 |
|
Jason A. Donenfeld
|
1e9c806614
|
Fix confusing indentation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2018-12-15 04:42:46 +01:00 |
|
Eric Kuck
|
cb051f695d
|
Reorganized project structure
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-14 17:27:11 -06:00 |
|
Eric Kuck
|
05d750539b
|
Reorganized ViewControllers (split out UIViews and UITableViewCells into their own classes)
All swiftlint warnings except one fixed up
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-13 12:58:50 -06:00 |
|
Eric Kuck
|
8a916beb38
|
More formatting nits and cyclomatic complexity fixes
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-12 21:09:52 -06:00 |
|
Eric Kuck
|
e4ac48bc75
|
More linter warnings fixed, enabled more swiftlint rules, project cleanup
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-12 15:33:14 -06:00 |
|
Eric Kuck
|
d06cff2a36
|
Tons more swiftlint warnings fixed. Still a few remaining.
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-12 12:28:27 -06:00 |
|
Eric Kuck
|
de14b76b4d
|
Added swiftlint and fixed all errors (and a bunch, but not all, warnings)
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
|
2018-12-12 11:40:57 -06:00 |
|
Roopesh Chander
|
60e13ddbf6
|
Model: Declare keyLength constant and use that wherever applicable
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-12-09 14:07:03 +05:30 |
|
Roopesh Chander
|
06a783f50a
|
On-Demand: TunnelViewModel: Make activate-on-demand methods static
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-12-08 02:17:23 +05:30 |
|
Roopesh Chander
|
465c22f769
|
On-Demand: Move detail text to TunnelViewModel
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-12-08 02:17:15 +05:30 |
|
Jason A. Donenfeld
|
66b4aedd08
|
Make strings consistent
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2018-12-07 18:52:14 +01:00 |
|
Roopesh Chander
|
3e1772ccd0
|
It's 'WiFi', not 'Wifi'
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-28 12:41:35 +05:30 |
|
Roopesh Chander
|
8590a8804a
|
Tunnel view model: Invalidate the configuration object when updating allowedIPs using the 'Exclude private IPs' switch
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-19 15:22:27 +05:30 |
|
Roopesh Chander
|
f1b8de7312
|
Tunnel view model: VPN-on-demand stuff shouldn't be part of the tunnel model
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-12 19:24:13 +05:30 |
|
Roopesh Chander
|
c5e8b05e8b
|
Tunnel edit, Tunnel view model: UI for providing On-Demand activation options
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-11 01:18:36 +05:30 |
|
Roopesh Chander
|
290f83d5ef
|
Model: Ensure that a TunnelConfiguration always has a valid array of peers
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-10 17:02:30 +05:30 |
|
Roopesh Chander
|
a62f7fb988
|
Tunnel view model: Peers in a configuation may not share the same public key
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-06 08:17:56 +05:30 |
|
Roopesh Chander
|
f102051e22
|
Tunnel view model: No need to save if we already have a validated configuration object
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-05 22:55:09 +05:30 |
|
Jason A. Donenfeld
|
955de09c9e
|
Global: run through swiftlint
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2018-11-03 19:35:25 +01:00 |
|
Roopesh Chander
|
366ca7802a
|
Ensure that all tunnel names are trimmed of whitespaces
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-03 15:45:29 +05:30 |
|
Roopesh Chander
|
66e802584b
|
Tunnel view model: If there's just one peer, populate the scratchpad on init
So that exclude private IPs can be computed correctly.
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-02 13:09:45 +05:30 |
|
Roopesh Chander
|
b3cc30a207
|
Tunnel view model: Initialize peerData.numberOfPeers
Signed-off-by: Roopesh Chander <roop@roopc.net>
|
2018-11-02 12:05:58 +05:30 |
|
Jason A. Donenfeld
|
c2d76b9c45
|
Global: fix up strings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2018-11-01 19:01:43 +01:00 |
|
Jason A. Donenfeld
|
2e78aecd68
|
UI: More elegant copy-to-clipboard behavior
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2018-10-31 02:17:47 +01:00 |
|