Commit Graph

115 Commits

Author SHA1 Message Date
Davide De Rosa
4e2dca9288 Drop erroneous Catalyst support 2020-11-21 19:11:02 +01:00
Davide De Rosa
945bb1b9b7 Fix context of StandardVPNProvider
Not generic, rather an OpenVPN implementation.

- Move to OpenVPN subspec
- Rename to OpenVPNProvider
- Depend OpenVPN on Manager
2020-11-15 21:12:53 +01:00
Davide De Rosa
cf3151788c Upgrade OpenSSL-Apple
- Apple Silicon
- OpenSSL as XCFramework
2020-11-15 21:12:53 +01:00
Davide De Rosa
eb247f2c5b Bump deployment targets
- iOS 11.0 -> 12.0
- macOS 10.11 -> 10.15
- Swift 5.0 -> 5.1
2020-11-15 21:12:53 +01:00
Davide De Rosa
5807924202 Create "Manager" subspec
- Move VPN helpers from Passepartout
- Initialize VPN.shared explicitly
- Expose internal *VPNConfiguration constructors
2020-06-13 17:38:55 +02:00
Davide De Rosa
0da953fad7 Bump version 2020-06-12 23:00:18 +02:00
Davide De Rosa
ed82300af9 Bump version 2020-05-22 18:35:17 +02:00
Davide De Rosa
f1f6b1083a Bump version 2020-05-19 19:32:11 +02:00
Davide De Rosa
6c05d2b544 Bump version 2020-05-12 15:10:44 +02:00
Davide De Rosa
01554713b8 Move IP header logic to separate struct 2020-05-12 13:07:09 +02:00
Davide De Rosa
12ba6f34b7 Embed TunnelKit in test host target
Fix "Reason: image not found" dyld error.
2020-05-09 09:50:27 +02:00
Davide De Rosa
77e6c4d305 Add development team to test targets 2020-05-09 09:33:44 +02:00
Davide De Rosa
7719e8d72c Bump version 2020-05-03 12:03:08 +02:00
Davide De Rosa
6ebc1b4623 Bump version 2020-04-21 22:01:22 +02:00
Davide De Rosa
116883c218 Bump version 2019-12-22 16:29:27 +01:00
Davide De Rosa
e439ce3b89 Bump version 2019-12-14 10:14:27 +01:00
Davide De Rosa
aabdf8382b Bump version 2019-12-07 09:43:36 +01:00
Davide De Rosa
5f05d888f8 Bump version 2019-11-11 19:28:42 +01:00
Davide De Rosa
4d61734ae6 Bump version (minor) 2019-10-22 14:01:08 +02:00
Davide De Rosa
53c816b1d3 Bump version 2019-09-26 12:34:56 +02:00
Davide De Rosa
3de653433f Update OpenSSL 2019-09-26 12:17:33 +02:00
Davide De Rosa
1830695af7 Bump version 2019-09-24 22:11:12 +02:00
Davide De Rosa
f15a7e1c6d Bump version 2019-08-12 15:21:39 +02:00
Davide De Rosa
2666b7feab Bump version 2019-07-26 20:33:21 +02:00
Davide De Rosa
a861c69f36 Fix missing paths in LZO subspec
StandardLZO.m was not matched.

Regression in ee4a446fa5
2019-05-28 15:42:02 +02:00
Davide De Rosa
a2ba2520fe Make Swift import paths recursive 2019-05-27 12:10:00 +02:00
Davide De Rosa
12a1526c1e Fix Podfile targets 2019-05-27 12:09:55 +02:00
Davide De Rosa
be1081aad6 Nest subspecs by purpose
- Protocols
- Extra
2019-05-24 16:02:59 +02:00
Davide De Rosa
334613401b Organize tests by subspec
Split TestUtils.
2019-05-24 10:59:20 +02:00
Davide De Rosa
a85404e951 Rename provider class to OpenVPNTunnelProvider 2019-05-24 10:41:30 +02:00
Davide De Rosa
9445b825d0 Make AppExtension generic
- Make AppExtension a standalone util subspec
- Move OpenVPN tunnel provider to OpenVPN subspec
- Move Utils to Core subspec
- Depend OpenVPN on Core + AppExtension
2019-05-24 10:41:26 +02:00
Davide De Rosa
821cf66d79 Restore tests with recent changes 2019-05-19 15:50:30 +02:00
Davide De Rosa
d057e9645b Restore AppExtension with recent changes 2019-05-19 15:50:12 +02:00
Davide De Rosa
6ebf025859 Take Session protocol out of OpenVPNSession
Fix some doc.
2019-05-19 15:08:43 +02:00
Davide De Rosa
313d076ddf Move Error extension to Core 2019-05-19 14:34:27 +02:00
Davide De Rosa
c4a84a5ade Prefix top-level entities with OpenVPN* 2019-05-19 14:34:23 +02:00
Davide De Rosa
9c7ae47679 Make SessionProxy* top level
Drop redundant SessionReply.
2019-05-19 14:17:18 +02:00
Davide De Rosa
465e08e42f Wrap OpenVPN entities in pseudonamespace
Temporarily exclude AppExtension and tests.
2019-05-19 14:05:02 +02:00
Davide De Rosa
50d492096f Move a few generic entities to Core
- IPv4Settings
- IPv6Settings
- Proxy
- EndpointProtocol (Codable)
2019-05-19 12:40:20 +02:00
Davide De Rosa
9da7fa9667 Split Core into Core+OpenVPN
Two Obj-C modules:

- __TunnelKitCore
- __TunnelKitOpenVPN

Seems the only way to do it in multiple module maps.

Move OpenVPN specifics out of CoreConfiguration.
2019-05-19 12:22:32 +02:00
Davide De Rosa
4295e63c98 Read relevant routing table 2019-05-03 15:14:25 +02:00
Davide De Rosa
edd15f661e Bump version 2019-05-01 11:14:38 +02:00
Davide De Rosa
295d5fa713 Bump minor version
Makes sense, lot of fixes.
2019-04-28 16:23:38 +02:00
Davide De Rosa
31d9019f1a Read system-wide DNS servers
Add libresolv to podspec.
2019-04-25 16:36:16 +02:00
Davide De Rosa
1b8647bcac Convert PacketSteram to Obj-C
For better TCP efficiency.
2019-04-25 12:42:29 +02:00
Davide De Rosa
65f6f8938c Bump version 2019-04-17 16:16:52 +02:00
Davide De Rosa
14567ac50f Bump version 2019-04-09 20:35:25 +02:00
Davide De Rosa
9f358d6326 Accept nil cipher/digest in AppExtension
Reorganize code for clarity.
2019-04-07 08:35:40 +02:00
Davide De Rosa
4dc9539260 Rename OptionsError to ConfigurationError 2019-04-04 18:51:06 +02:00
Davide De Rosa
a2250686b6 Merge OptionsBundle into Configuration
FIXME: issues with non-optional .cipher and .compressionFraming

Because:

- No pushed cipher (nil) is NOT .aes128cbc
- No pushed framing (nil) is NOT .disabled

Breaks conditions on pushed cipher/framing via PUSH_REPLY.
2019-04-04 18:51:06 +02:00