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/wgengine/filter
David Anderson 55b1221db2 net/packet: support full IPv6 decoding.
The packet filter still rejects all IPv6, but decodes enough from v6
packets to do something smarter in a followup.

name              time/op
Decode/tcp4-8     28.8ns ± 2%
Decode/tcp6-8     20.6ns ± 1%
Decode/udp4-8     28.2ns ± 1%
Decode/udp6-8     20.0ns ± 6%
Decode/icmp4-8    21.7ns ± 2%
Decode/icmp6-8    14.1ns ± 2%
Decode/unknown-8  9.43ns ± 2%

Signed-off-by: David Anderson <danderson@tailscale.com>
4 years ago
..
filter.go net/packet: support full IPv6 decoding. 4 years ago
filter_test.go net/packet: support full IPv6 decoding. 4 years ago
match.go wgengine/filter: remove helper vars, mark NewAllowAll test-only. 4 years ago
match4.go net/packet: add IPv6 source and destination IPs to Parsed. 4 years ago
tailcfg.go wgengine/filter: remove the Matches type. 4 years ago