Commit Graph

1052 Commits

Author SHA1 Message Date
Davide De Rosa cd2a640622
[ci skip] Set release date 2023-12-14 10:42:00 +01:00
Davide De Rosa fa04df838c
Create release with automated notes
Fixes #384
2023-12-14 10:34:48 +01:00
Davide De Rosa 3249f14dab
Make release workflow manual 2023-12-14 10:17:46 +01:00
Davide De Rosa b885689d8e
Drop broken/unused routing table code (#350) 2023-12-13 22:04:06 +01:00
Davide De Rosa f56dfa313c
Use OpenSSL 3 (#347)
- Replace deprecated peer cert calls
- Use atomic HMAC
- Upgrade HMAC to EVP_MAC
2023-12-13 21:17:38 +01:00
Davide De Rosa 071b6e22ee
Dangling pointers in crypto tests (#349) 2023-12-13 21:11:05 +01:00
Davide De Rosa 8ca928a13b
Convert encryption tests to proper unit tests (#348) 2023-12-13 09:59:57 +01:00
Davide De Rosa 6a8607b77f Upgrade GitHub Actions 2023-07-08 09:01:44 +01:00
Davide De Rosa 9525f49a97
[ci skip] Set release date 2023-07-06 10:09:03 +00:00
Davide De Rosa d69899bbc0
Fix keychain error escaping catch block (#326) 2023-07-06 12:03:31 +02:00
Davide De Rosa fc52725ed1
[ci skip] Set release date 2023-07-05 16:12:09 +00:00
Davide De Rosa 729e8973cf
Hide errors behind façade TunnelKit*Error (#325) 2023-07-02 11:56:40 +02:00
Davide De Rosa d8563e7f15 Refine linter rules excepting a few 2023-04-20 22:05:11 +02:00
Davide De Rosa 0c77062add
Add SwiftLint (#318) 2023-04-20 21:52:45 +02:00
Davide De Rosa c62fc4adaa
Drop #available(iOS 14) (#317) 2023-04-20 21:44:32 +02:00
Davide De Rosa 8f066a9e48
[ci skip] Set release date 2023-04-02 21:47:12 +00:00
Davide De Rosa 0652bf34f9 Revert release in CHANGELOG 2023-04-02 23:44:33 +02:00
Davide De Rosa 422f3163d3
Reuse native WireGuard error as ConfigurationError (#316)
There was a duplicate ConfigurationError.
2023-04-02 23:42:05 +02:00
Davide De Rosa ac362f90ef Use exact WireGuard version (fork) 2023-04-02 09:14:20 +02:00
Davide De Rosa 6fa64bbc16 Fix targets in README 2023-04-02 09:08:25 +02:00
Davide De Rosa 42f7bfc6df
[ci skip] Set release date 2023-04-01 21:04:14 +00:00
Davide De Rosa f55724d1b3 Fix demo deployment targets
Fixes #315
2023-03-20 07:20:55 +01:00
Davide De Rosa 7ce254be02
Extend WireGuard with DoH/DoT options (#314) 2023-03-19 08:22:30 +01:00
Davide De Rosa e0c0cc137f
Split DNS domain and search domains (#313) 2023-03-17 20:22:21 +01:00
Davide De Rosa 11ae9e4141
Delay tunnel disposal (#311)
Postpone reconnection due to on-demand trigger.
2023-03-17 20:20:44 +01:00
Davide De Rosa d7fbeb0d90 Update copyright 2023-03-17 16:58:36 +01:00
Davide De Rosa 3d226a20f3 Drop some extra return 2022-11-10 07:16:05 +01:00
Davide De Rosa 47281cafc9 Move kill switch to configuration extras 2022-11-10 07:11:57 +01:00
Davide De Rosa 48af81e414 Update CHANGELOG 2022-11-06 17:54:33 +01:00
Tejas Mehta 5ecd732cc2
Add Complete XOR Patch Functionality (#255)
Co-authored-by: Davide De Rosa <keeshux@gmail.com>
2022-11-06 17:46:10 +01:00
Davide De Rosa e225ca15ff Prefix local options output in OpenVPN provider
Lost in the refactoring.
2022-11-02 20:50:34 +01:00
Davide De Rosa 0d21731e12
Set includeAllNetworks for best-effort kill switch (#300)
* Update CHANGELOG

* Make kill switch an option
2022-10-30 09:07:17 +01:00
Davide De Rosa a3b85430fd Unmask more safe things
- IPv4/6 address and default gateway within VPN

- Route destination and gateway
2022-10-29 20:29:36 +02:00
Davide De Rosa 6b42048d6a Drop leftover TODO 2022-10-29 20:24:29 +02:00
Davide De Rosa cae371bb40
Split IPv4/6 settings and routes (#298)
* Postpone setting route gateway

Resolve in NetworkSettingsBuilder.

* Store routes separately from IP*Settings

Parse as optionals to avoid empty arrays.

* Deprecate routes stored in IP*Settings

* Apply routes from new fields

* Update CHANGELOG
2022-10-29 12:24:28 +02:00
Davide De Rosa 703d1416ad
Deal with remote options properly (#297)
Some take over, some are merged.

Also:

- Drop non-existing DOMAIN-SEARCH dhcp-option

- Only first DNS domain was parsed
2022-10-29 11:00:39 +02:00
Davide De Rosa 36d61c3da5 Enable data count in Demo
It is off by default.

Closes #287
2022-10-28 16:21:34 +02:00
Davide De Rosa e5f4f284fb Replace TunnelBear with ProtonVPN in Demo 2022-10-28 16:10:16 +02:00
Davide De Rosa 8ac21771e3 Fix default gateway not set when --route-nopull
The "no pull" flag is already accounted for when routingPolicies is
computed (e.g. default gateway). Evaluate it properly for routes
instead.

See 31db8ebb9d
2022-10-28 15:38:29 +02:00
Davide De Rosa 65c41c257b
Unify logging of local/remote options (#295) 2022-10-27 00:40:46 +02:00
Davide De Rosa fa5aa86399 Use keypath in .map occurrences 2022-10-27 00:37:24 +02:00
Davide De Rosa 5913b801a9 Simplify hasGateway check 2022-10-27 00:23:57 +02:00
Davide De Rosa 7b6aca479b Fix dumb regression on endpoint address
Was only parsing IPv4/6 addresses, not generic hostnames.
2022-10-26 19:02:46 +02:00
Davide De Rosa 7659057888
Parse IPv6 enpdoints properly (#294)
* Fix incorrect parsing of IPv6 address in endpoint

* Use better names for space-based regex extensions
2022-10-25 11:29:36 +02:00
Davide De Rosa 31db8ebb9d
Delegate network settings to ad-hoc builder (#292)
* Delegate network settings to ad-hoc builder

- Assert network settings nil or non-empty, NOT precondition

- Fix log about local DNS, only if not gateway

- Remove non-working block-local code

Fixes #289, fixes #290

* Unmask safe and helpful network settings
2022-10-25 08:58:34 +02:00
Davide De Rosa 195f885ee4 Fix README about vpn_gateway
It is actually supported.
2022-10-17 14:59:46 +02:00
Davide De Rosa 17c272d733
Support --remote-random-hostname (#286) 2022-10-17 09:00:23 +02:00
Davide De Rosa 769a79c4c0 Refine mock VPN actions and events 2022-10-15 08:44:39 +02:00
Davide De Rosa 36f0b2c03d Extend description of link remote with protocol 2022-10-14 08:23:23 +02:00
Davide De Rosa f17bb110c2 Adjust log of DNS settings according to gateway 2022-10-13 18:34:31 +02:00