aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/attr_sql
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-06-02 14:08:42 +0200
committerTobias Brunner <tobias@strongswan.org>2015-06-05 13:44:42 +0200
commitb756eea4f48960eb788634d89dcab9881edc41b9 (patch)
treebaca4ad750434a4f8153476db6bd98fb2b287d2c /src/libcharon/plugins/attr_sql
parent9bb7307825f73ad9159bd07258f002c8cacebb8c (diff)
downloadstrongswan-b756eea4f48960eb788634d89dcab9881edc41b9.tar.bz2
strongswan-b756eea4f48960eb788634d89dcab9881edc41b9.tar.xz
ivgen: Allow reusing the same message ID twice in sequential IV gen
We use the message ID and fragment number as IV generator. As IKEv2 uses distinct message ID counters for actively and passively initiated exchanges, each IV would be used twice. As we explicitly reject such message IDs since d0ed1079, original-responder initiated exchanges fail with counter mode ciphers. This commit separates IV space in two halves for sequential IVs, and automatically assigns once reused sequence numbers to the second half. Fixes #980.
Diffstat (limited to 'src/libcharon/plugins/attr_sql')
0 files changed, 0 insertions, 0 deletions