Commit Graph

1028 Commits

Author SHA1 Message Date
Davide De Rosa a7a912a0d8 Update CHANGELOG 2019-07-11 18:45:39 +02:00
Davide De Rosa aefeb252b3 Do not defer stop more than once
May cause multiple delegation and queue deadlock when a
reconnection is scheduled to trigger.

Fixes #106
2019-07-09 14:09:02 +02:00
Davide De Rosa 5ea185fd75 Merge branch 'overlapping-soft-reset' 2019-07-09 12:47:12 +02:00
Davide De Rosa 2c56a8ea95 Send PUSH_REQUEST immediately after auth
First call would always fail otherwise.
2019-07-09 12:40:10 +02:00
Davide De Rosa 40139cbef0 Replace key flag with session-wide isRenegotiating
Prevent new if one in progress.

Fixes #105
2019-07-09 12:17:12 +02:00
Davide De Rosa 0f2234f1d1 Assume stale session if server sends HARD_RESET
When unsolicited.
2019-07-09 11:42:12 +02:00
Davide De Rosa 1dcf4d7745 Shut down abruptly to work around macOS bug
Fixes #111
2019-07-07 23:36:06 +02:00
Davide De Rosa b04f7f20d4 Log info about DNS servers in use 2019-07-03 19:04:53 +02:00
Davide De Rosa c40d42c772 Set Swift 5 at Demo project level 2019-06-27 11:01:07 +02:00
Davide De Rosa eb56a9a56c Optimize [Data].flatCount 2019-06-05 14:14:15 +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 2409443b4e [ci skip] Add link to Travis-CI badge 2019-05-27 22:16:36 +02:00
Davide De Rosa 5ba49aea45 Merge branch 'update-readme' 2019-05-27 22:06:01 +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 5bc44c4842 Restrict Travis-CI to master and stable
Should run in PRs though.
2019-05-27 22:00:15 +02:00
Davide De Rosa 6004d3fcc8 Move OpenSSL dependency to OpenVPN 2019-05-27 21:35:41 +02:00
Davide De Rosa 2135180e72 [ci skip] Add missing jazzy entities 2019-05-27 21:28:31 +02:00
Davide De Rosa 4c4b537721 Merge branch 'travis-testing' 2019-05-27 21:27:32 +02:00
Davide De Rosa 137ab17474 Run tests on Travis-CI
Rely on Travis for basic test stage. No manual xcodebuild script.

Had to inject a manual "pod repo update" though.

https://github.com/travis-ci/travis-ci/issues/6473#issuecomment-247777762

Extend build time to 20 minutes (OpenSSL takes a lot).
2019-05-27 19:21:12 +02:00
Davide De Rosa 74e04a47b9 Fix Podfile targets 2019-05-27 17:15:37 +02:00
Davide De Rosa bad16a5b4c Update bundle
Fix CocoaPods version.
2019-05-27 17:14:59 +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 f3edd6ec59 Merge branch 'openvpn-appextension' 2019-05-24 16:04:39 +02:00
Davide De Rosa 2ddf712176 Update jazzy YAML 2019-05-24 16:04:19 +02:00
Davide De Rosa adcae1686e Update Demo 2019-05-24 16:02:59 +02:00
Davide De Rosa be1081aad6 Nest subspecs by purpose
- Protocols
- Extra
2019-05-24 16:02:59 +02:00
Davide De Rosa 21eee24e7c Add missing documentation 2019-05-24 16:02:06 +02:00
Davide De Rosa 72ce14b676 Make AppExtension entities public 2019-05-24 16:02:06 +02:00
Davide De Rosa 334613401b Organize tests by subspec
Split TestUtils.
2019-05-24 10:59:20 +02:00
Davide De Rosa 3edd00b2da Drop deprecated endpointProtocols 2019-05-24 10:59:20 +02:00
Davide De Rosa 185f0707cf Move OpenVPN configuration part on top 2019-05-24 10:59:20 +02:00
Davide De Rosa 1f8c51c126 Parse OpenVPN.Configuration from defaults 2019-05-24 10:59:20 +02:00
Davide De Rosa 5561c7adc6 Group OpenVPN.Configuration funcs into extension
- with (creation)
- store (convert to dict)
- print (log)
2019-05-24 10:54:25 +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 011a407edd Merge branch 'wrap-protocol-specifics' 2019-05-23 20:07:42 +02:00
Davide De Rosa b6da3f2d13 Rename proxy to session
According to SessionProxy -> OpenVPNSession.
2019-05-19 15:56:44 +02:00
Davide De Rosa 8be0f14aa9 Move PRNG initialization to namespace level 2019-05-19 15:52:55 +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 3ae07ec9da Move OpenSSL dependency to OpenVPN subspec 2019-05-19 15:08:46 +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 df6c18f939 Merge branch 'move-generic-entities-to-core' 2019-05-19 12:40:28 +02:00
Davide De Rosa 5748d29094 Update jazzy categories 2019-05-19 12:40:20 +02:00