Commit Graph

21 Commits

Author SHA1 Message Date
Davide De Rosa e6d67ac9f6 Take no risks with unwrapped optionals 2019-04-28 21:50:18 +02:00
Davide De Rosa 125c6a7d67 Fix encoding of external map in preset
The effect of this is that refreshed infrastructures were not
remembered.
2019-04-28 21:34:12 +02:00
Davide De Rosa bd29b6d6f0 Split external configuration read and injection
For reuse in Pool.addresses
2019-04-25 22:25:54 +02:00
Davide De Rosa 547c669e81 Inject external provider pool hostname 2019-04-25 22:25:54 +02:00
Davide De Rosa 04c2191e83 Migrate profiles routing policies
- Providers: enforce all (IPv4 + IPv6)
- Hosts: re-read .ovpn on app update, fall back to all (safer)

Reload hosts in order to re-interpret "redirect-gateway".
2019-04-25 15:40:40 +02:00
Davide De Rosa 922a715bfd Inject external resources into configuration 2019-04-11 18:05:53 +02:00
Davide De Rosa 8373fc3975 Signal externally loaded preset resources
Via "external" array. The following fields can be external:

- CA
- Client certificate/key
- TLS key

Make CA therefore optional in preset.
2019-04-11 18:05:53 +02:00
Davide De Rosa 4add7a695c Migrate to Swift 5
Last time was probably incomplete.
2019-04-11 16:51:12 +02:00
Davide De Rosa ac713bebda Present DNS domain in configuration UI
Fixes #48
2019-04-04 19:11:55 +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 895b375741 Parse EKU validation from preset 2019-03-26 00:41:51 +01:00
Davide De Rosa ecf9fece0f Parse compression from infra preset 2019-03-26 00:41:51 +01:00
Davide De Rosa 838f097d65 Parse TLSWrap from infra preset "wrap" 2019-03-25 20:03:58 +01:00
Davide De Rosa e00a7f60ce Update TunnelKit for --remote-random 2019-03-25 20:03:58 +01:00
Davide De Rosa f661008679 Make framework internal components public 2019-03-18 11:50:52 +01:00
Davide De Rosa 7a21338042 Update copyright 2019-03-09 11:44:44 +01:00
Davide De Rosa 3d5c2bb8f5 Move .ovpn parser to TunnelKit 2018-11-10 11:39:36 +01:00
Davide De Rosa 9e7c4960e5 Update GitHub URL in license preamble 2018-11-04 10:53:16 +01:00
Davide De Rosa 542a3e3721 Upgrade TunnelKit with configuration refactoring 2018-10-25 22:45:44 +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