Aaron Klotz
446d03e108
scripts: update check_license_headers.sh to skip zsyscall_windows.go
...
Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2022-07-27 16:19:39 -06:00
Denton Gentry
e6572a0f08
install.sh: Add archarm and Raspbian Stretch
...
Fixes https://github.com/tailscale/tailscale/issues/4959
Fixes https://github.com/tailscale/tailscale/issues/4897
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-07-06 05:41:06 -07:00
Sofiane Hamlaoui
1007983159
Adding pkg for Freebsd installation
...
Signed-off-by: Sofiane Hamlaoui <s0fianehaml40u1@gmail.com>
2022-06-20 11:31:10 -07:00
Sofiane Hamlaoui
51cc0e503b
adding --noconfirm to pacman installation
...
Signed-off-by: Sofiane Hamlaoui <s0fianehaml40u1@gmail.com>
2022-06-20 11:31:10 -07:00
Denton Gentry
0f95eaa8bb
scripts/installer: fix elementaryOS
...
c2b907c965
moved UBUNTU_VERSION out
of the ubuntu case and into linuxmint, but linuxmint wasn't the
only Ubuntu-based system which needed it. Restore UBUNTU_VERSION
handling in the ubuntu case.
Break elementaryOS out into its own handling so we can get the
version number handling correct for keyring support.
Tested on an elementaryOS 6.1 VM.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-05-27 06:21:15 -07:00
Denton Gentry
36af49ae7f
install.sh: add RHEL9.
...
Fixes https://github.com/tailscale/tailscale/issues/4718
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-05-20 09:49:39 -07:00
Denton Gentry
afb3f62b01
scripts/installer.sh: add Xen Enterprise
...
Tested on a VM running Xen Enterprise 8.2.1.
https://xcp-ng.org/
Fixes https://github.com/tailscale/tailscale/issues/4655
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-05-16 08:37:39 -07:00
Denton Gentry
13f75b9667
scripts/install: add Alma Linux.
...
Tested using an Alma Linux 8.5 VM.
Updates https://github.com/tailscale/tailscale/issues/2915
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20 17:43:49 -07:00
Denton Gentry
c2b907c965
scripts/installer: support LinuxMint Debian.
...
The primary distribution for LinuxMint is based on Ubuntu,
but there is an alternate Debian-based distribution called
LMDE. Both variations identify themselves as "linuxmint"
We added UBUNTU_VERSION to the Ubuntu handling for linuxmint,
the only distribution so far found to do this. Instead, split
linuxmint out into its own case and use either UBUNTU_VERSION
or DEBIAN_VERSION, whichever is present.
Tested on an LMDE 5 (elsie) VM.
Updates https://github.com/tailscale/tailscale/issues/2915
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20 17:43:49 -07:00
Denton Gentry
61868f281e
scripts/installer: call emerge with --ask=n
...
Fixes https://github.com/tailscale/tailscale/issues/4354
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20 17:43:49 -07:00
Denton Gentry
db7da6622a
scripts/installer: add ParrotOS support
...
Support ParrotSec https://parrotsec.org/
Tested using a Parrot 5.0 VM.
Updates https://github.com/tailscale/tailscale/issues/2915
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20 17:43:49 -07:00
Simon Deziel
eaf5591953
scripts: install gnupg only when apt-key is needed
...
apt-key depends on gnupg but apt-key itself if not used
on modern systems (APT_KEY_TYPE=keyring).
Signed-off-by: Simon Deziel <simon@sdeziel.info>
2022-03-17 15:11:25 -07:00
Xe Iaso
a45f8accdb
scripts/installer: add Ubuntu 22.04 LTS Jammy Jellyfish ( #3955 )
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-02-17 09:52:35 -05:00
Xe Iaso
b4947be0c8
scripts/installer: automagically run apt update ( #3939 )
...
When running this script against a totally fresh out of the box Debian
11 image, sometimes it will fail to run because it doesn't have a
package list cached. This patch adds an `apt-get update` to ensure that
the local package cache is up to date.
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-02-14 15:55:46 -05:00
Jay Stapleton
39d173e5fc
add -y flag for xbps to allow installation on void
...
Signed-off-by: Jay Stapleton <jay@tailscale.com>
2022-02-10 16:05:17 -05:00
Jay Stapleton
c8551c8a67
add -y flag for xbps to allow installation on void
2022-02-10 16:05:17 -05:00
Denton Gentry
16652ae52c
installer.sh: accommodate linuxmint versioning.
...
Recent linuxmint releases now use VERSION_CODENAME for
a linuxmint release (like "uma") and set UBUNTU_CODENAME to
the Ubuntu release they branched from.
Tested in a linuxmint 20.2 VM.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-02-07 07:06:00 -08:00
Xe Iaso
ae525a7394
scripts/installer: add Centos Stream 9 support ( #3818 )
...
Blocked on package server support being deployed
Signed-off-by: Xe <xe@tailscale.com>
2022-01-26 10:49:32 -05:00
Brad Fitzpatrick
41fd4eab5c
envknob: add new package for all the strconv.ParseBool(os.Getenv(..))
...
A new package can also later record/report which knobs are checked and
set. It also makes the code cleaner & easier to grep for env knobs.
Change-Id: Id8a123ab7539f1fadbd27e0cbeac79c2e4f09751
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-01-24 11:51:23 -08:00
David Anderson
6cd180746f
control/controlbase: rename from control/noise.
...
Updates #3488
Signed-off-by: David Anderson <danderson@tailscale.com>
2022-01-17 23:52:27 +00:00
Jay Stapleton
02461ea459
Update installer.sh
2022-01-17 11:37:05 -05:00
Maisem Ali
26d4ccb816
scripts/installer.sh: add support to use the unstable track.
...
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-01-12 13:41:11 -08:00
Brad Fitzpatrick
66f6efa8cb
scripts: install gnupg deb, pass --yes to apt-get
...
Fixes #3685
Fixes #3528
Fixes #3649
Change-Id: Ie029fca6cf3d07a77d228e9591ec1c1c828e68af
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-01-11 09:44:59 -08:00
Jay Stapleton
894693f352
scripts/installer.sh fix APT_SYSTEMCTL_START error
...
fix error: 'sh: 411: APT_SYSTEMCTL_START: parameter not set' on certain debian distributions
Signed-off-by: Jay Stapleton <jay@tailscale.com>
2021-12-16 13:55:11 -05:00
Denton Gentry
e133bb570b
install.sh: add linuxmint, kali, several more.
...
After apt install, Kali Linux had not enabled nor started
the tailscaled systemd service. Add a quirks mode to enable
and start it after apt install for debian platforms.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-12-13 11:38:29 -08:00
David Crawshaw
8dbda1a722
scripts/installer.sh: press Y on RHEL
...
For #3540
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2021-12-13 09:48:41 -08:00
Denton Gentry
f56a7559ce
scripts/installer.sh: add more Linux variants.
...
Updates https://github.com/tailscale/tailscale/issues/2915
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-11-23 15:12:29 -08:00
David Anderson
da7544bcc5
control/noise: implement the base transport for the 2021 control protocol.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-11-10 12:13:54 -08:00
Xe
b02eb1d5c5
scripts/installer: handle fedora ( #3235 )
...
We missed a switch case.
Signed-off-by: Christine Dodrill <xe@tailscale.com>
2021-11-01 12:29:48 -04:00
David Anderson
c60806b557
scripts/installer.sh: use .asc suffix for armored debian gpg key URL.
...
Fixes #2512
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-20 18:58:50 -07:00
David Anderson
8e3b8dbb50
scripts/installer.sh: Correct support for Oracle Linux.
...
Co-Authored-By: Jonathan Hult <jhult@mythics.com>
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-20 12:47:38 -07:00
David Anderson
1b4e007425
scripts/installer.sh: use expr for regex matches.
...
=~ doesn't work in posix shell, only in bash, and we don't use bash.
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-19 19:33:52 -07:00
David Anderson
7ce9c7ce84
scripts/installer.sh: use the appropriate apt key wrangling for the distro.
...
Updates #1937
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-19 19:15:07 -07:00
David Anderson
118fe105f5
scripts/installer.sh: add a few more supported distro versions.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-19 19:15:07 -07:00
Christine Dodrill
4d19db7c9f
scripts/installer: work on Oracle Linux ( #2604 )
...
Before we didn't detect it properly. Since Oracle Linux is diet centos,
we can just make the centos logic detect Oracle linux and everything
should be fine.
Signed-off-by: Christine Dodrill <xe@tailscale.com>
2021-08-06 11:47:04 -04:00
Josh Bleecher Snyder
0ec9040c5e
scripts: remove special case for _strings.go files in check license headers
...
And add a license header for derp/dropreason_string.go to make it happy.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-07-19 15:31:56 -07:00
David Anderson
36492ace9d
derp: add counters to track the type of dropped packets.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-07-12 13:15:59 -07:00
David Anderson
4f92f405ee
scripts: fix up installer script comments.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-05-14 14:13:31 -07:00
David Anderson
0e9ea9f779
scripts: detect curl vs. wget and use the right one.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-05-14 14:12:31 -07:00
David Anderson
783f125003
scripts: use codenames for ubuntu, since that's what our repo uses.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-05-14 14:12:28 -07:00
David Anderson
01a359cec9
scripts: add an install script.
...
The script detects one of the supported OS/version combos, and issues
the right install instructions for it.
Co-authored-by: Christine Dodrill <xe@tailscale.com>
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-05-14 13:40:41 -07:00
Denton Gentry
67ebc7c0e7
Allow 2021 in LICENSE header.
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-01-08 10:23:32 -08:00
Brad Fitzpatrick
edb47b98a8
scripts: don't descend into .git for license header check
2020-09-10 09:23:33 -07:00
David Anderson
1ac570def7
wgengine/router: split out from wgengine.
...
The router implementations are logically separate, with their own API.
Signed-off-by: David Anderson <danderson@tailscale.com>
2020-04-30 13:31:24 -07:00
David Anderson
315a5e5355
scripts: add a license header checker.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-03-17 21:34:44 -07:00