You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/packet
Maisem Ali bb31fd7d1c net/tstun: add inital support for NAT v4
This adds support in tstun to utitilize the SelfNodeV4MasqAddrForThisPeer and
perform the necessary modifications to the packet as it passes through tstun.

Currently this only handles ICMP, UDP and TCP traffic.
Subnet routers and Exit Nodes are also unsupported.

Updates tailscale/corp#8020

Co-authored-by: Melanie Warrick <warrick@tailscale.com>
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
doc.go all: update copyright and license headers 2 years ago
header.go all: update copyright and license headers 2 years ago
icmp.go all: update copyright and license headers 2 years ago
icmp4.go all: update copyright and license headers 2 years ago
icmp6.go all: update copyright and license headers 2 years ago
icmp6_test.go all: update copyright and license headers 2 years ago
ip4.go all: update copyright and license headers 2 years ago
ip6.go all: update copyright and license headers 2 years ago
packet.go net/tstun: add inital support for NAT v4 2 years ago
packet_test.go all: update copyright and license headers 2 years ago
tsmp.go all: update copyright and license headers 2 years ago
tsmp_test.go all: update copyright and license headers 2 years ago
udp4.go all: update copyright and license headers 2 years ago
udp6.go all: update copyright and license headers 2 years ago