]> git.proxmox.com Git - mirror_ifupdown2.git/commit
This release adds support for the new IPSec Interface XFRM.
authorSven Auhagen <Sven.Auhagen@voleatech.de>
Wed, 5 Jun 2019 09:05:33 +0000 (11:05 +0200)
committerSven Auhagen <Sven.Auhagen@voleatech.de>
Wed, 5 Jun 2019 09:05:33 +0000 (11:05 +0200)
commitca42da726a0a8d6d499bfcede12faf08938f2c92
tree8a1be12707aafc63ed6256c2489900f2474c642f
parentbc029f28573abe43c926790c220991d3b0dfcd0e
This release adds support for the new IPSec Interface XFRM.
It is available since Kernel 4.19 and has two parmeters:

1. XFRM ID to map to an SA/SAs
2. Underlying Interface if you want to take advantage of IPSec Hardware Offload

Otherwise it is treated as a normal interface and not like a tunnel (VTI).

I added two attributes to the interface to configure it and otherwise use it as a normal interface.
One example is:

auto ipsec1
iface ipsec1 inet
xfrm-physdev lo
xfrmid 1
ifupdown2/addons/xfrm.py [new file with mode: 0644]
ifupdown2/ifupdown/netlink.py
ifupdown2/ifupdownaddons/LinkUtils.py
ifupdown2/nlmanager/nlmanager.py
ifupdown2/nlmanager/nlpacket.py