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>
2022-08-31 14:52:31 -07:00
..
debughttp.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
debugknobs_stubs.go wasm: exclude code that's not used on iOS for Wasm too 2022-06-06 13:52:52 -07:00
debugknobs.go wasm: exclude code that's not used on iOS for Wasm too 2022-06-06 13:52:52 -07:00
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
magicsock_default.go wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages 2022-08-31 14:52:31 -07:00
magicsock_linux.go wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages 2022-08-31 14:52:31 -07:00
magicsock_test.go wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages 2022-08-31 14:52:31 -07:00
magicsock.go wgengine/magicsock: use AF_PACKET socket + BPF to read disco messages 2022-08-31 14:52:31 -07:00