Commit Graph

51 Commits

Author SHA1 Message Date
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