tailscale/cmd/tailscaled
Claus Lensbøl 1dfdee8521
net/dns: retrample resolve.conf when another process has trampled it (#18069)
When using the resolve.conf file for setting DNS, it is possible that
some other services will trample the file and overwrite our set DNS
server. Experiments has shown this to be a racy error depending on how
quickly processes start.

Make an attempt to trample back the file a limited number of times if
the file is changed.

Updates #16635

Signed-off-by: Claus Lensbøl <claus@tailscale.com>
2025-12-09 14:55:26 -05:00
..
childproc all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailscaledhooks feature/taildrop, ipn/ipnlocal: remove leftover dup calls to osshare 2025-05-08 10:08:27 -07:00
debug_forcereflect.go cmd/tailscaled: add disabled debug file to force reflect for binary size experiments 2025-09-09 07:56:30 -07:00
debug.go feature/featuretags: make usermetrics modular 2025-10-06 12:54:45 -07:00
depaware-min.txt appc,feature: add the start of new conn25 app connector 2025-12-09 10:26:01 -08:00
depaware-minbox.txt appc,feature: add the start of new conn25 app connector 2025-12-09 10:26:01 -08:00
depaware.txt appc,feature: add the start of new conn25 app connector 2025-12-09 10:26:01 -08:00
deps_test.go cmd/tailscale/cli,feature: add support for identity federation (#17529) 2025-10-17 18:05:32 -04:00
flag.go cmd/tailscaled: default --encrypt-state to true if TPM is available (#17376) 2025-10-01 20:18:58 -07:00
generate.go cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2023-03-01 15:45:12 -07:00
install_darwin.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
install_windows.go util/backoff: rename logtail/backoff package to util/backoff 2025-09-28 11:55:07 -07:00
manifest_windows_386.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2022-11-21 18:15:51 -05:00
manifest_windows_amd64.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2022-11-21 18:15:51 -05:00
manifest_windows_arm64.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2022-11-21 18:15:51 -05:00
netstack.go cmd/tailscaled: start implementing ts_omit_netstack 2025-09-26 09:46:55 -07:00
proxy.go feature, net/tshttpproxy: pull out support for using proxies as a feature 2025-09-30 10:25:56 -07:00
required_version.go all: switch to and require Go 1.23 2024-08-22 12:31:08 -07:00
sigpipe.go all: adjust some build tags for plan9 2023-08-24 15:42:35 -07:00
ssh.go ssh/tailssh: add Plan 9 support for Tailscale SSH 2025-04-02 07:36:04 -07:00
tailscaled_bird.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailscaled_drive.go feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 2025-09-11 14:26:08 -07:00
tailscaled_notwindows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailscaled_test.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2025-11-20 15:52:58 -06:00
tailscaled_windows.go feature/logtail: pull logtail + netlog out to modular features 2025-09-29 08:33:04 -07:00
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 2020-03-13 14:38:04 -07:00
tailscaled.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 2025-12-09 14:55:26 -05:00
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 2021-07-08 14:39:45 -04:00
tailscaled.service cmd/tailscaled: move cleanup to an implicit action during startup 2024-04-09 12:44:08 -07:00
webclient.go derp/derpserver: split off derp.Server out of derp into its own package 2025-09-24 09:19:01 -07:00
windows-manifest.xml cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2022-11-21 18:15:51 -05:00
with_cli.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00