kilo/pkg
Julien Viard de Galbert 2ac000c68a
Nat to nat (#146)
* wireguard: export an Endpoint comparison method

* Record discovered endpoints in node

* Synchronize DiscoveredEndpoints in k8s backend

* Add discoveredEndpointsAreEqual

* Handle discovered Endpoints in topology to enable NAT 2 NAT

* Refactor to use Endpoint.Equal

Compare IP first by default and compare DNS name first when we know the Endpoint was resolved.

* Drop the shallow copies of nodes and peers

Now that updateNATEndpoints was updated to discoverNATEndpoints and that
the endpoints are overridden by topology instead of mutating the nodes and
peers object, we can safely drop this copy.
2021-04-21 19:47:29 +02:00
..
calico pkg/mesh,pkg/wireguard: allow DNS name endpoints 2020-02-22 17:17:13 +01:00
encapsulation pkg/encapsulation/ipip.go: fix order of flags 2021-03-13 19:55:00 +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 cmd/kg,pkg: add --resync-period flag 2021-03-01 18:20:06 +01:00
k8s Nat to nat (#146) 2021-04-21 19:47:29 +02:00
mesh Nat to nat (#146) 2021-04-21 19:47:29 +02:00
route pkg/route,pkg/mesh: replace NAT with ip rules 2020-02-20 21:27:50 +01:00
version init 2019-01-18 02:50:10 +01:00
wireguard Nat to nat (#146) 2021-04-21 19:47:29 +02:00