2018-10-07 08:44:59 +00:00
# Changelog
All notable changes to this project will be documented in this file.
2018-09-23 10:30:29 +00:00
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ),
2018-09-20 22:11:01 +00:00
and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
2018-09-23 10:30:29 +00:00
2019-03-19 15:19:01 +00:00
## Unreleased
### Added
- Support for legacy `--comp-lzo` compression. [#69 ](https://github.com/keeshux/tunnelkit/pull/69 )
2019-03-19 22:55:24 +00:00
- Support for newer `--compress lzo` option. [#70 ](https://github.com/keeshux/tunnelkit/pull/70 )
2019-03-19 15:19:01 +00:00
2019-03-18 17:45:56 +00:00
## 1.4.3 (2019-03-18)
2019-03-08 12:21:47 +00:00
### Fixed
- Several reconnection issues.
2019-03-18 16:27:48 +00:00
- Missing EKU flag evaluation.
2019-03-08 12:21:47 +00:00
2019-03-05 09:43:20 +00:00
## 1.4.2 (2019-03-05)
2019-02-28 16:10:50 +00:00
### Added
- Shut down if server pushes a compressed data packet.
2019-03-05 09:43:20 +00:00
### Fixed
- Custom DNS servers were not applied.
- Reject `<connection>` blocks as unsupported.
2019-02-25 22:46:46 +00:00
## 1.4.1 (2019-02-25)
2018-12-04 19:24:26 +00:00
2019-01-05 21:54:21 +00:00
### Added
- Override DNS servers client side. [#56 ](https://github.com/keeshux/tunnelkit/pull/56 )
2019-02-25 22:18:42 +00:00
- Shut down if server pushes a compression directive. [#65 ](https://github.com/keeshux/tunnelkit/pull/65 )
2019-01-05 21:54:21 +00:00
2019-02-23 11:07:24 +00:00
### Changed
- Enable or disable EKU according to `remote-cert-tls server` in .ovpn file. [#64 ](https://github.com/keeshux/tunnelkit/pull/64 )
2018-12-04 19:24:26 +00:00
### Fixed
- Compiling errors in demo target.
2019-02-23 21:31:15 +00:00
- Linking errors with OpenSSL.
2019-02-25 22:35:38 +00:00
- A few potential vulnerabilities.
2018-12-04 19:24:26 +00:00
2018-11-17 17:01:14 +00:00
## 1.4.0 (2018-11-12)
2018-11-10 10:15:24 +00:00
### Added
- Parser for .ovpn configuration files. [#47 ](https://github.com/keeshux/tunnelkit/pull/47 )
### Changed
2018-11-17 17:01:14 +00:00
- Due to [#47 ](https://github.com/keeshux/tunnelkit/pull/47 ), `SocketType` and `EndpointProtocol` were moved to Core subspec.
2018-11-10 10:15:24 +00:00
2018-11-07 23:00:06 +00:00
## 1.3.1 (2018-11-07)
2018-11-05 19:26:39 +00:00
### Fixed
- IPv4/UInt32 conversions are not endianness-agnostic. [#46 ](https://github.com/keeshux/tunnelkit/pull/46 )
2018-10-27 22:32:01 +00:00
## 1.3.0 (2018-10-28)
2018-10-25 20:39:48 +00:00
### Changed
- Refactored tunnel configuration API for increased code reuse. [#44 ](https://github.com/keeshux/tunnelkit/pull/44 )
### Deprecated
- Use high-level accessories instead of `debugLogKey` and `lastErrorKey` . [#45 ](https://github.com/keeshux/tunnelkit/pull/45 )
2018-10-26 16:55:34 +00:00
### Fixed
- IPv4/UInt32 calculations were wrong.
2018-10-25 05:30:53 +00:00
## 1.2.2 (2018-10-25)
2018-10-21 22:46:08 +00:00
2018-10-24 17:53:38 +00:00
### Changed
2018-10-21 22:46:08 +00:00
2018-10-24 17:53:38 +00:00
- Debug log is saved to group container rather than `UserDefaults` . [#43 ](https://github.com/keeshux/tunnelkit/pull/43 )
2018-10-21 22:46:08 +00:00
2018-10-24 17:53:38 +00:00
### Fixed
2018-10-24 16:56:11 +00:00
2018-10-24 17:53:38 +00:00
- Handle server-initiated renegotiation. [#41 ](https://github.com/keeshux/tunnelkit/pull/41 )
2018-10-24 16:56:11 +00:00
- Potentially private data (e.g. Internet addresses) is now masked in debug log. [#42 ](https://github.com/keeshux/tunnelkit/pull/42 )
2018-10-24 17:53:38 +00:00
## 1.2.1 (2018-10-24)
### Added
- Configuration key `lastErrorKey` for reporting errors to host app. [#40 ](https://github.com/keeshux/tunnelkit/pull/40 )
- Server extended key usage validation (EKU). [#27 ](https://github.com/keeshux/tunnelkit/issues/27 )
2018-10-21 22:46:08 +00:00
### Fixed
- CA file was not closed after MD5 calculation when using PIA patches.
- Mitigated an issue with MTU in TCP mode during negotiation. [#39 ](https://github.com/keeshux/tunnelkit/issues/39 )
2018-10-20 09:15:36 +00:00
## 1.2.0 (2018-10-20)
2018-10-19 13:56:15 +00:00
2018-10-19 15:39:37 +00:00
### Added
2018-10-19 13:56:15 +00:00
2018-09-11 15:45:22 +00:00
- Support for `--tls-auth` wrapping. [#34 ](https://github.com/keeshux/tunnelkit/pull/34 )
2018-09-20 22:11:01 +00:00
- Support for `--tls-crypt` wrapping. [#35 ](https://github.com/keeshux/tunnelkit/pull/35 )
2018-10-19 15:39:37 +00:00
- Parser for static OpenVPN keys from file. [#36 ](https://github.com/keeshux/tunnelkit/pull/36 )
### Fixed
- Handling of mixed DATA_V1/DATA_V2 packets. [#30 ](https://github.com/keeshux/tunnelkit/issues/30 )
2018-10-19 13:56:15 +00:00
2018-10-18 14:35:20 +00:00
## 1.1.2 (2018-10-18)
2018-10-18 14:25:42 +00:00
### Added
2018-10-18 14:35:20 +00:00
- Restored support for PIA patches. [#32 ](https://github.com/keeshux/tunnelkit/pull/32 )
2018-10-18 14:25:42 +00:00
2018-10-10 20:23:20 +00:00
## 1.1.1 (2018-10-10)
### Fixed
- Make CA non-optional. [#28 ](https://github.com/keeshux/tunnelkit/pull/28 )
2018-09-23 13:15:06 +00:00
## 1.1.0 (2018-09-26)
2018-09-23 10:30:29 +00:00
### Added
- Client certificate verification. [#3 ](https://github.com/keeshux/tunnelkit/pull/3 )
- Support for both `--comp-lzo` and `--compress` compression framing. [#2 ](https://github.com/keeshux/tunnelkit/pull/2 ), [#5 ](https://github.com/keeshux/tunnelkit/pull/5 ), [#10 ](https://github.com/keeshux/tunnelkit/pull/10 )
- Routes setup from PUSH_REPLY. [#7 ](https://github.com/keeshux/tunnelkit/pull/7 )
- Support for IPv6. [#8 ](https://github.com/keeshux/tunnelkit/pull/8 )
- Support for server-side NCP. [#11 ](https://github.com/keeshux/tunnelkit/pull/11 )
- Property to mark ciphers not requiring digest auth (e.g. GCM). [#13 ](https://github.com/keeshux/tunnelkit/pull/13 )
- `Codable` implementations for native Swift serialization. [#15 ](https://github.com/keeshux/tunnelkit/pull/15 )
- More cipher and digest algorithms. [#16 ](https://github.com/keeshux/tunnelkit/pull/16 )
- Negotiated compression framing from PUSH_REPLY. [#19 ](https://github.com/keeshux/tunnelkit/pull/19 )
- Customizable keep-alive. [#20 ](https://github.com/keeshux/tunnelkit/pull/20 )
- Negotiated keep-alive from PUSH_REPLY. [#22 ](https://github.com/keeshux/tunnelkit/pull/22 )
- Peer-info metadata.
### Changed
2018-09-26 08:41:59 +00:00
- Raised iOS target to 11 (drops 32-bit support).
- Upgraded OpenSSL from 1.1.0h to 1.1.0i.
- Minor adjustments for Xcode 10 / Swift 4.2.
2018-09-23 10:30:29 +00:00
- Deep refactoring of control channel for future extensibility.
- App group moved out of tunnel configuration, to make it more platform-agnostic and coherent to serialize.
2018-09-24 17:06:41 +00:00
- Keep-alive is disabled by default.
2018-09-23 10:30:29 +00:00
- Several internal renamings.
### Fixed
- Sensitive data logged in PUSH_REPLY. [#12 ](https://github.com/keeshux/tunnelkit/pull/12 )
- Bad interpretation of 0 seconds between renegotiations. [#18 ](https://github.com/keeshux/tunnelkit/pull/18 )
- Incorrect behavior on data-related failures. [#21 ](https://github.com/keeshux/tunnelkit/pull/21 )
## 1.0.0 (2018-08-23)
### Added
- Initial fork from https://github.com/pia-foss/tunnel-apple
### Removed
- Non-standard PIA patches.