| Age | Commit message (Collapse) | Author | Files | Lines |
|
To write the init script.
And fix the JetKVM detection to work during early boot while the filesystem
and modules are still being loaded; it wasn't being detected on early boot
and then tailscaled was failing to start because it didn't know it was on JetKVM
and didn't modprobe tun.
Updates #16524
Change-Id: I0524ca3abd7ace68a69af96aab4175d32c07e116
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Updates #16524
Change-Id: I183428de8c65d7155d82979d2d33f031c22e3331
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Fixes #14453
Signed-off-by: Jason Barnett <J@sonBarnett.com>
|
|
Fixes: #4038
Signed-off-by: Jason Barnett <J@sonBarnett.com>
|
|
This adds a new generic result type (motivated by golang/go#70084) to
try it out, and uses it in the new lineutil package (replacing the old
lineread package), changing that package to return iterators:
sometimes over []byte (when the input is all in memory), but sometimes
iterators over results of []byte, if errors might happen at runtime.
Updates #12912
Updates golang/go#70084
Change-Id: Iacdc1070e661b5fb163907b1e8b07ac7d51d3f83
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Updates #11058
Change-Id: I35e7ef9b90e83cac04ca93fd964ad00ed5b48430
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Similar to Arch support, use the latest version info from the official
`apk` repo and don't offer explicit track or version switching.
Add detection for Alpine Linux in version/distro along the way.
Updates #6995
Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
|
|
Updates tailscale/tailscale#8025
Signed-off-by: Derek Kaser <derek.kaser@gmail.com>
|
|
WSL has started to set the eth0 default route interface default to 1280
MTU, which is too low to carry 1280 byte packets from tailscale0 once
wrapped in WireGuard. The change down to 1280 is very likely smaller
than necessary for almost all users. We can not easily determine the
ideal MTU, but if all the preconditions match, we raise the MTU to 1360,
which is just enough for Tailscale traffic to work.
Updates #4833
Updates #7346
Signed-off-by: James Tucker <james@tailscale.com>
|
|
Signed-off-by: David Anderson <danderson@tailscale.com>
|
|
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>
|
|
Resolves a TODO in the code noted while discussing QNAP defaults.
Tested on DSM6 and DSM7.
Change-Id: Icce03ff41fafd7b3a358cfee16f2ed13d5cc3c5d
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Signed-off-by: Maisem Ali <maisem@tailscale.com>
|
|
Fixes #4060
Change-Id: I5f145d4f56f6edb14825268e858d419c55918673
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
root@WDMyCloud HD_a2 # ./tailscale debug hostinfo
{
"IPNVersion": "1.25.0-dev20220605-t7fea52e02",
"OS": "linux",
"OSVersion": "5.22.113",
"Desktop": false,
"DeviceModel": "WD My Cloud Gen2: Marvell Armada 375",
"Hostname": "WDMyCloud",
"GoArch": "arm"
}
Updates https://github.com/tailscale/tailscale/issues/4622
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
|
|
Now:
/tmp/breakglass3929186798 # /user/tailscale debug hostinfo
{
"IPNVersion": "1.23.0-date.20220107",
"OS": "linux",
"OSVersion": "Gokrazy; kernel=5.16.11",
"DeviceModel": "Raspberry Pi 4 Model B Rev 1.2",
"Hostname": "gokrazy",
"GoArch": "arm64"
}
Also, cache the distro lookup. It doesn't change while the program is
running:
name old time/op new time/op delta
Get-6 5.21µs ± 5% 0.00µs ± 3% -99.91% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
Get-6 792B ± 0% 0B -100.00% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
Get-6 8.00 ± 0% 0.00 -100.00% (p=0.008 n=5+5)
Updates #1866
Change-Id: Ifb9a63b94287010d3f4c8bfeb6b78119e8a9b203
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
TrueNAS Scale is based on Debian Linux
Signed-off-by: Todd Neal <todd@tneal.org>
|
|
Add specific handling for common appliances based on FreeBSD:
- pfSense
HostInfo: {"OS":"freebsd","OSVersion":"pfSense 2.5.2-RELEASE; version=12.2-STABLE"
- OPNsense
HostInfo: {"OS":"freebsd","OSVersion":"OPNsense 21.7.1 (amd64/OpenSSL); version=12.1-RELEASE-p19-HBSD"
- TrueNAS
HostInfo: {"OS":"freebsd","OSVersion":"TrueNAS-12.0-U5.1 (6c639bd48a); version=12.2-RELEASE-p9"
- FreeNAS
HostInfo: {"OS":"freebsd","OSVersion":"FreeNAS-11.3-U5 (2e4ded5a0a); version=11.3-RELEASE-p14",
- regular FreeBSD
HostInfo: {"OS":"freebsd","OSVersion":"FreeBSD; version=12.2-RELEASE"
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
|
|
Signed-off-by: Maisem Ali <maisem@tailscale.com>
|
|
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
|
|
The fallthrough happened to work in controlclient already due to the
/etc/os-release PRETTY_NAME default, but make it explicit so it
doesn't look like an accident.
Also add it to version/distro, even though nothing needs it yet.
|
|
And help out with missing packages.
Thanks to @willangley for tips.
Updates #724
|
|
For now. Get it working again so it's not stuck on 0.98.
Subnet relay can come later.
Updates #451
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|