moby/libnetwork/drivers
Cory Snider 33564a0c03 libnetwork/d/overlay: support IPv6 transport
The forwarding database (fdb) of Linux VXLAN links are restricted to
entries with destination VXLAN tunnel endpoint (VTEP) address of a
single address family. Which address family is permitted is set when the
link is created and cannot be modified. The overlay network driver
creates VXLAN links such that the kernel only allows fdb entries to be
created with IPv4 destination VTEP addresses. If the Swarm is configured
with IPv6 advertise addresses, creating fdb entries for remote peers
fails with EAFNOSUPPORT (address family not supported by protocol).

Make overlay networks functional over IPv6 transport by configuring the
VXLAN links for IPv6 VTEPs if the local node's advertise address is an
IPv6 address. Make encrypted overlay networks secure over IPv6 transport
by applying the iptables rules to the ip6tables when appropriate.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-11-09 12:04:47 -05:00
..
bridge Add unit tests for outgoing NAT rules 2023-10-21 13:53:58 -04:00
host libnetwork: move datastore Scope consts to libnetwork/scope 2023-07-28 21:56:48 +02:00
ipvlan migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
macvlan migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
null libnetwork: move datastore Scope consts to libnetwork/scope 2023-07-28 21:56:48 +02:00
overlay libnetwork/d/overlay: support IPv6 transport 2023-11-09 12:04:47 -05:00
remote migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
windows migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00