Files
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
..
2021-09-30 17:47:47 +02:00
2021-09-30 17:47:47 +02:00
2022-01-30 17:02:46 +01:00
2021-01-24 22:37:24 +01:00