ikev2: add support for NAT traversal 26/26726/5
authorFilip Tehlar <ftehlar@cisco.com>
Thu, 2 Apr 2020 13:13:39 +0000 (13:13 +0000)
committerNeale Ranns <nranns@cisco.com>
Fri, 15 May 2020 11:41:14 +0000 (11:41 +0000)
commit4362baa33c00b93d07f6648c87c064c96900f4df
treef7ffb67f3b6a98348ae4f88ae8d06f8d0ecbeffd
parent17b5c3d6ab83a597e7c79613041f2fd7470825bd
ikev2: add support for NAT traversal

Type: feature

* initiator behind NAT supported
* tested with static NAT mappings
* works only with pre-configured tunnels

The pre-configured tunnel has to be defined as follows:

initiator (i) side: src=ip(i) dst=ip(r)
responder (r) side: src=ip(r) dst=ip(nat)

Change-Id: Ia9f79ddbbcc3f7dc8fde6bbeca2a433e3b784e94
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
src/plugins/ikev2/ikev2.c
src/plugins/ikev2/ikev2.h
src/plugins/ikev2/ikev2_cli.c
src/plugins/ikev2/ikev2_priv.h
src/vlib/punt.c
test/test_punt.py