Commit Graph

170 Commits

Author SHA1 Message Date
Davide De Rosa 88b860d666 Fix TunnelKit endpoint regression
Try pre-resolved addresses before DNS resolution.

Evident with e.g. ProtonVPN Secure Core.
2020-04-11 13:16:10 +02:00
Davide De Rosa b39b8fbae0 Update pods + bundle 2020-04-11 12:53:37 +02:00
Davide De Rosa ea6499c6ee Update TunnelKit
Explicit IPv4/6 endpoints.
2020-04-06 11:30:59 +02:00
Davide De Rosa 8547899a53 Update TunnelKit
Disconnect on server shutdown.
2020-04-06 11:29:11 +02:00
Davide De Rosa 04b100bcd9 Update pods 2020-02-24 20:50:03 +01:00
Davide De Rosa f4682f5af8 Update TunnelKit 2020-01-11 09:33:51 +01:00
Davide De Rosa ecee262fae Update bundle and pods 2019-12-14 19:35:54 +01:00
Davide De Rosa 514705500b Update TunnelKit with ping timeout fix
Potential fix, unconfirmed.

Fixes #106
2019-12-12 18:55:18 +01:00
Davide De Rosa bbaccb3de5 Prepare release
- Versioned TunnelKit
- Updated Core/API
2019-12-11 17:04:02 +01:00
Davide De Rosa d734b0e0f7 Update TunnelKit (version only) 2019-12-07 09:47:07 +01:00
Davide De Rosa c1c7587c8c Handle errors in product requests
Update Convenience due to main queue bugs.
2019-11-30 12:08:30 +01:00
Davide De Rosa 28a7dcdcf7 Update providers via web service
Reload products after update. Always re-list products!

Had to fix web services in Convenience, completion handler not
invoked from main queue.
2019-11-28 11:34:01 +01:00
Davide De Rosa 56ad460ec9 Update WebServices from Core 2019-11-21 00:07:18 +01:00
Davide De Rosa 70783f9dda Reuse Credits from Convenience 2019-11-20 23:14:19 +01:00
Davide De Rosa fa93e664f3 Update TunnelKit to require more flags in .ovpn 2019-11-20 20:02:36 +01:00
Davide De Rosa 2a6e1ee92a Update Convenience to Dynamic Type
Version/Licenses.
2019-11-20 19:37:06 +01:00
Davide De Rosa 2254a796c8 Use TunnelKit 2.1.0 2019-11-03 04:05:14 +01:00
Davide De Rosa f936cffe5e Finish up ProductManager implementation
- Reload receipt on updated transactions (e.g. promo code)
- Implement restore purchases (refresh receipt before restoring)
2019-10-31 09:35:58 +01:00
Davide De Rosa 026a94065c Read features from app store receipt
- Use Kvitto to parse App Store receipt
- Infer feature/provider eligibility from features
- Assume full version in beta
- Read receipt even if no products were purchased
2019-10-31 09:32:25 +01:00
Davide De Rosa 6ad44216fc Refactor single search domain to TunnelKit update 2019-10-25 19:10:06 +02:00
Davide De Rosa dfa711b335 Customize PAC in network settings 2019-10-23 13:08:04 +02:00
Davide De Rosa 343fb69ae3 Update TunnelKit 2019-10-23 11:19:00 +02:00
Davide De Rosa eb43888776 Update TunnelKit (PAC) 2019-10-22 23:59:39 +02:00
Davide De Rosa 911645cc68 Update TunnelKit 2019-10-22 14:10:48 +02:00
Davide De Rosa cd5e702a5c Update CocoaPods 2019-10-21 00:42:49 +02:00
Davide De Rosa 1916b88243 Update Convenience for review URL 2019-10-11 18:10:23 +02:00
Davide De Rosa ea5d3a48ab Add Convenience library 2019-10-11 12:40:06 +02:00
Davide De Rosa b39ad33081 Update bundle and pods 2019-09-30 14:21:07 +02:00
Davide De Rosa 3c62a967c9 Use TunnelKit 2.0.3
Had to update CocoaPods 1.6.0 to 1.7.5
2019-09-07 00:14:01 +02:00
Davide De Rosa 042d652147 Update TunnelKit 2019-09-03 00:31:20 +02:00
Davide De Rosa d32674da8c Update pods 2019-09-03 00:19:45 +02:00
Davide De Rosa 9dd1695973 Update TunnelKit 2019-08-23 09:28:01 +02:00
Davide De Rosa 84b7453791 Update TunnelKit
Fix deadlock on shutdown again.
2019-08-12 15:23:21 +02:00
Davide De Rosa ee3b082acd Use versioned TunnelKit 2019-07-27 10:01:59 +02:00
Davide De Rosa d69e40e509 Fix TunnelKit commit (rebased) 2019-07-26 23:15:59 +02:00
Davide De Rosa 7f66b43935 Revert ENOBUFS "mitigation" 2019-07-26 20:50:27 +02:00
Davide De Rosa 439364e74a Update TunnelKit
- SOFT_RESET
- Deadlock on shutdown
2019-07-11 18:47:18 +02:00
Davide De Rosa dd2f20e6dc Set beta release 2019-05-28 18:21:07 +02:00
Davide De Rosa 830c70dd3e Fix broken LZO in TunnelKit 2019-05-28 15:49:31 +02:00
Davide De Rosa ff57e4fd2c Remove Core test target 2019-05-28 08:41:24 +02:00
Davide De Rosa dcd4ea6f62 Use versioned TunnelKit 2019-05-27 22:29:56 +02:00
Davide De Rosa 84eb9d09c4 Rename Core targets
Fix import in Core umbrella header.
2019-05-27 00:13:33 +02:00
Davide De Rosa 87527ed290 Upgrade to TunnelKit 2.0
Major reorganization. No changes in logic.

Rename by_* to pod_*.
2019-05-25 18:29:10 +02:00
Davide De Rosa 1eb8dc8fc1 Fix Podfile checksum 2019-05-25 09:53:02 +02:00
Davide De Rosa e83aebba78 Automate multiple spec inclusion 2019-05-23 23:07:29 +02:00
Davide De Rosa 7b585d02d3 Use TunnelKit 1.7.1 2019-05-14 11:25:36 +02:00
Davide De Rosa 4225b7568a Update TunnelKit URL 2019-05-14 11:18:19 +02:00
Davide De Rosa f546ca33ae Update TunnelKit with gateway fixes 2019-05-11 17:43:30 +02:00
Davide De Rosa 547746e0d9 Customize TLS security level (lowest) 2019-05-08 23:55:21 +02:00
Davide De Rosa ee0f5a3f65 Update TunnelKit for TLS failures 2019-05-05 17:52:59 +02:00
Davide De Rosa cbcf78ef33 Update TunnelKit
- Auth issues
- redirect-gateway --block-local (partial)
2019-05-03 19:15:11 +02:00
Davide De Rosa bab8e28b04 Use builders for editing configurations
Slip-ups in TunnelKit made configurations erroneously mutable.
2019-05-01 23:00:28 +02:00
Davide De Rosa 7d9445576d Use versioned TunnelKit 2019-04-28 17:36:31 +02:00
Davide De Rosa 99eff9efb4 Update TunnelKit for DNS-only VPN
Fixes #73
2019-04-28 15:51:56 +02:00
Davide De Rosa cedd46d5d3 Update TunnelKit for TLS errors 2019-04-27 11:03:52 +02:00
Davide De Rosa af68d0b639 Update TunnelKit
- Handle pushed --redirect-gateway
- DNS fallback
- Fix UDP failure on high-speed link
2019-04-25 17:30:24 +02:00
Davide De Rosa e85c91ed79 Upgrade TunnelKit for redirect-gateway 2019-04-25 14:53:26 +02:00
Davide De Rosa 265d59db92 Update TunnelKit with tls-* fixes 2019-04-23 23:11:17 +02:00
Davide De Rosa 3b1b34f15c Detect missing VPN routing info 2019-04-19 09:55:26 +02:00
Davide De Rosa 2defbdb6c4 Update TunnelKit with SoftEther fix
Fixes #69
2019-04-18 13:18:08 +02:00
Davide De Rosa 1228042050 Use versioned TunnelKit 1.6.2 2019-04-17 09:38:30 +02:00
Davide De Rosa a78d1dbfa6 Upgrade TunnelKit for bugfixes
- DNS issues
- PUSH_REPLY issues

Fixes #68
2019-04-17 01:59:19 +02:00
Davide De Rosa c435230a5d Upgrade TunnelKit 2019-04-15 21:14:00 +02:00
Davide De Rosa 72fe776055 Upgrade TunnelKit to fix SoftEther 2019-04-13 23:59:20 +02:00
Davide De Rosa 21d1f7d410 Add support for PROXY_BYPASS 2019-04-13 19:24:40 +02:00
Davide De Rosa ba68b06fc1 Fix a glitch with HTTP proxy 2019-04-13 17:56:04 +02:00
Davide De Rosa 03844964fc Add support for dhcp-option PROXY_HTTP[S] 2019-04-12 22:41:41 +02:00
Davide De Rosa e0c8b478bb Unzip NordVPN external resources to cache 2019-04-11 19:11:08 +02:00
Davide De Rosa 2b3600bd0d Update TunnelKit 2019-04-11 16:52:40 +02:00
Davide De Rosa c23919cf69 Fix masking preference not retained
Fixes #64
2019-04-11 15:33:02 +02:00
Davide De Rosa 89d7c6924d Make hostname optional in provider pool
E.g. ProtonVPN SecureCore servers don't provide a hostname.
2019-04-09 20:47:08 +02:00
Davide De Rosa 0583cd310c Upgrade TunnelKit to fix regression in PIA. 2019-04-07 08:43:21 +02:00
Davide De Rosa 9d8e6c5056 Set beta release
Use versioned TunnelKit.
2019-04-06 21:17:19 +02:00
Davide De Rosa dcd19fb8ed Update TunnelKit 2019-04-05 00:52:22 +02:00
Davide De Rosa ab5517dcba Rename ParsingResult to Result
From ConfigurationParser in TunnelKit.
2019-04-04 19:26:08 +02:00
Davide De Rosa 1904687a22 Upgrade to TunnelKit 1.6.0
- Make cipher/digest/compressionFraming optional
- Move endpointProtocols inside SessionProxy.Configuration
- Rename OptionsError to ConfigurationError
2019-04-04 19:03:53 +02:00
Davide De Rosa 1fa888125e Upgrade TunnelKit for parser fixes 2019-04-02 19:10:09 +02:00
Davide De Rosa e1463df931 Fix again PKCS#8 keys handling via TunnelKit
Wouldn't consider them encrypted thus not raising the passphrase
input.

Fixes #43
2019-04-02 11:42:55 +02:00
Davide De Rosa 861588411e Upgrade TunnelKit to handle cert preamble 2019-04-02 01:04:02 +02:00
Davide De Rosa 20302274fb Upgrade TunnelKit with PKCS#8 fix
Fixes #43
2019-04-02 00:43:04 +02:00
Davide De Rosa 3197f49368 Add down/up indication of data count
Other improvements:

- TunnelKit reports 0 rather than nil upon connection.
- Fall back to "Unavailable" rather than empty string.
2019-03-30 23:38:06 +01:00
Davide De Rosa 4ab70ea747 Upgrade pods to Swift 5 2019-03-30 23:23:08 +01:00
Davide De Rosa 2cd9857033 Set beta release 2019-03-30 20:34:47 +01:00
Davide De Rosa 6ba68b7f9a Upgrade TunnelKit for data count updates 2019-03-30 19:57:30 +01:00
Davide De Rosa 04138065fd Update TunnelKit with fixed checksEKU 2019-03-26 00:41:44 +01:00
Davide De Rosa 50aebe2310 Update TunnelKit for encrypted private keys 2019-03-25 20:32:57 +01:00
Davide De Rosa e00a7f60ce Update TunnelKit for --remote-random 2019-03-25 20:03:58 +01:00
Davide De Rosa 1cb315b44c Update TunnelKit for log masking 2019-03-22 18:46:04 +01:00
Davide De Rosa d357a000c7 Use versioned TunnelKit 2019-03-20 18:07:32 +01:00
Davide De Rosa 79cba1b79b Update TunnelKit with "--compress lzo" support
Fixes #32
2019-03-20 09:46:40 +01:00
Davide De Rosa 3b1fbcc807 Update TunnelKit for LZO support 2019-03-19 15:23:42 +01:00
Davide De Rosa cb1dc5ed54 Use versioned TunnelKit 2019-03-18 18:59:14 +01:00
Davide De Rosa 1b5070d667 Fix duplicated pods (Core + App)
Had to deintegrate and reintegrate CocoaPods.
2019-03-18 17:59:02 +01:00
Davide De Rosa deb491008d Fix unrequested EKU verification 2019-03-18 17:32:46 +01:00
Davide De Rosa 8a63be8856 Share platform value in Podfile 2019-03-18 17:01:16 +01:00
Davide De Rosa c7f522f55e Create Passepartout-Core framework target
Move all sources to this target, out of Passepartout-iOS.

FIXME: TrustedNetworks uses ServiceViewController.RowType
FIXME: make iOS target depend on Core.
2019-03-18 11:19:24 +01:00
Davide De Rosa 9ace65e607 Update TunnelKit 2019-03-08 13:39:02 +01:00
Davide De Rosa 2f9b802045 Use versioned TunnelKit 2019-03-05 23:01:25 +01:00
Davide De Rosa b97b6eedeb Fix DNS servers not applied 2019-03-03 10:57:44 +01:00
Davide De Rosa 1f722198e9 Shut down if server uses compression at all.
- Announcement in PUSH_REPLY
- Header in data packets

Bump to 1.0.2.
2019-02-28 17:20:36 +01:00