kilo/pkg/wireguard
Lucas Servén Marín 0d199db009
pkg/wireguard: ignore changes to peers behind NAT
This commit enables Kilo to ignore changes to the endpoints of peers
that sit behind a NAT gateway. We use the heuristic of a non-zero
persistent keepalive to decide whether the endpoint field should be
ignored. This will allow NATed peers to roam and for every node in the
cluster to have a different value for a peer's endpoint, as is natural
when a peer's connections are NATed.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
2020-02-28 14:56:02 +01:00
..
conf.go pkg/wireguard: ignore changes to peers behind NAT 2020-02-28 14:56:02 +01:00
conf_test.go pkg/mesh,pkg/wireguard: allow DNS name endpoints 2020-02-22 17:17:13 +01:00
wireguard.go pkg/wireguard: allow specifying iface named 2019-09-24 16:05:10 +02:00