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
Brad Fitzpatrick 14dc790137 wgengine/monitor: make the darwin link monitor work in the sandbox too
Previously tailscaled on macOS was running "/sbin/route monitor" as a
child process, but child processes aren't allowed in the Network
Extension / App Store sandbox. Instead, just do what "/sbin/route monitor"
itself does: unix.Socket(unix.AF_ROUTE, unix.SOCK_RAW, 0) and read that.

We also parse it now, but don't do anything with the parsed results yet.

We will over time, as we have with Linux netlink messages over time.

Currently any message is considered a signal to poll and see what changed.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
filter wgengine/filter: use IPSet for localNets instead of prefixes. 3 years ago
magicsock wgengine/magicsock: remove TODO about endpoints-over-DERP 3 years ago
monitor wgengine/monitor: make the darwin link monitor work in the sandbox too 3 years ago
netstack wgengine/netstack: start SOCKS5 server in netstack mode 3 years ago
router wgengine/router: correctly read IPv6 routes when diffing. 3 years ago
tsdns wgengine/tsdns: skip test that requires local IPv6 when IPv6 unavailable 3 years ago
tstun wgengine/filter: use IPSet for localNets instead of prefixes. 3 years ago
wgcfg ipn/ipnlocal: only filter out default routes when computing the local wg config. 3 years ago
wglog wgengine/wglog: drop 1/s "interface is up" messages. 3 years ago
winnet wgengine/winnet: don't build on non-windows 3 years ago
ifstatus_noop.go wgengine: make NewUserspaceEngine wait for TUN interface to be up on Windows 3 years ago
ifstatus_windows.go wgengine: make NewUserspaceEngine wait for TUN interface to be up on Windows 3 years ago
pendopen.go ipn: split LocalBackend off into new ipn/ipnlocal package 3 years ago
userspace.go wgengine: let LinkMonitor be passed in to NewUserspaceEngine 3 years ago
userspace_test.go all: move wgcfg from wireguard-go 3 years ago
watchdog.go types/netmap: split controlclient.NetworkMap off into its own leaf package 3 years ago
watchdog_test.go cmd/tailscaled, wgengine/netstack: add start of gvisor userspace netstack work 4 years ago
wgengine.go types/netmap: split controlclient.NetworkMap off into its own leaf package 3 years ago