aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_netlink
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-04-20 13:56:55 +0200
committerTobias Brunner <tobias@strongswan.org>2016-05-06 15:31:31 +0200
commitbf3bed1cc4be24b9a74dff391723afec90182647 (patch)
treec3c5673fae8e4ca78f7c1713d97623ea27058ae5 /src/libcharon/plugins/kernel_netlink
parenta01eb5e4da150c7573515d630f9fd7f1dfdb4d05 (diff)
downloadstrongswan-bf3bed1cc4be24b9a74dff391723afec90182647.tar.bz2
strongswan-bf3bed1cc4be24b9a74dff391723afec90182647.tar.xz
ikev1: Don't use rekeyed CHILD_SAs for rekey detection
An old (already rekeyed) CHILD_SA would get switched back into CHILD_REKEYING state. And we actually want to change the currently installed CHILD_SA to that state and later CHILD_REKEYED and properly call e.g. child_rekey() and not do this again with an old CHILD_SA. Instead let's only check installed or currently rekeying CHILD_SAs (in case of a rekey collision). It's also uncommon that there is a CHILD_SA in state CHILD_REKEYED but none in state CHILD_INSTALLED or CHILD_REKEYING, which could happen if e.g. a peer deleted and recreated a CHILD_SA after a rekeying. But in that case we don't want to treat the new CHILD_SA as rekeying (e.g. in regards to events on the bus).
Diffstat (limited to 'src/libcharon/plugins/kernel_netlink')
0 files changed, 0 insertions, 0 deletions