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/magicsock
Andrew Dunham c72caa6672 wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages
This is entirely optional (i.e. failing in this code is non-fatal) and
only enabled on Linux for now. Additionally, this new behaviour can be
disabled by setting the TS_DEBUG_DISABLE_AF_PACKET environment variable.

Updates #3824
Replaces #5474

Co-authored-by: Andrew Dunham <andrew@du.nham.ca>
Signed-off-by: David Anderson <danderson@tailscale.com>
3 years ago
..
debughttp.go all: convert more code to use net/netip directly 3 years ago
debugknobs.go wasm: exclude code that's not used on iOS for Wasm too 4 years ago
debugknobs_stubs.go wasm: exclude code that's not used on iOS for Wasm too 4 years ago
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 5 years ago
magicsock.go wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages 3 years ago
magicsock_default.go wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages 3 years ago
magicsock_linux.go wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages 3 years ago
magicsock_test.go wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages 3 years ago