summaryrefslogtreecommitdiff
path: root/sbin/iked/ikev2.c
AgeCommit message (Expand)Author
2019-08-29Remove redundant ikev2_msg_valid_ike_sa() call.tobhe
2019-08-24Fix conflict when IKE SA and Child SA rekeying happen at the same time.tobhe
2019-08-14Fix NAT traversal detection bug when "local" option is not explicitlytobhe
2019-08-12Prepend SPI to send and recv log messages to see which line belongs totobhe
2019-05-11Add support for IKEv2 Message Fragmentation as defined in RFC 7383.Patrick Wildt
2019-05-10Set the IKED_REQ_INFORMATIONAL flag when sending a delete requestPatrick Wildt
2019-05-10Enforce messages after IKE_SA_INIT exchange to contain onlyPatrick Wildt
2019-02-27update RFC references, from tobias_heider at genua.de, ok claudio@Stuart Henderson
2019-02-26Fix sending IKEV2_CFG_INTERNAL_IP6_DNS, IKEV2_CFG_INTERNAL_IP6_NBNS,Patrick Wildt
2018-03-05Outsource enabling/disabling the DPD and keepalive timers for SAs intoPatrick Wildt
2017-12-23Since ikev2_init_recv() is supposed to only handle responses to anPatrick Wildt
2017-12-05When sending out a proposal we create an SA/SPI for the Child SAs if wePatrick Wildt
2017-12-04Initialize variable, otherwise the pointer might contain stack garbage.Patrick Wildt
2017-12-03If we wanted to send out more proposals than just one, we need to set aPatrick Wildt
2017-12-03The RFC specifies that to accept a proposal, we must select a transformPatrick Wildt
2017-12-01Turns out that, as specified in the RFC, the initial Child SA does notPatrick Wildt
2017-11-30Add support for rejecting IKE SA messages. This means that we can replyPatrick Wildt
2017-11-27Implement MOBIKE (RFC 4555) support in iked(8), with us acting asPatrick Wildt
2017-11-08For IPcomp we need to load explicit ESP-flows for the IPIP or IPCOMPPatrick Wildt
2017-10-27In the final RFC 5903 the computation for the DH shared secret changed.Patrick Wildt
2017-06-01Expand $eapid in iked tags, allowing PF rules to be written based on EAPStuart Henderson
2017-04-26cope with IP address changes. before, we were trying to resend the msgHenning Brauer
2017-04-13Add a NAT-T keepalive timer in case we are behind a NAT gateway.Patrick Wildt
2017-03-30Only close the SA if an error happens before ikev2_msg_init() was calledPatrick Wildt
2017-03-28Don't send informational responses before we're having the key material.Reyk Floeter
2017-03-28Returning -1 in an imsg handler like ikev2_dispatch_cert aborts iked.Reyk Floeter
2017-03-27Don't cache the DH group in the policyMike Belopuhov
2017-03-27Factor out flows into separate configuration messagesMike Belopuhov
2017-03-27spacingReyk Floeter
2017-03-27Fix another iked leak of SAs in pfkey_sa(), copy tags correctly.Reyk Floeter
2017-03-27Add support to reflect the responder IKEv2 COOKIE.Reyk Floeter
2017-03-27Add support for RFC4754 (ECDSA) and RFC7427 authentication.Reyk Floeter
2017-03-13Resolve simultaneous Child SA rekeyingMike Belopuhov
2017-03-13Resolve simultaneous IKE SA rekeyingMike Belopuhov
2017-03-13Make sure that proposal contains a DH group when rekeying with PFS enabledReyk Floeter
2017-03-13NAT-T improvementsReyk Floeter
2017-03-13Don't rekey acquired Child SAsMike Belopuhov
2017-03-13When setting up IPcomp flows for the networks 'A' and 'B' betweenPatrick Wildt
2017-03-13Fix and improve the IKE SA rekeying timeout, add a randomized jitter.Reyk Floeter
2017-03-13Improve reporting of authentication errorsMike Belopuhov
2017-03-13flow_cmp() must compare the same flow-attributes as the kernel,Patrick Wildt
2017-02-24In a scenario where a config reload happens during an IKE_AUTH exchange,Patrick Wildt
2017-01-20Add a warning when the address pool is exhaustedMike Belopuhov
2017-01-20Verify the certificate imsg payload sizeMike Belopuhov
2016-06-02Use the last 32-bits of the IPv6 address to dynamically assignPatrick Wildt
2016-06-01Implement a second address pool specifically for IPv6, so thatPatrick Wildt
2016-06-01ikev2_cp_fixaddr() is called to replace unspecified (e.g. 0.0.0.0)Patrick Wildt
2015-10-22iked hereby pledges that it will run with restricted systemReyk Floeter
2015-10-19Remove the ikev1 stub - Since I started iked, it has an empty privsepReyk Floeter
2015-10-15Remove some unnecessary NULL-checks before free(). Change two bzero()mmcc