]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ike-mobike: Always use this task for DPDs even if not behind a NAT
authorTobias Brunner <tobias@strongswan.org>
Tue, 22 May 2018 16:04:00 +0000 (18:04 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 22 Jun 2018 07:20:30 +0000 (09:20 +0200)
commit3a05566d0eb5327d4eea87250392c94c4e70669a
tree3bf422a3041e14f4ba803019b5abcb48fce95a80
parent35e49ffd2fc08be051b771f323c6115cebb9dbc7
ike-mobike: Always use this task for DPDs even if not behind a NAT

This allows switching to probing mode if the client is on a public IP
and this is the active task and connectivity gets restored.  We only add
NAT-D payloads if we are currently behind a NAT (to detect changed NAT
mappings), a MOBIKE update that might follow will add them in case we
move behind a NAT.
src/libcharon/sa/ikev2/task_manager_v2.c
src/libcharon/sa/ikev2/tasks/ike_mobike.c