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/cmd/tailscaled
Andrea Gottardo e5f67f90a2
xcode: allow ICMP ping relay on macOS + iOS platforms (#12048)
Fixes tailscale/tailscale#10393
Fixes tailscale/corp#15412
Fixes tailscale/corp#19808

On Apple platforms, exit nodes and subnet routers have been unable to relay pings from Tailscale devices to non-Tailscale devices due to sandbox restrictions imposed on our network extensions by Apple. The sandbox prevented the code in netstack.go from spawning the `ping` process which we were using.

Replace that exec call with logic to send an ICMP echo request directly, which appears to work in userspace, and not trigger a sandbox violation in the syslog.

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
1 month ago
..
childproc all: update copyright and license headers 1 year ago
debug.go net/netmon, add: add netmon.State type alias of interfaces.State 2 months ago
depaware.txt xcode: allow ICMP ping relay on macOS + iOS platforms (#12048) 1 month ago
generate.go cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 1 year ago
install_darwin.go all: update copyright and license headers 1 year ago
install_windows.go all: update copyright and license headers 1 year ago
manifest_windows_386.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2 years ago
manifest_windows_amd64.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2 years ago
manifest_windows_arm64.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2 years ago
proxy.go all: update copyright and license headers 1 year ago
required_version.go all: require Go 1.21 10 months ago
sigpipe.go all: adjust some build tags for plan9 10 months ago
ssh.go all: update copyright and license headers 1 year ago
taildrop.go taildrop: remove breaking abstraction layers for apple (#10728) 5 months ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 4 years ago
tailscaled.go ipn/ipnserver: close a small race in ipnserver, ~simplify code 1 month ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 3 years ago
tailscaled.service cmd/tailscaled: move cleanup to an implicit action during startup 2 months ago
tailscaled_bird.go all: update copyright and license headers 1 year ago
tailscaled_notwindows.go all: update copyright and license headers 1 year ago
tailscaled_test.go util/linuxfw: remove yet-unused code to fix linux/arm64 crash 11 months ago
tailscaled_windows.go ipn/local: log OS-specific diagnostic information as JSON (#11700) 2 months ago
windows-manifest.xml cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2 years ago
with_cli.go all: update copyright and license headers 1 year ago