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/net/dns
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>
9 months ago
..
publicdns net/dns/publicdns: add Mullvad family DNS to the list of known DoH servers 9 months ago
recursive all: cleanup unused code, part 2 (#10670) 11 months ago
resolvconffile all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2 years ago
resolver net/dns: timeout DOH requests after 10s without response headers 9 months ago
config.go all: update copyright and license headers 2 years ago
debian_resolvconf.go all: update copyright and license headers 2 years ago
direct.go net/dns: fix infinite loop when run on Amazon Linux 2023 9 months ago
direct_linux.go all: cleanup unused code, part 2 (#10670) 11 months ago
direct_notlinux.go all: update copyright and license headers 2 years ago
direct_test.go all: update copyright and license headers 2 years ago
flush_default.go all: update copyright and license headers 2 years ago
flush_windows.go all: update copyright and license headers 2 years ago
ini.go all: update copyright and license headers 2 years ago
ini_test.go all: update copyright and license headers 2 years ago
manager.go all: cleanup unused code, part 2 (#10670) 11 months ago
manager_darwin.go net/dns: fix darwin dns resolver files 12 months ago
manager_default.go all: update copyright and license headers 2 years ago
manager_freebsd.go net/dns: log more info when openresolv commands fail 9 months ago
manager_linux.go net/dns: log more info when openresolv commands fail 9 months ago
manager_linux_test.go net/dns: use direct when NetworkManager has no systemd-resolved 1 year ago
manager_openbsd.go all: update copyright and license headers 2 years ago
manager_tcp_test.go net/dns: retry forwarder requests over TCP 1 year ago
manager_test.go all: cleanup unused code, part 2 (#10670) 11 months ago
manager_windows.go cmd/tailscaled, ipn/ipnlocal, wgengine: shutdown tailscaled if wgdevice is closed 9 months ago
manager_windows_test.go various: add golangci-lint, fix issues (#7905) 2 years ago
nm.go all: cleanup unused code, part 2 (#10670) 11 months ago
noop.go all: update copyright and license headers 2 years ago
nrpt_windows.go all: use set.Set consistently instead of map[T]struct{} 1 year ago
openresolv.go net/dns: log more info when openresolv commands fail 9 months ago
osconfig.go wgengine/magicsock, controlclient, net/dns: reduce some logspam 1 year ago
osconfig_test.go all: update copyright and license headers 2 years ago
resolvconf-workaround.sh all: update copyright and license headers 2 years ago
resolvconf.go net/dns: properly detect newer debian resolvconf 1 year ago
resolvconfpath_default.go net/dns: overwrite /tmp/resolv.conf on gokrazy 1 year ago
resolvconfpath_gokrazy.go net/dns: overwrite /tmp/resolv.conf on gokrazy 1 year ago
resolvd.go all: update copyright and license headers 2 years ago
resolved.go all: cleanup unused code, part 2 (#10670) 11 months ago
utf.go all: update copyright and license headers 2 years ago
utf_test.go all: update copyright and license headers 2 years ago
wsl_windows.go net/dns: deal with Windows wsl.exe hangs 2 years ago