Commit Graph

137 Commits

Author SHA1 Message Date
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 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
Davide De Rosa 6ddf3f89f7 Use versioned TunnelKit 2019-02-25 23:55:12 +01:00
Davide De Rosa f335440800 Shut down if server pushes a compression directive 2019-02-25 23:13:12 +01:00
Davide De Rosa 9524a72f2b Work around TunnelKit/OpenSSL linking issue 2019-02-25 22:56:24 +01:00
Davide De Rosa 3f90a96744 Fix CocoaPods regression
Stick to 1.5.3 until they fix CocoaPods/CocoaPods#8333 properly.

Also, use TunnelKit with a proper OpenSSL version.

Fixes #34
2019-02-25 12:25:29 +01:00
Davide De Rosa d4e5739de2 Relax EKU verification 2019-02-23 12:14:02 +01:00
Davide De Rosa 9b91c7acd3 Use versioned pod 2018-11-12 11:00:17 +01:00
Davide De Rosa 3d5c2bb8f5 Move .ovpn parser to TunnelKit 2018-11-10 11:39:36 +01:00
Davide De Rosa aa6af8acb3 Update TunnelKit to fix IPv4 endianness
Hopefully once and for all!
2018-11-05 20:48:51 +01:00
Davide De Rosa 64cbb9b4b2 Use versioned TunnelKit
Also fixes issues with IPv4/UInt32 endianness.
2018-11-01 13:41:27 +01:00
Davide De Rosa 76f2597424 Update TunnelKit and remove unused code
ConnectionProfileHolder
2018-10-26 19:05:25 +02:00
Davide De Rosa 542a3e3721 Upgrade TunnelKit with configuration refactoring 2018-10-25 22:45:44 +02:00
Davide De Rosa ef9032e440 Update TunnelKit
- Improve logging performance and privacy.
- Fix server-side renegotiation issues.
2018-10-24 21:23:13 +02:00
Davide De Rosa ebbba3a713 Update TunnelKit to handle new error codes 2018-10-23 23:51:50 +02:00
Davide De Rosa 1183ddd906 Update TunnelKit with error reporting 2018-10-22 21:49:43 +02:00
Davide De Rosa 3ca9659942 Update TunnelKit for TLS wrapping support 2018-10-19 17:25:36 +02:00
Davide De Rosa 2db880e366 Update TunnelKit to fix Mullvad disconnections 2018-10-19 16:02:37 +02:00
Davide De Rosa 3f8752f9d9 Update pods and CHANGELOG 2018-10-18 17:02:27 +02:00
Davide De Rosa c1be49a164 Add PIA patches support 2018-10-18 13:38:00 +02:00
Davide De Rosa b9ec01945d Initial commit 2018-10-11 09:13:19 +02:00