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 f205efcf18 net/packet/checksum: fix v6 NAT
We were copying 12 out of the 16 bytes which meant that
the 1:1 NAT required would only work if the last 4 bytes
happened to match between the new and old address, something
that our tests accidentally had. Fix it by copying the full
16 bytes and make the tests also verify the addr and use rand
addresses.

Updates #9511

Signed-off-by: Maisem Ali <maisem@tailscale.com>
4 months ago
..
checksum net/packet/checksum: fix v6 NAT 4 months 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 net/packet: allow more ICMP errors 8 months ago
icmp6.go net/packet: allow more ICMP errors 8 months 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/packet: allow more ICMP errors 8 months ago
packet_test.go all: use Go 1.22 range-over-int 7 months ago
tsmp.go net/flowtrack: optimize Tuple type for use as map key 5 months 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