Add dynamic address configuration for roadwarrior clients.
authortobhe <tobhe@openbsd.org>
Sat, 13 Feb 2021 16:14:12 +0000 (16:14 +0000)
committertobhe <tobhe@openbsd.org>
Sat, 13 Feb 2021 16:14:12 +0000 (16:14 +0000)
commit264f8b22eb1a85595e95e1f72bb5931416faf5f5
tree649ee2bac6b5577db3dbeccb0b2db9f1ef6b8a2d
parent1426b8c03f36bd56ccf07825d234686d0190da25
Add dynamic address configuration for roadwarrior clients.
The new 'iface' config option can be used to specify an interface
for the virtual addresses received from the peer.
Routes are automatically added based on the configured flows.

Input from sthen@ and claudio@
ok patrick@
sbin/iked/Makefile
sbin/iked/config.c
sbin/iked/iked.c
sbin/iked/iked.conf.5
sbin/iked/iked.h
sbin/iked/ikev2.c
sbin/iked/parse.y
sbin/iked/policy.c
sbin/iked/types.h
sbin/iked/vroute.c [new file with mode: 0644]