all: update copyright and license headers

This updates all source files to use a new standard header for copyright
and license declaration.  Notably, copyright no longer includes a date,
and we now use the standard SPDX-License-Identifier header.

This commit was done almost entirely mechanically with perl, and then
some minimal manual fixes.

Updates #6865

Signed-off-by: Will Norris <will@tailscale.com>
main
Will Norris 3 years ago committed by Will Norris
parent 11f7f7d4a0
commit 71029cea2d
  1. 5
      Dockerfile
  2. 5
      Dockerfile.base
  3. 5
      atomicfile/atomicfile.go
  4. 5
      chirp/chirp.go
  5. 5
      chirp/chirp_test.go
  6. 5
      client/tailscale/acl.go
  7. 5
      client/tailscale/apitype/apitype.go
  8. 5
      client/tailscale/apitype/controltype.go
  9. 5
      client/tailscale/devices.go
  10. 5
      client/tailscale/dns.go
  11. 5
      client/tailscale/example/servetls/servetls.go
  12. 5
      client/tailscale/keys.go
  13. 5
      client/tailscale/localclient.go
  14. 5
      client/tailscale/localclient_test.go
  15. 5
      client/tailscale/required_version.go
  16. 5
      client/tailscale/routes.go
  17. 5
      client/tailscale/tailnet.go
  18. 5
      client/tailscale/tailscale.go
  19. 5
      cmd/addlicense/main.go
  20. 5
      cmd/cloner/cloner.go
  21. 5
      cmd/containerboot/kube.go
  22. 5
      cmd/containerboot/main.go
  23. 5
      cmd/containerboot/main_test.go
  24. 5
      cmd/derper/bootstrap_dns.go
  25. 5
      cmd/derper/bootstrap_dns_test.go
  26. 5
      cmd/derper/cert.go
  27. 5
      cmd/derper/derper.go
  28. 5
      cmd/derper/derper_test.go
  29. 5
      cmd/derper/mesh.go
  30. 5
      cmd/derper/websocket.go
  31. 5
      cmd/derpprobe/derpprobe.go
  32. 5
      cmd/gitops-pusher/cache.go
  33. 5
      cmd/gitops-pusher/gitops-pusher.go
  34. 5
      cmd/hello/hello.go
  35. 5
      cmd/k8s-operator/manifests/operator.yaml
  36. 5
      cmd/k8s-operator/operator.go
  37. 5
      cmd/k8s-operator/operator_test.go
  38. 5
      cmd/mkmanifest/main.go
  39. 5
      cmd/mkpkg/main.go
  40. 5
      cmd/nardump/nardump.go
  41. 5
      cmd/netlogfmt/main.go
  42. 5
      cmd/nginx-auth/nginx-auth.go
  43. 5
      cmd/pgproxy/pgproxy.go
  44. 5
      cmd/printdep/printdep.go
  45. 5
      cmd/proxy-to-grafana/proxy-to-grafana.go
  46. 5
      cmd/speedtest/speedtest.go
  47. 5
      cmd/ssh-auth-none-demo/ssh-auth-none-demo.go
  48. 5
      cmd/stunc/stunc.go
  49. 5
      cmd/sync-containers/main.go
  50. 5
      cmd/tailscale/cli/bugreport.go
  51. 5
      cmd/tailscale/cli/cert.go
  52. 5
      cmd/tailscale/cli/cli.go
  53. 5
      cmd/tailscale/cli/cli_test.go
  54. 5
      cmd/tailscale/cli/configure-host.go
  55. 5
      cmd/tailscale/cli/debug.go
  56. 5
      cmd/tailscale/cli/diag.go
  57. 5
      cmd/tailscale/cli/diag_other.go
  58. 5
      cmd/tailscale/cli/down.go
  59. 5
      cmd/tailscale/cli/file.go
  60. 5
      cmd/tailscale/cli/id-token.go
  61. 5
      cmd/tailscale/cli/ip.go
  62. 5
      cmd/tailscale/cli/licenses.go
  63. 5
      cmd/tailscale/cli/login.go
  64. 5
      cmd/tailscale/cli/logout.go
  65. 5
      cmd/tailscale/cli/nc.go
  66. 5
      cmd/tailscale/cli/netcheck.go
  67. 5
      cmd/tailscale/cli/network-lock.go
  68. 5
      cmd/tailscale/cli/ping.go
  69. 5
      cmd/tailscale/cli/risks.go
  70. 5
      cmd/tailscale/cli/serve.go
  71. 5
      cmd/tailscale/cli/serve_test.go
  72. 5
      cmd/tailscale/cli/set.go
  73. 5
      cmd/tailscale/cli/set_test.go
  74. 5
      cmd/tailscale/cli/ssh.go
  75. 5
      cmd/tailscale/cli/ssh_exec.go
  76. 5
      cmd/tailscale/cli/ssh_exec_js.go
  77. 5
      cmd/tailscale/cli/ssh_exec_windows.go
  78. 5
      cmd/tailscale/cli/ssh_unix.go
  79. 5
      cmd/tailscale/cli/status.go
  80. 5
      cmd/tailscale/cli/switch.go
  81. 5
      cmd/tailscale/cli/up.go
  82. 5
      cmd/tailscale/cli/update.go
  83. 5
      cmd/tailscale/cli/update_test.go
  84. 5
      cmd/tailscale/cli/update_windows.go
  85. 5
      cmd/tailscale/cli/version.go
  86. 5
      cmd/tailscale/cli/web.go
  87. 5
      cmd/tailscale/cli/web_test.go
  88. 5
      cmd/tailscale/generate.go
  89. 5
      cmd/tailscale/tailscale.go
  90. 5
      cmd/tailscaled/childproc/childproc.go
  91. 5
      cmd/tailscaled/debug.go
  92. 5
      cmd/tailscaled/generate.go
  93. 5
      cmd/tailscaled/install_darwin.go
  94. 5
      cmd/tailscaled/install_windows.go
  95. 5
      cmd/tailscaled/proxy.go
  96. 5
      cmd/tailscaled/required_version.go
  97. 5
      cmd/tailscaled/ssh.go
  98. 5
      cmd/tailscaled/taildrop.go
  99. 5
      cmd/tailscaled/tailscaled.go
  100. 5
      cmd/tailscaled/tailscaled_bird.go
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,6 +1,5 @@
# Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. # Copyright (c) Tailscale Inc & AUTHORS
# Use of this source code is governed by a BSD-style # SPDX-License-Identifier: BSD-3-Clause
# license that can be found in the LICENSE file.
############################################################################ ############################################################################
# #

@ -1,6 +1,5 @@
# Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. # Copyright (c) Tailscale Inc & AUTHORS
# Use of this source code is governed by a BSD-style # SPDX-License-Identifier: BSD-3-Clause
# license that can be found in the LICENSE file.
FROM alpine:3.16 FROM alpine:3.16
RUN apk add --no-cache ca-certificates iptables iproute2 ip6tables RUN apk add --no-cache ca-certificates iptables iproute2 ip6tables

@ -1,6 +1,5 @@
// Copyright (c) 2019 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Package atomicfile contains code related to writing to filesystems // Package atomicfile contains code related to writing to filesystems
// atomically. // atomically.

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Package chirp implements a client to communicate with the BIRD Internet // Package chirp implements a client to communicate with the BIRD Internet
// Routing Daemon. // Routing Daemon.

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package chirp package chirp
import ( import (

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Package apitype contains types for the Tailscale LocalAPI and control plane API. // Package apitype contains types for the Tailscale LocalAPI and control plane API.
package apitype package apitype

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package apitype package apitype

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The servetls program shows how to run an HTTPS server // The servetls program shows how to run an HTTPS server
// using a Tailscale cert via LetsEncrypt. // using a Tailscale cert via LetsEncrypt.

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package tailscale package tailscale

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build !go1.19 //go:build !go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Program addlicense adds a license header to a file. // Program addlicense adds a license header to a file.
// It is intended for use with 'go generate', // It is intended for use with 'go generate',

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Cloner is a tool to automate the creation of a Clone method. // Cloner is a tool to automate the creation of a Clone method.
// //

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build linux //go:build linux

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build linux //go:build linux

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build linux //go:build linux

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The derper binary is a simple DERP server. // The derper binary is a simple DERP server.
package main // import "tailscale.com/cmd/derper" package main // import "tailscale.com/cmd/derper"

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The derpprobe binary probes derpers. // The derpprobe binary probes derpers.
package main // import "tailscale.com/cmd/derper/derpprobe" package main // import "tailscale.com/cmd/derper/derpprobe"

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Command gitops-pusher allows users to use a GitOps flow for managing Tailscale ACLs. // Command gitops-pusher allows users to use a GitOps flow for managing Tailscale ACLs.
// //

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The hello binary runs hello.ts.net. // The hello binary runs hello.ts.net.
package main // import "tailscale.com/cmd/hello" package main // import "tailscale.com/cmd/hello"

@ -1,6 +1,5 @@
# Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. # Copyright (c) Tailscale Inc & AUTHORS
# Use of this source code is governed by a BSD-style # SPDX-License-Identifier: BSD-3-Clause
# license that can be found in the LICENSE file.
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// tailscale-operator provides a way to expose services running in a Kubernetes // tailscale-operator provides a way to expose services running in a Kubernetes
// cluster to your Tailnet. // cluster to your Tailnet.

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The mkmanifest command is a simple helper utility to create a '.syso' file // The mkmanifest command is a simple helper utility to create a '.syso' file
// that contains a Windows manifest file. // that contains a Windows manifest file.

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// mkpkg builds the Tailscale rpm and deb packages. // mkpkg builds the Tailscale rpm and deb packages.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// nardump is like nix-store --dump, but in Go, writing a NAR // nardump is like nix-store --dump, but in Go, writing a NAR
// file (tar-like, but focused on being reproducible) to stdout // file (tar-like, but focused on being reproducible) to stdout

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// netlogfmt parses a stream of JSON log messages from stdin and // netlogfmt parses a stream of JSON log messages from stdin and
// formats the network traffic logs produced by "tailscale.com/wgengine/netlog" // formats the network traffic logs produced by "tailscale.com/wgengine/netlog"

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build linux //go:build linux

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The pgproxy server is a proxy for the Postgres wire protocol. // The pgproxy server is a proxy for the Postgres wire protocol.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The printdep command is a build system tool for printing out information // The printdep command is a build system tool for printing out information
// about dependencies. // about dependencies.

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// proxy-to-grafana is a reverse proxy which identifies users based on their // proxy-to-grafana is a reverse proxy which identifies users based on their
// originating Tailscale identity and maps them to corresponding Grafana // originating Tailscale identity and maps them to corresponding Grafana

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Program speedtest provides the speedtest command. The reason to keep it separate from // Program speedtest provides the speedtest command. The reason to keep it separate from
// the normal tailscale cli is because it is not yet ready to go in the tailscale binary. // the normal tailscale cli is because it is not yet ready to go in the tailscale binary.

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// ssh-auth-none-demo is a demo SSH server that's meant to run on the // ssh-auth-none-demo is a demo SSH server that's meant to run on the
// public internet (at 188.166.70.128 port 2222) and // public internet (at 188.166.70.128 port 2222) and

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Command stunc makes a STUN request to a STUN server and prints the result. // Command stunc makes a STUN request to a STUN server and prints the result.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The sync-containers command synchronizes container image tags from one // The sync-containers command synchronizes container image tags from one
// registry to another. // registry to another.

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Package cli contains the cmd/tailscale CLI code in a package that can be included // Package cli contains the cmd/tailscale CLI code in a package that can be included
// in other wrapper binaries such as the Mac and Windows clients. // in other wrapper binaries such as the Mac and Windows clients.

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build linux || windows || darwin //go:build linux || windows || darwin

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build !linux && !windows && !darwin //go:build !linux && !windows && !darwin

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build !js && !windows //go:build !js && !windows

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build !js && !windows //go:build !js && !windows

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2023 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2023 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2023 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Windows-specific stuff that can't go in update.go because it needs // Windows-specific stuff that can't go in update.go because it needs
// x/sys/windows. // x/sys/windows.

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package cli package cli

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// The tailscale command is the Tailscale command-line client. It interacts // The tailscale command is the Tailscale command-line client. It interacts
// with the tailscaled node agent. // with the tailscaled node agent.

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
// Package childproc allows other packages to register "tailscaled be-child" // Package childproc allows other packages to register "tailscaled be-child"
// child process hook code. This avoids duplicating build tags in the // child process hook code. This avoids duplicating build tags in the

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
package main package main

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build !go1.19 //go:build !go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build linux || darwin || freebsd || openbsd //go:build linux || darwin || freebsd || openbsd

@ -1,6 +1,5 @@
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 //go:build go1.19

@ -1,6 +1,5 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. // Copyright (c) Tailscale Inc & AUTHORS
// Use of this source code is governed by a BSD-style // SPDX-License-Identifier: BSD-3-Clause
// license that can be found in the LICENSE file.
//go:build go1.19 && (linux || darwin || freebsd || openbsd) && !ts_omit_bird //go:build go1.19 && (linux || darwin || freebsd || openbsd) && !ts_omit_bird

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save