kilo/pkg/encapsulation
leonnicolas 08eea4f3c1
pkg/*: use wireguard.Enpoint
This commit introduces the wireguard.Enpoint struct.
It encapsulates a DN name with port and a net.UPDAddr.
The fields are private and only accessible over exported Methods
to avoid accidental modification.

Also iptables.GetProtocol is improved to avoid ipv4 rules being applied
by `ip6tables`.

Signed-off-by: leonnicolas <leonloechner@gmx.de>
2022-01-30 17:02:46 +01:00
..
encapsulation.go manifests,pkg/encapsulation: Flannel compatibility 2019-05-14 01:01:58 +02:00
flannel.go manifests,pkg/encapsulation: Flannel compatibility 2019-05-14 01:01:58 +02:00
ipip_cgo.go bumg golang 1.15 -> 1.17 2021-09-30 17:47:47 +02:00
ipip_nocgo.go bumg golang 1.15 -> 1.17 2021-09-30 17:47:47 +02:00
ipip.go pkg/*: use wireguard.Enpoint 2022-01-30 17:02:46 +01:00
noop.go Nodes without private IPs 2021-01-24 22:37:24 +01:00