Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | charon-tkm: Call esa_reset() when the inbound SA is deleted | Tobias Brunner | 2017-08-07 | 10 | -23/+59 | |
| | | | | | | | | | | | | | | | | | | After a rekeying the outbound SA and policy is deleted immediately, however, the inbound SA is not removed until a few seconds later, so delayed packets can still be processed. This adds a flag to get_esa_id() that specifies the location of the given SPI. | |||||
| * | charon-tkm: Remove unused get_other_esa_id() method | Tobias Brunner | 2017-08-07 | 3 | -101/+0 | |
| | | ||||||
| * | child-rekey: Don't install outbound SA in case of lost collisions | Tobias Brunner | 2017-08-07 | 4 | -46/+123 | |
| | | | | | | | | | | | | | | This splits the SA installation also on the initiator, so we can avoid installing the outbound SA if we lost a rekey collision, which might have caused traffic loss depending on the timing of the DELETEs that are sent in both directions. | |||||
| * | testing: Also capture stderr during test cases | Tobias Brunner | 2017-08-07 | 1 | -1/+3 | |
| | | | | | | | | The output was not correct otherwise due to the reordering of commands. | |||||
| * | testing: Clearly mark the tests that failed | Tobias Brunner | 2017-08-07 | 1 | -5/+15 | |
| | | ||||||
| * | testing: Add tkm/xfrmproxy-rekey scenario | Tobias Brunner | 2017-08-07 | 11 | -0/+119 | |
| | | | | | | | | | | Similar to the xfrmproxy-expire scenario but here the TKM host is the responder to a rekeying. | |||||
| * | testing: Add pfkey/net2net-rekey scenario | Tobias Brunner | 2017-08-07 | 9 | -0/+117 | |
| | | ||||||
| * | testing: Add ikev2/net2net-rekey scenario | Tobias Brunner | 2017-08-07 | 9 | -0/+115 | |
| | | ||||||
| * | testing: Add support for counting matching lines in tests | Tobias Brunner | 2017-08-07 | 1 | -14/+23 | |
| | | | | | | | | | | | | | | Specifying an integer instead of YES in evaltest.dat causes the number to get compared against the actual number of lines matching the pattern. This may be used to count matching packets or log lines. | |||||
| * | bus: Don't trigger child_updown() for rekeyed CHILD_SAs | Tobias Brunner | 2017-08-07 | 1 | -1/+4 | |
| | | | | | | | | We don't trigger it either when they are deleted individually. | |||||
| * | charon-tkm: Don't select new outbound SA until the policy is installed | Tobias Brunner | 2017-08-07 | 1 | -22/+40 | |
| | | | | | | | | | | | | | | | | | | This tries to avoid packet loss during rekeying by delaying the usage of the new outbound IKE_SA until the old one is deleted. Note that esa_select() is a no-op in the current TKM implementation. And the implementation also doesn't benefit from the delayed deletion of the inbound SA as it calls esa_reset() when the outbound SA is deleted. | |||||
| * | charon-tkm: Claim to support SPIs on policies | Tobias Brunner | 2017-08-07 | 1 | -0/+7 | |
| | | | | | | | | | | This fixes rekeying as the delayed installation of the outbound SA caused the nonce context to be expired already. | |||||
| * | child-sa: Install outbound SA immediately if kernel supports SPIs on policies | Tobias Brunner | 2017-08-07 | 3 | -26/+47 | |
| | | ||||||
| * | child-sa: Use flags to track installation of outbound SA and policies separately | Tobias Brunner | 2017-08-07 | 3 | -29/+46 | |
| | | ||||||
| * | kernel-netlink: Set SPI on outbound policy | Tobias Brunner | 2017-08-07 | 1 | -4/+10 | |
| | | | | | | | | | | This should cause the right SA to get used if there are multiple outbound SAs and the policies are installed properly. | |||||
| * | kernel-interface: Not all kernel interfaces support SPIs on policies | Tobias Brunner | 2017-08-07 | 1 | -0/+2 | |
|/ | ||||||
* | Version bump to 5.6.0dr45.6.0dr4 | Andreas Steffen | 2017-08-04 | 3 | -3/+5 | |
| | ||||||
* | testing: Added tnc/tnccs-20-ev-pt-tls scenario | Andreas Steffen | 2017-08-04 | 41 | -22/+526 | |
| | ||||||
* | swid-gen: Share SWID generator between sw-collector, imc-swima and imc-swid | Andreas Steffen | 2017-08-04 | 15 | -445/+561 | |
| | ||||||
* | sw-collector: Added --full option | Andreas Steffen | 2017-08-03 | 3 | -28/+110 | |
| | ||||||
* | sw-collector: Added --installed/removed options | Andreas Steffen | 2017-08-03 | 5 | -43/+109 | |
| | ||||||
* | Merge branch 'appveyor' | Tobias Brunner | 2017-08-02 | 5 | -12/+48 | |
|\ | | | | | | | Build and run unit tests on AppVeyor Windows containers. | |||||
| * | appveyor: Build against OpenSSL | Tobias Brunner | 2017-07-28 | 1 | -0/+5 | |
| | | | | | | | | This is mainly for the RNG needed for the exchange tests. | |||||
| * | unit-tests: Double escape backslashes in Windows paths in settings test | Tobias Brunner | 2017-07-28 | 1 | -2/+6 | |
| | | | | | | | | | | That's required when these are used as include paths in settings file strings. | |||||
| * | unit-tests: Stringify direction in message asserts early | Tobias Brunner | 2017-07-28 | 1 | -6/+6 | |
| | | | | | | | | x86_64-w64-mingw32-gcc on Windows requires this. | |||||
| * | unit-tests: iv_gen_seq has a dependency on RNG_STRONG | Tobias Brunner | 2017-07-28 | 1 | -1/+1 | |
| | | | | | | | | We currently don't have an RNG in Windows builds. | |||||
| * | appveyor: Run tests on AppVeyor Windows containers | Tobias Brunner | 2017-07-28 | 2 | -3/+30 | |
|/ | | | | | We can't enable leak detective as it is so slow then that we run into a timeout (60 minutes). | |||||
* | peer-cfg: Use an rwlock instead of a mutex to safely access child-cfgs | Tobias Brunner | 2017-07-27 | 1 | -15/+15 | |
| | | | | | | | | | | If multiple threads want to enumerate child-cfgs and potentially lock other locks (e.g. check out IKE_SAs) while doing so a deadlock could be caused (as was the case with VICI configs with start_action=start). It should also improve performance for roadwarrior connections and lots of clients connecting concurrently. Fixes #2374. | |||||
* | credential-manager: Log issuer identity if not found | Tobias Brunner | 2017-07-27 | 1 | -0/+2 | |
| | ||||||
* | auth-cfg: Don't limit subjectAltName check to received certificates | Tobias Brunner | 2017-07-27 | 1 | -1/+1 | |
| | | | | Otherwise this won't work if the certificate is only locally available. | |||||
* | swanctl: Read default socket from swanctl.socket option | Tobias Brunner | 2017-07-27 | 2 | -1/+8 | |
| | | | | | | | Also read from swanctl.plugins.vici.socket so we get libstrongswan.plugins.vici.socket if it is defined. Fixes #2372. | |||||
* | swanctl: Include config snippets from conf.d subdirectory | Tobias Brunner | 2017-07-27 | 2 | -0/+3 | |
| | | | | Fixes #2371. | |||||
* | conf: Add support to generate include statements in .conf files | Tobias Brunner | 2017-07-27 | 1 | -7/+33 | |
| | ||||||
* | curl: Enable following redirects | Tobias Brunner | 2017-07-27 | 3 | -0/+13 | |
| | | | | | | | The maximum number of redirects can be limited. The functionality can also be disabled. Fixes #2366. | |||||
* | ikev2: AES-CMAC-PRF-128 only uses the first 64 bits of each nonce | Tobias Brunner | 2017-07-27 | 1 | -2/+5 | |
| | | | | References #2377. | |||||
* | error-notify: Don't stop sending notifies after removing a disconnected listener | Tobias Brunner | 2017-07-27 | 1 | -2/+1 | |
| | | | | | | | This prevented new listeners from receiving notifies if they joined after another listener disconnected previously, and if they themselves disconnected their old connection would prevent them again from getting notifies. | |||||
* | farp: Only remove one tracked entry | Tobias Brunner | 2017-07-27 | 1 | -0/+1 | |
| | | | | | | | | | Multiple CHILD_SAs sharing the same traffic selectors (e.g. during make-before-break reauthentication) also have the same reqid assigned. If all matching entries are removed we could end up without entry even though an SA exists that still uses these traffic selectors. Fixes #2373. | |||||
* | ike: Trigger CHILD_INSTALLED state change after corresponding log message | Tobias Brunner | 2017-07-27 | 2 | -10/+9 | |
| | | | | | | | | This way we get the log message in stroke and swanctl as last message when establishing a connection. It's already like this for the IKE_SA where IKE_ESTABLISHED is set after the corresponding log message. Fixes #2364. | |||||
* | sw-collector: sw-collector.first_file setting retrieves creation date from ↵ | Andreas Steffen | 2017-07-26 | 2 | -2/+52 | |
| | | | | file stats | |||||
* | swima-collector: Fix compile error if SWID_DIRECTORY is not defined | Tobias Brunner | 2017-07-24 | 1 | -1/+10 | |
| | ||||||
* | libimcv: Add missing files to Android.mk | Tobias Brunner | 2017-07-24 | 1 | -0/+11 | |
| | ||||||
* | Version bump to 5.6.0dr35.6.0dr3 | Andreas Steffen | 2017-07-18 | 2 | -2/+2 | |
| | ||||||
* | testing: Fixed the path of pt-tls-client | Andreas Steffen | 2017-07-18 | 3 | -5/+5 | |
| | ||||||
* | checksum: Compile sw-collector before checksum | Andreas Steffen | 2017-07-18 | 1 | -4/+4 | |
| | ||||||
* | checksum: Added pt-tls-client and sw-collector | Andreas Steffen | 2017-07-18 | 1 | -0/+8 | |
| | ||||||
* | sw-collector: Moved to its own directory and added man page | Andreas Steffen | 2017-07-18 | 18 | -22/+133 | |
| | ||||||
* | pt-tls-client: Added man page | Andreas Steffen | 2017-07-16 | 4 | -4/+140 | |
| | ||||||
* | Version bump to 5.6.0dr25.6.0dr2 | Andreas Steffen | 2017-07-13 | 3 | -2/+21 | |
| | ||||||
* | sw-collector: strip arch suffix from package names | Andreas Steffen | 2017-07-13 | 5 | -34/+22 | |
| | ||||||
* | sw-collector: Check for epoch-less Debian package versions | Andreas Steffen | 2017-07-12 | 12 | -314/+881 | |
| |