Files
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
..
2019-01-18 02:50:10 +01:00
2021-04-21 19:47:29 +02:00
2021-04-21 19:47:29 +02:00
2019-01-18 02:50:10 +01:00
2021-04-21 19:47:29 +02:00