Commit Graph

84 Commits

Author SHA1 Message Date
Davide De Rosa 3741a17c20 Rewrite Manager package to make it stateless
In order to avoid chaos from multiple profiles, retain the
profile to be installed and remove all the other ones. Also,
make sure to do the removal AFTER install, as doing it
before would trigger the VPN permission alert again.

XXX: there is some weird behavior from NetworkExtension
occasionally sending notifications with a bogus NEVPNManager
object having a nil .localizedDescription and other properties set
to nonsensical values. Discard the notification when such an object
is identified.

Encapsulate extra NetworkExtension settings:

- passwordReference
- onDemandRules
- disconnectsOnSleep

Also:

- Only set on-demand if any rules are set
- Assume VPN is enabled even with on-demand disabled
- Use DataCount instead of raw Int pair

Attach useful information to VPN notifications:

- VPN isEnabled
- VPN status
- VPN command error
- Tunnel bundle identifier (if available)

Expose specific OpenVPN/WireGuard shared data via extensions in
UserDefaults/FileManager.

Finally, drop incomplete IKE support. No fit.
2022-03-12 10:35:39 +01:00
Davide De Rosa 2646762bb4 [ci skip] Update copyright 2022-02-04 12:57:40 +01:00
Davide De Rosa 871e51517c Relax macOS target to 10.14
Requires updating OpenSSL package.
2022-02-02 23:24:29 +01:00
Davide De Rosa fda232edcb
Add WireGuard package (#236)
* Add WireGuard packages

- Use eduVPN script for WireGuardKitGo
- Wrap WireGuardKit entities into Configuration
- Split demo into OpenVPN/WireGuard controllers

* Rewrite README with multiple VPN protocols
2021-12-01 13:54:00 +01:00
Davide De Rosa ccb6480fdb [ci skip] Polish case in badges 2021-11-28 16:50:56 +01:00
Davide De Rosa 80e4f2ff4e Add test workflow on push to master
Add badge in README.
2021-11-28 16:13:12 +01:00
Davide De Rosa 9f46054f04 Fix Bitcode note in README 2021-11-25 13:28:50 +01:00
Davide De Rosa 67f6d83321 Mention "Run Script" fix around Xcode plugin bug
Redundant "Frameworks" in app extensions.
2021-11-24 18:21:27 +01:00
Davide De Rosa b6d3cdc3b1
Revert to OpenSSL (#233)
* Use an OpenSSL binary without Bitcode
* Restore TLS security level override
* Disable Bitcode completely in Demo
2021-11-24 16:40:19 +01:00
Davide De Rosa 9536a72c56 Readd missing OpenSSL link 2021-11-16 11:56:49 +01:00
Davide De Rosa 4a47eec041 Update README with recent reorg 2021-11-12 10:00:55 +01:00
Davide De Rosa 950f5503e3 Drop CocoaPods from README 2021-11-05 11:51:21 +01:00
Davide De Rosa 942dcc48b1 Support native IKE providers (IPSec/IKEv2) 2021-10-18 11:33:45 +02:00
Davide De Rosa 30da62971f Remove old Travis-CI badge 2021-10-18 11:33:45 +02:00
Davide De Rosa 16c00410ed Update OpenSSL to 1.1.1l 2021-10-06 18:19:28 +02:00
Davide De Rosa ff4a1e3945 Ditch non-scalable VPN.shared 2021-09-20 18:52:34 +02:00
Davide De Rosa 13b255623a Prepare for release
- Upgrade OpenSSL
- Set release date
2021-08-07 23:15:53 +02:00
Davide De Rosa 434817c563 Mention XOR option in README 2021-07-23 11:15:08 +02:00
Davide De Rosa 65774c9a09 Update CHANGELOG
Move XOR PR credits to README.
2021-07-22 10:55:57 +02:00
Davide De Rosa f33fcf4975 Move badges 2021-02-12 01:57:20 +01:00
Davide De Rosa c175ccf499 [ci skip] Fix instructions about Testing/Demo 2021-01-07 21:50:17 +01:00
Davide De Rosa c4b86506cf Update Demo and metadata 2021-01-03 17:47:48 +01:00
Jorge 753c1cb8ef
Update README.md 2020-11-22 22:03:07 +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 50d3b4102f Update README with new subspec 2020-06-13 17:38:55 +02:00
Davide De Rosa 05a55bec4f Add copyright to README 2020-05-11 09:53:09 +02:00
Davide De Rosa 15e215dc4d Replace Patreon with PayPal 2020-04-30 13:49:35 +02:00
Davide De Rosa 60e6bcdba8 Update OpenSSL to 1.1.1g
Fixes #166
2020-04-21 22:03:08 +02:00
Davide De Rosa 7ba022527c Update CHANGELOG and README 2020-04-19 02:33:44 +02:00
Davide De Rosa 3d40067a93 Reorder credits alphabetically 2019-12-02 10:43:14 +01:00
Davide De Rosa e233022960 Mention ignored client-side routes 2019-11-11 19:28:13 +01:00
Davide De Rosa 4164f19724 Mention unsupported literals in README
Fixes #129
2019-11-11 19:26:21 +01:00
Davide De Rosa 9c92d1d567 Upgrade OpenSSL to 1.1.1d 2019-11-02 00:21:51 +01:00
Davide De Rosa eabcf39f35 Upgrade OpenSSL to 1.1.0l 2019-10-28 11:11:49 +01:00
Davide De Rosa 7c92a4a769 Credit SURFnet 2019-07-26 20:35:53 +02:00
Davide De Rosa 2409443b4e [ci skip] Add link to Travis-CI badge 2019-05-27 22:16:36 +02:00
Davide De Rosa 969f524b86 [ci skip] Update README to new structure 2019-05-27 22:03:36 +02:00
Davide De Rosa 3244c31600 Add Travis-CI badge 2019-05-27 22:01:39 +02:00
Davide De Rosa a33bde75e7 Beautify copyrights 2019-05-17 11:10:48 +02:00
Davide De Rosa f2a06b0b3c Update website URL 2019-05-14 11:06:50 +02:00
Davide De Rosa 713a46d817 Update GitHub URL
Move to passepartoutvpn org.
2019-05-14 10:58:47 +02:00
Davide De Rosa 0a80dec3a7 Add static key encryption to unsupported 2019-05-09 10:18:31 +02:00
Davide De Rosa 705be661b0 Clarify README bit about proxy 2019-05-02 10:49:30 +02:00
Davide De Rosa 56d05e17ae Update README 2019-04-27 13:54:14 +02:00
Davide De Rosa 212ef481dc Upgrade OpenSSL to 1.1.0j 2019-04-27 10:01:09 +02:00
Davide De Rosa 4f8a669967 Clarify App Groups usage in Demo 2019-04-13 11:04:46 +02:00
Davide De Rosa 93a7729425 Set Swift 5 in docs 2019-03-30 23:21:11 +01:00
Davide De Rosa b5b68474af Update CHANGELOG and README
Fixes #72
2019-03-25 20:30:32 +01:00
Davide De Rosa 0cd5b2f6af Update README with full LZO support 2019-03-20 16:44:36 +01:00
Davide De Rosa 8e99c91e72 Adjust README to LZO addition
Add Part III about LZO licensing.
2019-03-19 15:20:47 +01:00