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
Nick Khyl 7ef1fb113d cmd/tailscaled, ipn/ipnlocal, wgengine: shutdown tailscaled if wgdevice is closed
Tailscaled becomes inoperative if the Tailscale Tunnel wintun adapter is abruptly removed.
wireguard-go closes the device in case of a read error, but tailscaled keeps running.
This adds detection of a closed WireGuard device, triggering a graceful shutdown of tailscaled.
It is then restarted by the tailscaled watchdog service process.

Fixes #11222

Signed-off-by: Nick Khyl <nickk@tailscale.com>
3 months ago
..
childproc all: update copyright and license headers 1 year ago
debug.go net/netmon: make ChangeFunc's signature take new ChangeDelta, not bool 10 months ago
depaware.txt tailfs: replace webdavfs with reverse proxies 3 months 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 cmd/tailscaled, ipn/ipnlocal, wgengine: shutdown tailscaled if wgdevice is closed 3 months ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 3 years ago
tailscaled.service cmd/tailscaled: use explicit equal sign in --port=$PORT in tailscaled.service 2 years 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 tailfs: fix startup issues on windows 4 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