Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | child-sa: Change API used to set/install policies | Tobias Brunner | 2017-05-23 | 1 | -9/+7 |
| | | | | This way we only have to pass the traffic selectors once. | ||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 1 | -10/+10 |
| | |||||
* | ha: Add DH group to CHILD_ADD message | Tobias Brunner | 2016-02-01 | 1 | -1/+8 |
| | | | | References #1267. | ||||
* | ha: Add DH group to IKE_ADD message | Tobias Brunner | 2016-02-01 | 1 | -0/+8 |
| | | | | | | | | It is required for IKEv1 to determine the DH group of the CHILD SAs during rekeying. It also fixes the status output for HA SAs, which so far haven't shown the DH group on the passive side. Fixes #1267. | ||||
* | traffic-selector: Don't end printf'ed list of traffic selectors with a space | Tobias Brunner | 2015-11-10 | 1 | -1/+1 |
| | |||||
* | ha: Properly initialize algo variables when installing CHILD_SAs | Tobias Brunner | 2015-08-04 | 1 | -1/+1 |
| | | | | | | | | | | If AEAD algorithms are used no integrity algorithm will be received from the other HA node. But since AUTH_UNDEFINED is 1024 and not 0 this value was incorrectly added to the proposal, resulting in a failure during key derivation. The variables are now explicitly initialized to 0, as already was the case for the IKE SAs. Fixes #1051. | ||||
* | ha: Sync remote address in HA_IKE_ADD, too | Thomas Egerer | 2015-08-04 | 1 | -0/+10 |
| | | | | | | | | | | | | When the IKE_SA is synced without the remote address, after a reauthentication charon is not able to find it in its connected_peers table since the destination host will be %any (it's missing in the message, hence the default from the newly created ike_sa_t -- %any -- will be used). By adding the value to the HA_IKE_ADD message, we should be able to solve this problem. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | ||||
* | diffie-hellman: Add a bool return value to get_my_public_value() | Martin Willi | 2015-03-23 | 1 | -1/+2 |
| | |||||
* | diffie-hellman: Use bool instead of status_t as get_shared_secret() return value | Martin Willi | 2015-03-23 | 1 | -2/+2 |
| | | | | | While such a change is not unproblematic, keeping status_t makes the API inconsistent once we introduce return values for the public value operations. | ||||
* | ha: Destroy synced IKE_SA if no configuration is found during update | Martin Willi | 2015-03-10 | 1 | -0/+3 |
| | |||||
* | Revert "ha: Always install the CHILD_SAs with the inbound flag set to FALSE" | Martin Willi | 2015-03-09 | 1 | -2/+2 |
| | | | | | | | | While this change results in the correct add/update flag during installation, it exchanges all other values in the child_sa->install() call. We should pass the correct flag, but determine the add/update flag by other means. This reverts commit e722ee5d. | ||||
* | ha: Always install the CHILD_SAs with the inbound flag set to FALSE | Martin Willi | 2015-02-27 | 1 | -2/+2 |
| | | | | | | | | | The inbound flag is used to determine if we have to install an update or a new SA in the kernel. As we do not have allocated SPIs and therefore can't update an existing SA in the HA plugin, always set the flag to FALSE. Before 698ed656 we had extra logic for that case, but handling it directly in the HA plugin is simpler. | ||||
* | ike: Consistently log CHILD_SAs with their unique_id instead of their reqid | Martin Willi | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | child-sa: Replace reqid based marks by "unique" marks | Martin Willi | 2015-02-20 | 1 | -1/+2 |
| | | | | | | | | | | | As we now use the same reqid for multiple CHILD_SAs with the same selectors, having marks based on the reqid makes not that much sense anymore. Instead we use unique marks that use a custom identifier. This identifier is reused during rekeying, keeping the marks constant for any rule relying on it (for example installed by updown). This also simplifies handling of reqid allocation, as we do not have to query the marks that is not yet assigned for an unknown reqid. | ||||
* | ha: Don't adopt IKEv1 children when building without IKEv1 support | Martin Willi | 2014-08-28 | 1 | -0/+2 |
| | | | | | | | The adopt_children_job_create() function is not available when IKEv1 support is disabled. Fixes uncommon builds using --enable-ha --disable-ikev1. Fixes #690. | ||||
* | ikev2: Add inherit_pre() to apply config and hosts before IKE_SA rekeying | Martin Willi | 2014-04-17 | 1 | -8/+2 |
| | |||||
* | ha: Fix CHILD_SA installation in ha_dispatcher after adding initiator flag | Tobias Brunner | 2013-06-13 | 1 | -4/+8 |
| | |||||
* | Clear virtual IPs before storing assigned ones on the IKE_SA | Tobias Brunner | 2012-09-05 | 1 | -1/+10 |
| | | | | | Otherwise we'll end up with duplicate or invalid VIPs stored on the IKE_SA. | ||||
* | Support multiple address pools configured on a peer_cfg | Martin Willi | 2012-08-30 | 1 | -6/+7 |
| | |||||
* | Support multiple virtual IPs on peer_cfg and ike_sa classes | Martin Willi | 2012-08-30 | 1 | -5/+10 |
| | |||||
* | Add a return value to keymat_v1_t.{get,update,confirm}_iv | Martin Willi | 2012-07-16 | 1 | -2/+4 |
| | |||||
* | Centralized thread cancellation in processor_t | Tobias Brunner | 2012-06-25 | 1 | -9/+3 |
| | | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation. | ||||
* | Merge branch 'ikev1-clean' into ikev1-master | Martin Willi | 2012-03-20 | 1 | -19/+194 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/daemon.c src/libcharon/plugins/eap_ttls/eap_ttls_peer.c src/libcharon/plugins/eap_radius/eap_radius_accounting.c src/libcharon/plugins/eap_radius/eap_radius_forward.c src/libcharon/plugins/farp/farp_listener.c src/libcharon/sa/ike_sa.c src/libcharon/sa/keymat.c src/libcharon/sa/task_manager.c src/libcharon/sa/trap_manager.c src/libstrongswan/plugins/x509/x509_cert.c src/libstrongswan/utils.h Applied lost changes of moved files keymat.c and task_manager.c. Updated listener_t.message hook signature in new plugins. | ||||
| * | Adopt children after syncing a rekeyed IKEv1 SA | Martin Willi | 2012-03-20 | 1 | -0/+6 |
| | | |||||
| * | Sync new IKE_SA condition/extension flags | Martin Willi | 2012-03-20 | 1 | -0/+4 |
| | | |||||
| * | Added support for Phase1 IV synchronization to HA plugin | Martin Willi | 2012-03-20 | 1 | -0/+54 |
| | | |||||
| * | Create IKEv1 keymat hasher explicitly on sync | Martin Willi | 2012-03-20 | 1 | -3/+6 |
| | | |||||
| * | Added support to sync IKEv1 SAs key material in HA plugin | Martin Willi | 2012-03-20 | 1 | -9/+66 |
| | | |||||
| * | Use a more complete implementation of a HA specific diffie_hellman_t | Martin Willi | 2012-03-20 | 1 | -11/+50 |
| | | |||||
| * | Apply proposal to a HA synced IKE_SA | Martin Willi | 2012-03-20 | 1 | -0/+1 |
| | | |||||
| * | Updated HA plugin to new IKEv2 specific keymat functions | Martin Willi | 2012-03-20 | 1 | -9/+19 |
| | | |||||
| * | Don't compare initiator flag in IKE_SA manager, pass initiator parameter to ↵ | Martin Willi | 2012-03-20 | 1 | -1/+2 |
| | | | | | | | | IKE_SA constructor | ||||
| * | Store IKE version of an SA on ike_sa_t. | Tobias Brunner | 2012-03-20 | 1 | -1/+1 |
| | | |||||
* | | Clear peer addresses during HA update. | Tobias Brunner | 2012-03-09 | 1 | -1/+6 |
| | | |||||
* | | Renamed list of additional peer addresses as it now stores all known addresses. | Tobias Brunner | 2012-03-09 | 1 | -3/+2 |
|/ | |||||
* | Sync newer IKE_SA condition/extension flags in ha plugin | Martin Willi | 2011-08-19 | 1 | -0/+5 |
| | |||||
* | Use CRITICAL job priority class for long running dispatcher jobs | Martin Willi | 2011-05-16 | 1 | -2/+2 |
| | |||||
* | Synchronize ESN support in HA plugin | Martin Willi | 2011-04-20 | 1 | -0/+5 |
| | |||||
* | set tfcv3 flag TRUE in ha_dispatcher | Andreas Steffen | 2010-12-26 | 1 | -4/+4 |
| | |||||
* | Store proposal number in proposal_t to reuse it in the selected proposal | Martin Willi | 2010-10-28 | 1 | -2/+2 |
| | | | | | According to RFC 5996 3.3.1, we MUST reuse the proposal number of the selected proposal in the SA payload reply. | ||||
* | Refer to scheduler and processor via lib and not hydra. | Tobias Brunner | 2010-09-02 | 1 | -2/+1 |
| | |||||
* | Refer to processor via hydra and not charon. | Tobias Brunner | 2010-09-02 | 1 | -1/+2 |
| | |||||
* | Implemented a HA enabled in-memory address pool | Martin Willi | 2010-07-28 | 1 | -1/+26 |
| | |||||
* | Reserving does not work, as our pools do not support acquiring arbitrary ↵ | Martin Willi | 2010-07-27 | 1 | -30/+0 |
| | | | | | | addresses This reverts commit d1384080b3ba74f366eaf8b5f027babca3f5d607. | ||||
* | Synchronize EAP-Identity of remote peer | Martin Willi | 2010-07-26 | 1 | -0/+6 |
| | |||||
* | Reserve virtual IP of passive IKE_SAs in the local pool | Martin Willi | 2010-07-26 | 1 | -0/+30 |
| | |||||
* | Log CHILD_SA segment responsibility | Martin Willi | 2010-07-26 | 1 | -3/+18 |
| | |||||
* | Pass initiator parameter to distinguish between original and exchange initiator | Martin Willi | 2010-07-26 | 1 | -1/+3 |
| | |||||
* | Use a sync message cache to resynchronize IKE_SAs without rekeying | Martin Willi | 2010-07-26 | 1 | -15/+58 |
| | |||||
* | Log received HA message types | Martin Willi | 2010-07-26 | 1 | -3/+9 |
| |