phirework
699996ad6c
go.toolchain.rev: upgrade to Go 1.20.5 ( #8304 )
...
Change-Id: I317b6e61d62212efca0e905ea9c626cc24a6912b
Signed-off-by: Jenny Zhang <jz@tailscale.com>
2023-06-07 22:12:18 -04:00
Brad Fitzpatrick
c4fe9c536d
go.toolchain.rev: bump, again
...
For https://go-review.googlesource.com/c/go/+/498398
Updates tailscale/go#63
Updates tailscale/go#64
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-05-25 15:50:24 -07:00
Brad Fitzpatrick
cb94ddb7b8
go.toolchain.rev: bump
...
Updates tailscale/go#63
Updates tailscale/go#64
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-05-25 12:21:39 -07:00
David Anderson
45138fcfba
go.toolchain.rev: update for go 1.20.3
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2023-04-04 11:44:02 -07:00
Brad Fitzpatrick
f11c270c6b
go.toolchain.rev: bump Go toolchain
...
For tailscale/go#60
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-03-20 21:53:13 -07:00
Mihai Parparita
f4f8ed98d9
sockstats: add validation for TCP socket stats
...
We can use the TCP_CONNECTION_INFO getsockopt() on Darwin to get
OS-collected tx/rx bytes for TCP sockets. Since this API is not available
for UDP sockets (or on Linux/Android), we can't rely on it for actual
stats gathering.
However, we can use it to validate the stats that we collect ourselves
using read/write hooks, so that we can be more confident in them. We
do need additional hooks from the Go standard library (added in
tailscale/go#59) to be able to collect them.
Updates tailscale/corp#9230
Updates #3363
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2023-03-08 13:39:30 -08:00
Mihai Parparita
9cb332f0e2
sockstats: instrument networking code paths
...
Uses the hooks added by tailscale/go#45 to instrument the reads and
writes on the major code paths that do network I/O in the client. The
convention is to use "<package>.<type>:<label>" as the annotation for
the responsible code path.
Enabled on iOS, macOS and Android only, since mobile platforms are the
ones we're most interested in, and we are less sensitive to any
throughput degradation due to the per-I/O callback overhead (macOS is
also enabled for ease of testing during development).
For now just exposed as counters on a /v0/sockstats PeerAPI endpoint.
We also keep track of the current interface so that we can break out
the stats by interface.
Updates tailscale/corp#9230
Updates #3363
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2023-03-01 12:09:31 -08:00
Brad Fitzpatrick
607c3eb813
go.toolchain.rev: update to Go 1.20.1
...
And bump x/net for the HTTP/2 fixes.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-02-14 23:39:08 +00:00
Brad Fitzpatrick
9e4d99305b
go.toolchain.rev: bump Go toolchain
...
For tailscale/go#55 experimentation in another repo primarily,
but this is our source of truth, so we bump here.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-02-09 15:07:55 -08:00
David Anderson
33f29a1532
go.toolchain.rev: update toolchain to test iOS Go fix
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-09 12:59:51 -08:00
David Anderson
1acdcff63e
go.toolchain.rev: update toolchain to test ios workaround
...
Updates tailscale/corp#9061
Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-04 15:10:42 -08:00
David Anderson
02a2dcfc86
go.toolchain.rev: use new statically built toolchain
...
Also removes the toolchain builds from flake.nix. For now the flake
build uses upstream Go 1.20, a followup change will switch it back to
our custom toolchain.
Updates tailscale/corp#9005
Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-02 20:44:12 -08:00
Brad Fitzpatrick
01e736e1d5
go.toolchain.rev: update to Go 1.20rc3
...
Updates #7123
Change-Id: Ibdf53530251c120e7e20c24abcf4a05f2ff7ac97
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-01-30 21:55:13 -08:00
Brad Fitzpatrick
7c77c48bd4
go.toolchain.rev: bump Go
...
For:
dc0ce6324d
and
2cf198bc80
Updates #6792
Updates #6799
Change-Id: I58f022b5fb790e968938f90eb76e9dfdb74041fc
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-12-19 20:30:34 -08:00
Brad Fitzpatrick
5caf609d7b
go.toolchain.rev: bump Go to 1.19.4
...
Updates tailscale/go#36
Change-Id: I0b741c18ef0286b511a79ec39b1e91464c7ce77b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-12-19 13:30:12 -08:00
Brad Fitzpatrick
7714261566
go.toolchain.rev: update to Go 1.19.2
...
Changes: https://github.com/tailscale/go/commits/build-3fd24dee31726924c1b61c8037a889b30b8aa0f6
Change-Id: I61b83eef2b812879544a5226687606ae792b0786
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-10-05 11:22:00 -07:00
Brad Fitzpatrick
2266b59446
go.toolchain.rev: bump to Go 1.19.1
...
See https://github.com/tailscale/go/pull/34
Change-Id: I56806358cd1be4a2b8f509883e47c93083d82bdf
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-09-07 22:13:01 -07:00
Brad Fitzpatrick
e1309e1323
all: require Go 1.19
...
Updates #5210
Change-Id: I2e950b4776636b4ea89b6566b60e4a87596a3a43
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-08-02 11:49:01 -07:00
Brad Fitzpatrick
357fd85ecf
go.toolchain.rev: bump tailscale.go1.19 commit
...
for mutex slow path metrics: https://github.com/tailscale/go/pull/33
(a maybe temporary experiment)
Change-Id: Idba1ef866e2e1764728bdd869c25becccc1051b0
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-07-31 22:10:31 -07:00
Brad Fitzpatrick
f541e00db2
go.toolchain.rev: bump for VERSION file
...
Updates #5210
Change-Id: Ib6db8b010a6a9369a3eda8a86a49e538e376aff6
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-07-28 14:29:15 -07:00
Brad Fitzpatrick
e5176f572e
go.toolchain.rev: switch to Go 1.19rc2+
...
Switch to Go 1.19rc2 in prep for the Go 1.19 GA release on Tuesday.
(We won't be using any Go 1.19 features until then.)
Updates #5210
Change-Id: I94fa0ae8f5645fb7579429668f3970c18d1796d8
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-07-28 11:28:21 -07:00
Brad Fitzpatrick
7fb6781bda
go.toolchain.rev: bump for Go 1.18.4 + runtime timer spin
...
See https://github.com/tailscale/go/pull/32
Updates #4760
Updates #5030 ?
Updates #4891 ?
Change-Id: I066aafddc09fade30a5f3fdee23e6bd200eda9fa
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-07-13 20:56:59 -07:00
Brad Fitzpatrick
db83926121
go.toolchain.rev: bump Go to 1.18.3 (+ Tailscale patches)
...
See 04d67b90d8
Diff:
bb6009ec7c..04d67b90d8
Change-Id: Ic0abd3058f3696c3f8007e1004ab4bf377c5323c
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-06-06 15:46:28 -07:00
Brad Fitzpatrick
4c75605e23
go.toolchain.rev: bump Tailscale Go toolchain
...
For bb6009ec7c
(The cherry-picked fix for golang/go#51776 )
Change-Id: Ib4a67c0f82256c62989fbba2cc9c15b728313ebd
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-05-10 05:31:13 -07:00
Joe Tsai
d201d217df
go.toolchain.rev: update to go1.18.1 ( #4438 )
...
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-04-18 14:42:58 -07:00
Maisem Ali
42ee4c917d
go.toolchain.rev: pick up httptest race fix
...
tailscale/go@5ce3ec4d89
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-03-25 09:53:10 -07:00
Josh Bleecher Snyder
9d4ffd135f
go.toolchain.rev: pick up crypto/x509 crash fix
...
68c97fb924
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2022-03-17 10:37:15 -07:00
Josh Bleecher Snyder
84a2dc3a7e
go.toolchain.rev: update to slightly less forked Go 1.18
...
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2022-03-16 16:10:29 -07:00
Josh Bleecher Snyder
c2c97f8f38
go.toolchain.rev: remove second entry
...
No idea how that happened.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2022-03-16 12:55:26 -07:00
Josh Bleecher Snyder
5cb9999be3
go.toolchain.rev: upgrade to our Go 1.18 fork
...
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2022-03-16 12:45:28 -07:00
Josh Bleecher Snyder
7ddf2e2fea
go.toolchain.rev: bump to Go 1.17.8
...
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2022-03-03 14:51:16 -08:00
Josh Bleecher Snyder
b486448ab9
go.toolchain.rev: bump to Go 1.17.7
...
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2022-02-15 13:29:17 -08:00
Joe Tsai
3e50a265be
go.toolchain.rev: pick up new bufio.Writer API for Go1.18 ( #3768 )
...
25fe91a25c
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-01-19 12:40:56 -08:00
Brad Fitzpatrick
1ffc21ad71
go.toolchain.rev: update to Go 1.17.6
...
Co-authored-by: Josh Bleecher Snyder <josh@tailscale.com>
Change-Id: I572b2b36aa8acb53ea7fde638aa89a7510c84915
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-01-10 13:22:18 -08:00
Brad Fitzpatrick
ebdd25920e
go.toolchain.rev: add Go toolchain rev, tool to print it out
...
Updates tailscale/corp#3385
Change-Id: Ia0e285a0ae836744539c97ff6eff207588159688
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-01-03 11:56:27 -08:00