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
James Tucker 9206e766ed net/packet: cleanup IPv4 fragment guards
The first packet fragment guard had an additional guard clause that was
incorrectly comparing a length in bytes to a length in octets, and was
also comparing what should have been an entire IPv4 through transport
header length to a subprotocol payload length. The subprotocol header
size guards were otherwise protecting against short transport headers,
as is the conservative non-first fragment minimum offset size. Add an
explicit disallowing of fragmentation for TSMP for the avoidance of
doubt.

Updates #cleanup
Updates #5727

Signed-off-by: James Tucker <james@tailscale.com>
6 months ago
..
checksum net/packet/checksum: fix v6 NAT 1 year ago
capture.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago
doc.go all: update copyright and license headers 3 years ago
geneve.go net/packet: implement Geneve header serialization (#15301) 9 months ago
geneve_test.go net/packet: implement Geneve header serialization (#15301) 9 months ago
header.go net/packet: cleanup IPv4 fragment guards 6 months ago
icmp.go all: update copyright and license headers 3 years ago
icmp4.go net/packet: allow more ICMP errors 2 years ago
icmp6.go net/packet: allow more ICMP errors 2 years ago
icmp6_test.go all: update copyright and license headers 3 years ago
ip4.go all: update copyright and license headers 3 years ago
ip6.go all: update copyright and license headers 3 years ago
packet.go net/packet: cleanup IPv4 fragment guards 6 months ago
packet_test.go net/packet: cleanup IPv4 fragment guards 6 months ago
tsmp.go net/packet: cleanup IPv4 fragment guards 6 months ago
tsmp_test.go all: update copyright and license headers 3 years ago
udp4.go all: update copyright and license headers 3 years ago
udp6.go all: update copyright and license headers 3 years ago