kilo/pkg
Lucas Servén Marín e598102f04
pkg/mesh: fix routes for NATed nodes
Currently, when a node is behind NAT, it is possible that routes to the
node's private IP address, i.e. routes necessary to communicate with the
Kubelet and any Pods on the host network, will not be created because
the private IP is seen as the same as the location's endpoint and is
thus skipped because trying to encapsulate traffic to the endpoint would
break communiation with the endpoint itself.

This logic is not correct for nodes that are behind NAT, because the
endpoin that the node reports may not be the same as the discovered
endpoint for the location. Instead, we should compare the private IP
address to the discovered endpoint.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
2022-03-30 13:58:29 +02:00
..
calico pkg/mesh,pkg/wireguard: allow DNS name endpoints 2020-02-22 17:17:13 +01:00
encapsulation migrate to golang.zx2c4.com/wireguard/wgctrl (#239) 2022-01-30 17:38:45 +01:00
iproute pkg/{encapsulation,mesh}: abstract encapsulation 2019-05-13 18:30:03 +02:00
ipset init 2019-01-18 02:50:10 +01:00
iptables migrate to golang.zx2c4.com/wireguard/wgctrl (#239) 2022-01-30 17:38:45 +01:00
k8s migrate to golang.zx2c4.com/wireguard/wgctrl (#239) 2022-01-30 17:38:45 +01:00
mesh pkg/mesh: fix routes for NATed nodes 2022-03-30 13:58:29 +02:00
route pkg/route: correct route error check 2021-04-30 18:17:51 +02:00
version init 2019-01-18 02:50:10 +01:00
wireguard migrate to golang.zx2c4.com/wireguard/wgctrl (#239) 2022-01-30 17:38:45 +01:00