moby/libnetwork/drivers
Cory Snider f6ff82666d 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:43:40 -04:00
..
bridge daemon: set docker0 subpool as the IPAM pool 2023-04-26 11:38:55 +02:00
host libnetwork: remove unused "testutils" imports 2021-08-18 14:20:37 +02:00
ipvlan libnet/d/ipvlan: gracefully migrate from older dbs 2023-02-06 18:16:21 -05:00
macvlan libnetwork: fix empty-lines (revive) 2023-01-18 21:24:32 +01:00
null libnetwork: remove unused "testutils" imports 2021-08-18 14:20:37 +02:00
overlay libn/d/overlay: support encryption on any port 2023-05-26 16:43:40 -04:00
remote refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
windows libnet/d/windows: log EnableInternalDNS val after setting it 2023-03-30 14:47:55 +02:00