]> git.ipfire.org Git - thirdparty/strongswan.git/commit
Merge branch 'mobike-nat'
authorTobias Brunner <tobias@strongswan.org>
Fri, 9 Feb 2018 14:54:36 +0000 (15:54 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 9 Feb 2018 15:13:19 +0000 (16:13 +0100)
commitd58a84e0f7e69b98d1bda2a0d2796ad9be106ec3
tree884911d4c93d091a50a1b49e988e7d3c42201f38
parent626e8a31d08f4c458ed0693f76f0579de5735a1e
parent044b0f048b1278a1145a2d3863762a0c1bc46f23
Merge branch 'mobike-nat'

These changes improve MOBIKE task queuing. In particular we don't
want to ignore the response to an update (with NAT-D payloads) if only
an address list update or DPD is queued as that could prevent use from
updating the UDP encapsulation in the kernel.

A new optional roam trigger is added to the kernel-netlink plugin based
on routing rule changes.  This only works properly, though, if the kernel
based route lookup is used as the kernel-netlink plugin does currently
not consider routing rules for its own route lookup.

Another change prevents acquires during address updates if we have to
update IPsec SAs by deleting and readding them.  Because the outbound policy
is still installed an acquire and temporary SA might get triggered in
the short time no IPsec SA is installed, which could subsequently prevent the
reinstallation of the SA.  To this end we install drop policies before
updating the policies and SAs.  These also replace the fallback drop policies
we previously used to prevent plaintext leaks during policy updates (which
reduces the overhead in cases where addresses never or rarely change as
additional policies will only have to be tracked during address updates).

Fixes #2518.