Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | imv-database: Improve performance by creating file_hashes index | Andreas Steffen | 2017-08-07 | 1 | -0/+2 |
| | |||||
* | sw-collector: Add missing Doxygen group | Tobias Brunner | 2017-08-07 | 3 | -3/+5 |
| | | | | Fix location of two classes. | ||||
* | libimcv: Add missing Doxgen group for SWIMA-related classes | Tobias Brunner | 2017-08-07 | 2 | -1/+4 |
| | | | | Fix location of swima_error_t. | ||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2017-08-07 | 11 | -15/+15 |
| | |||||
* | kernel-netlink: Wipe buffer used to read Netlink messages | Tobias Brunner | 2017-08-07 | 1 | -2/+12 |
| | | | | | | | | | When querying SAs the keys will end up in this buffer (the allocated messages that are returned are already wiped). The kernel also returns XFRM_MSG_NEWSA as response to XFRM_MSG_ALLOCSPI but we can't distinguish this here as we only see the response. References #2388. | ||||
* | sha2: Write final hash directly to output buffer | Tobias Brunner | 2017-08-07 | 1 | -56/+26 |
| | | | | | | This avoids having the last output in internal memory that's not wiped. References #2388. | ||||
* | prf-plus: Wipe seed and internal buffer | Tobias Brunner | 2017-08-07 | 1 | -2/+2 |
| | | | | | | | The buffer contains key material we handed out last and the seed can contain the DH secret. References #2388. | ||||
* | child-sa: Allow requesting different unique marks for in/out | Eyal Birger | 2017-08-07 | 4 | -10/+46 |
| | | | | | | | | | | | | | | | | | | | | When requiring unique flags for CHILD_SAs, allow the configuration to request different marks for each direction by using the %unique-dir keyword. This is useful when different marks are desired for each direction but the number of peers is not predefined. An example use case is when implementing a site-to-site route-based VPN without VTI devices. A use of 0.0.0.0/0 - 0.0.0.0/0 traffic selectors with identical in/out marks results in outbound traffic being wrongfully matched against the 'fwd' policy - for which the underlay 'template' does not match - and dropped. Using different marks for each direction avoids this issue as the 'fwd' policy uses the 'in' mark will not match outbound traffic. Closes strongswan/strongswan#78. | ||||
* | trap-manager: Don't require that remote is resolvable during installation | Tobias Brunner | 2017-08-07 | 1 | -10/+49 |
| | | | | | | | | Initiation might later fail, of course, but we don't really require an IP address when installing, that is, unless the remote traffic selector is dynamic. As that would result in installing a 0.0.0.0/0 remote TS which is not ideal when a single IP is expected as remote. | ||||
* | child-create: Don't log CHILD_SA initiation until we know the unique ID | Tobias Brunner | 2017-08-07 | 1 | -11/+13 |
| | |||||
* | child-rekey: Add CHILD_SA name and unique ID to collision log messages | Tobias Brunner | 2017-08-07 | 1 | -8/+13 |
| | |||||
* | child-sa: Suppress CHILD_SA state changes if there is no change | Tobias Brunner | 2017-08-07 | 1 | -6/+9 |
| | |||||
* | charon-tkm: Call esa_reset() when the inbound SA is deleted | Tobias Brunner | 2017-08-07 | 4 | -16/+40 |
| | | | | | | | | | 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. | ||||
* | 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 |
| | |||||
* | swid-gen: Share SWID generator between sw-collector, imc-swima and imc-swid | Andreas Steffen | 2017-08-04 | 11 | -430/+552 |
| | |||||
* | sw-collector: Added --full option | Andreas Steffen | 2017-08-03 | 2 | -28/+107 |
| | |||||
* | sw-collector: Added --installed/removed options | Andreas Steffen | 2017-08-03 | 5 | -43/+109 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -0/+4 |
| | | | | | | | 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. | ||||
* | curl: Enable following redirects | Tobias Brunner | 2017-07-27 | 1 | -0/+9 |
| | | | | | | | 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 | 1 | -2/+49 |
| | | | | 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 |
| | |||||
* | 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 | 17 | -22/+130 |
| | |||||
* | pt-tls-client: Added man page | Andreas Steffen | 2017-07-16 | 4 | -4/+140 |
| | |||||
* | 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 |
| | |||||
* | libtpmtss: Support of Intel TABRMD interface | Andreas Steffen | 2017-07-12 | 1 | -14/+80 |
| | |||||
* | pt-tls-client: Support for TPM keyids | Andreas Steffen | 2017-07-08 | 1 | -10/+27 |
| | |||||
* | imv-swima: Implemented SW event processing | Andreas Steffen | 2017-07-08 | 5 | -85/+162 |
| |