moby/libnetwork/drivers
Cory Snider 042f0799db libn/d/overlay: support encryption on any port
While the VXLAN interface and the iptables rules to mark outgoing VXLAN
packets for encryption are configured to use the Swarm data path port,
the XFRM policies for actually applying the encryption are hardcoded to
match packets with destination port 4789/udp. Consequently, encrypted
overlay networks do not pass traffic when the Swarm is configured with
any other data path port: encryption is not applied to the outgoing
VXLAN packets and the destination host drops the received cleartext
packets. Use the configured data path port instead of hardcoding port
4789 in the XFRM policies.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 9a692a3802)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-05-26 16:41:42 -04:00
..
bridge [chore] clean up reexec.Init() calls 2023-05-11 16:31:41 +02:00
host libnet: convert to new-style driver registration 2023-01-27 11:47:42 -05:00
ipvlan libnet/d/ipvlan: gracefully migrate from older dbs 2023-02-06 12:08:28 -05:00
macvlan libnet: convert to new-style driver registration 2023-01-27 11:47:42 -05:00
null libnet: convert to new-style driver registration 2023-01-27 11:47:42 -05:00
overlay libn/d/overlay: support encryption on any port 2023-05-26 16:41:42 -04:00
remote libnet: convert to new-style driver registration 2023-01-27 11:47:42 -05:00
windows libnetwork: remove unused props from windows overlay driver 2023-04-06 19:33:04 +02:00