aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/ha/ha_ike.c
Commit message (Collapse)AuthorAgeFilesLines
* ha: Delete passive IKE_SA on other node after half-open timeoutTobias Brunner2017-01-251-0/+15
| | | | Fixes #1192.
* Use standard unsigned integer typesAndreas Steffen2016-03-241-3/+3
|
* ha: Properly sync IKEv1 IV if gateway is initiatorTobias Brunner2016-02-011-12/+16
| | | | | | | | | | | | | | To handle Phase 2 exchanges on the other HA host we need to sync the last block of the last Phase 1 message (or the last expected IV). If the gateway is the initiator of a Main Mode SA the last message is an inbound message. When handling such messages the expected IV is not updated until it is successfully decrypted so we can't sync the IV when processing the still encrypted (!plain) message. However, as responder, i.e. if the last message is an outbound message, the reverse applies, that is, we get the next IV after successfully encrypting the message, not while handling the plain message. Fixes #1267.
* ha: Add DH group to IKE_ADD messageTobias Brunner2016-02-011-0/+4
| | | | | | | | 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.
* ha: Sync remote address in HA_IKE_ADD, tooThomas Egerer2015-08-041-0/+1
| | | | | | | | | | | | 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 Willi2015-03-231-3/+5
|
* diffie-hellman: Use bool instead of status_t as get_shared_secret() return valueMartin Willi2015-03-231-1/+1
| | | | | While such a change is not unproblematic, keeping status_t makes the API inconsistent once we introduce return values for the public value operations.
* Support multiple virtual IPs on peer_cfg and ike_sa classesMartin Willi2012-08-301-22/+30
|
* Cleaned up memory management and return values for encryption payloadMartin Willi2012-07-161-1/+0
|
* Add a return value to keymat_v1_t.{get,update,confirm}_ivMartin Willi2012-07-161-7/+9
|
* Merge branch 'ikev1-clean' into ikev1-masterMartin Willi2012-03-201-32/+119
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Synchronize IKEv1 DPD sequence numbersMartin Willi2012-03-201-0/+30
| |
| * Sync remote virtual IP for IKEv1 SAsMartin Willi2012-03-201-0/+13
| |
| * Sync new IKE_SA condition/extension flagsMartin Willi2012-03-201-2/+6
| |
| * Added support for Phase1 IV synchronization to HA pluginMartin Willi2012-03-201-26/+50
| |
| * Invoke bus_t.message hook twice, once plain and parsed, once encoded and ↵Martin Willi2012-03-201-1/+2
| | | | | | | | encrypted
| * Added support to sync IKEv1 SAs key material in HA pluginMartin Willi2012-03-201-0/+12
| |
| * Pass IKEv1 specific keymat to ike_keys hookMartin Willi2012-03-201-1/+2
| |
| * Updated HA plugin to new IKEv2 specific keymat functionsMartin Willi2012-03-201-3/+5
| |
* | Renamed list of additional peer addresses as it now stores all known addresses.Tobias Brunner2012-03-091-2/+2
|/
* Sync newer IKE_SA condition/extension flags in ha pluginMartin Willi2011-08-191-2/+7
|
* Replaced ike_sa_t.create_additional_address_iterator with enumerator.Tobias Brunner2011-07-061-4/+4
|
* Flush any remaining cache state if an IKE_SA goes downMartin Willi2010-07-271-2/+2
|
* Synchronize EAP-Identity of remote peerMartin Willi2010-07-261-0/+6
|
* Use a sync message cache to resynchronize IKE_SAs without rekeyingMartin Willi2010-07-261-1/+24
|
* Use distinct message types for HA message ID updatesMartin Willi2010-07-261-6/+4
|
* Migrated ha plugin to INIT/METHOD macrosMartin Willi2010-07-261-34/+26
|
* Updated HA plugin to new APIsMartin Willi2010-04-071-6/+0
|
* Moved ha plugin to libcharonMartin Willi2010-04-071-0/+286