Commit Graph
1592 Commits
Author SHA1 Message Date
Brad Fitzpatrick 3d08fb23e7 lanscaping: remove hujson (conffile must be JSON, not HuJSON now)
-rwxr-xr-x@ 1 bradfitz  staff  10159042 Jan 11 11:10 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  10354840 Jan 11 11:10 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Id40366d53b81a535975d8eb43a9ab42154535839
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 11:10:31 -08:00
Brad Fitzpatrick 4bea980e15 lanscaping: remove some ForTest
Change-Id: I7b370233a6803b69c4beaac931eeea08abeb27d3
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 11:00:38 -08:00
Brad Fitzpatrick a824172cdb lanscaping: remove portlist / portpoller for services collection
-rwxr-xr-x@ 1 bradfitz  staff  10209378 Jan 11 10:59 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  10616984 Jan 11 10:59 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I2e104ebec0407975298b3e5a43dd9e20e4b488d2
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 10:59:35 -08:00
Brad Fitzpatrick cc26a65cbe lanscaping: remove some unneeded handler
-rwxr-xr-x@ 1 bradfitz  staff  10293602 Jan 11 10:50 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  10748056 Jan 11 10:50 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I2277a7af0eb693871f68fe64bbe893ca2b034d1a
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 10:50:58 -08:00
Brad Fitzpatrick 36c23ddc9a lanscaping: remove varz handler
-rwxr-xr-x@ 1 bradfitz  staff  10293970 Jan 11 10:48 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  10748056 Jan 11 10:48 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I7589f698edf1d8cf69c20c94dff2cffe9c9d6269
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 10:49:16 -08:00
Brad Fitzpatrick 6279f23266 lanscaping: remove syspolicy
-rwxr-xr-x@ 1 bradfitz  staff  10361090 Jan 11 10:45 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  10748056 Jan 11 10:45 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I06703ba9b80a0947df526828acab222b4dc0f893
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 10:45:50 -08:00
Brad Fitzpatrick 79b8c00c7a lanscaping: remove groupmember (everybody is admin!)
-rwxr-xr-x@ 1 bradfitz  staff  11153842 Jan 11 08:38 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  11534488 Jan 11 08:38 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Id43e6452fd349f05bdc88ae6f99702c99ed98abc
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 08:38:37 -08:00
Brad Fitzpatrick c6c16fdc96 lanscaping: remove more dnstype, tkatype
-rwxr-xr-x@ 1 bradfitz  staff  11153842 Jan 11 08:35 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  11534488 Jan 11 08:35 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I2666bb5a8392bbebf00bb48ed1f55367318debe4
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 08:36:06 -08:00
Brad Fitzpatrick e2d7f94f46 lanscaping: drop peercreds (everybody is root!)
-rwxr-xr-x@ 1 bradfitz  staff  11205234 Jan 11 08:19 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  11600024 Jan 11 08:19 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I0205521a933b8d7b1141e255d200bb3911161fa7
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 08:19:11 -08:00
Brad Fitzpatrick c299606f3c lanscaping: remove more Drive
-rwxr-xr-x@ 1 bradfitz  staff  11238738 Jan 11 08:06 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  11862168 Jan 11 08:06 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Ie4ea56e56c1c1cfcf75df4cedebb579ba6644cf7
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 08:06:08 -08:00
Brad Fitzpatrick 454126075d lanscaping: remove dnscache, dnsfallback
and kubetypes

-rwxr-xr-x@ 1 bradfitz  staff  11695922 Jan 11 07:46 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  12189848 Jan 11 07:46 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Idf7fb24f846b6570b85e1629cca5d7d2a330706f
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 07:46:08 -08:00
Brad Fitzpatrick 77d777259c lanscaping: remove debug, all pprof (including tabwriter)
-rwxr-xr-x@ 1 bradfitz  staff  11866178 Jan 11 07:30 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  12320920 Jan 11 07:30 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Ie46fdd28b41c19413c8bff9878ff4a17ee8d9f4c
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 07:30:46 -08:00
Brad Fitzpatrick 53b74f1cb7 lanscaping: remove peerapi
-rwxr-xr-x@ 1 bradfitz  staff  12355602 Jan 11 07:08 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  12779672 Jan 11 07:08 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I8fad2afde61e53ba40ea8ce484e25d0edeaefe63
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 07:09:05 -08:00
Brad Fitzpatrick d6f275fb65 lanscaping: remove ringbuffer package (magicsock endpoint debug)
-rwxr-xr-x@ 1 bradfitz  staff  12473138 Jan 11 06:55 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  12910744 Jan 11 06:56 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I2cc774294814e7711b40fd7ef1a9211b47606a2a
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 06:56:18 -08:00
Brad Fitzpatrick 7d9bbf51cd lanscaping: remove DNS
-rwxr-xr-x@ 1 bradfitz  staff  12490098 Jan 11 06:52 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  12910744 Jan 11 06:52 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I8a41e6cf8eebe5f7b40a6560711c6233567f1855
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-11 06:53:16 -08:00
Brad Fitzpatrick 5603a35aba lanscaping: remove auto-update
-rwxr-xr-x@ 1 bradfitz  staff  12743346 Jan 10 22:35 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  13303960 Jan 10 22:35 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I662fb2452f49fda6817c75da18618d62181a2383
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 22:35:56 -08:00
Brad Fitzpatrick dcc759ff35 lanscaping: remove systemd notify
-rwxr-xr-x@ 1 bradfitz  staff  12810322 Jan 10 22:26 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  13566104 Jan 10 22:26 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I9f8cff59ebe310cfe8dd58bdc0f7017f8fddd17c
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 22:26:50 -08:00
Brad Fitzpatrick 901f12ed39 lanscaping: remove osdiag (more doctor stuff)
-rwxr-xr-x@ 1 bradfitz  staff  12810322 Jan 10 22:23 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  13566104 Jan 10 22:23 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I14540393760a30b9d33c21dbfce59f1f0bd15b01
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 22:23:12 -08:00
Brad Fitzpatrick bf1a9cd7dc lanscaping: remove more taildrop/file sharing
-rwxr-xr-x@ 1 bradfitz  staff  12810322 Jan 10 22:21 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  13566104 Jan 10 22:22 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Id21dc502e58a407ace166d6836311685fb47fbc6
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 22:22:12 -08:00
Brad Fitzpatrick b50bfa231b lanscaping: remove osshare dep since file sharing is already gone
-rwxr-xr-x@ 1 bradfitz  staff  13047314 Jan 10 22:17 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  13697176 Jan 10 22:17 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Ia8e69dcb89162446b9f5f1b8ef6a1c621aba984f
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 22:17:21 -08:00
Brad Fitzpatrick 253bf1b360 lanscaping: remove logtail, network logs, stats, packet capture
-rwxr-xr-x@ 1 bradfitz  staff  13098514 Jan 10 22:11 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  13762712 Jan 10 22:11 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I9df1ba86ff080b78d320cb03b075f16b91a51f92
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 22:11:54 -08:00
Brad Fitzpatrick 501fd9f508 lanscaping: delete more GRO, netkernelconf
-rwxr-xr-x@ 1 bradfitz  staff  13535298 Jan 10 21:56 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  14221464 Jan 10 21:56 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Ic06c3c29a3d7e6a2a0d1272e0d0268be7b58b4d3
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:56:41 -08:00
Brad Fitzpatrick e47cc6bee2 lanscaping: remove more ssh
-rwxr-xr-x@ 1 bradfitz  staff  13535330 Jan 10 21:54 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  14221464 Jan 10 21:54 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Ib037903218ff7446df1f8f105fe05ba505bf65f7
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:54:29 -08:00
Brad Fitzpatrick b132a59f74 lanscaping: remove acme cert stuff (missed earlier in removing serve)
-rwxr-xr-x@ 1 bradfitz  staff  13756530 Jan 10 21:52 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  14418072 Jan 10 21:52 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I0136a2ae976a5792f2e2ed7cf902abc22cd88475
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:52:11 -08:00
Brad Fitzpatrick 26985cf12a lanscaping: remove doctor
-rwxr-xr-x@ 1 bradfitz  staff  13925522 Jan 10 21:49 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  14614680 Jan 10 21:49 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: Ic5434d746958f2d3d26bbb47eaead446872b7a7f
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:49:53 -08:00
Brad Fitzpatrick 9bf8966c26 lanscaping: remove proxymap (a userspace mode thing)
-rwxr-xr-x@ 1 bradfitz  staff  13976098 Jan 10 21:41 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  14942360 Jan 10 21:41 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I35a1ff01fba619839c1e5671b8c06ed722a05948
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:42:00 -08:00
Brad Fitzpatrick d086f952b9 lanscaping: remove appconnectors, more posture
-rwxr-xr-x@ 1 bradfitz  staff  13992850 Jan 10 21:35 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  14942360 Jan 10 21:35 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I63b6a8d459e0b88d092b2c793f8b88d3c976889a
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:35:51 -08:00
Brad Fitzpatrick 51491012ec lanscaping: omit h2c
-rwxr-xr-x@ 1 bradfitz  staff  13759346 Jan 10 21:26 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  15007896 Jan 10 21:26 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I523522c71deaeb4f7c2f6e81630109337682931c
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:26:39 -08:00
Brad Fitzpatrick 2a4a7f2fc7 lanscaping: remove portmapper (goupnp, xml, ...)
-rwxr-xr-x@ 1 bradfitz  staff  13941426 Jan 10 21:24 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  15204504 Jan 10 21:24 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I3c324d4203ba8543295e0503b84874710b8afeb6
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:24:37 -08:00
Brad Fitzpatrick 414e1e1238 lanscaping: remove wol
Change-Id: I5df0363e1883ea0b2f390cb843f2dc72130132a4
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:17:42 -08:00
Brad Fitzpatrick 0dac8dfb94 lanscaping: remove taildrop
-rwxr-xr-x@ 1 bradfitz  staff  14288706 Jan 10 21:14 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  15532184 Jan 10 21:15 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I751977df320e6c77bd403a7bbcc329a50e3ef443
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:15:06 -08:00
Brad Fitzpatrick 55587d3156 lanscaping: remove serve, webclient
-rwxr-xr-x@ 1 bradfitz  staff  14338354 Jan 10 21:12 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  15532184 Jan 10 21:12 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I075670f96610e55b7adaacb105fe4d749ed6cfd8
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:12:16 -08:00
Brad Fitzpatrick 5b4d3207b0 lanscaping: remove TKA
-rwxr-xr-x@ 1 bradfitz  staff  15297778 Jan 10 21:03 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  16515224 Jan 10 21:03 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I297e3d82d5763019ab6fb1f2a1bc3f3369d10d9c
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 21:03:14 -08:00
Brad Fitzpatrick f86f0f793a lanscaping: remove captive portal detection
-rwxr-xr-x@ 1 bradfitz  staff  16456050 Jan 10 20:41 /Users/bradfitz/bin/tailscaled.min
-rwxr-xr-x@ 1 bradfitz  staff  17563800 Jan 10 20:41 /Users/bradfitz/bin/tailscaled.minlinux

Change-Id: I5efa774e33662fb6d66a4caa2f086eb03a95fde3
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 20:41:39 -08:00
Brad Fitzpatrick 30d682899b lanscaping: butcher out gvisor; 16MB
Change-Id: I8185f5bdfe080e33910a8224de66c97f10e2ed40
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-10 20:04:36 -08:00
KevinLiang10 2af255790d ipn/ipnlocal: add VIPServices hash to return body of vip-services c2n endpoint
This commit updates the return body of c2n endpoint /vip-services to keep hash generation logic on client side.

Updates tailscale/corp#24510

Signed-off-by: KevinLiang10 <[email protected]>
2025-01-10 15:49:59 -05:00
Irbe Krumina fc8b6d9c6a ipn/conf.go: add VIPServices to tailscaled configfile (#14345)
Updates tailscale/corp#24795

Signed-off-by: Irbe Krumina <[email protected]>
2025-01-10 06:33:58 +00:00
Nahum Shalman 9373a1b902 all: illumos/solaris userspace only support
Updates #14565

Change-Id: I743148144938794db0a224873ce76c10dbe6fa5f
Signed-off-by: Nahum Shalman <[email protected]>
2025-01-09 14:46:23 -08:00
Brad Fitzpatrick 8d6b996483 ipn/ipnlocal: add client metric gauge for number of IPNBus connections
Updates #1708

Change-Id: Ic7e28d692b4c48e78c842c26234b861fe42a916e
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-08 10:59:25 -08:00
KevinLiang10 009da8a364 ipn/ipnlocal: connect serve config to c2n endpoint
This commit updates the VIPService c2n endpoint on client to response with actual VIPService configuration stored
in the serve config.

Fixes tailscale/corp#24510
Signed-off-by: KevinLiang10 <[email protected]>
2025-01-07 16:15:07 -05:00
Brad Fitzpatrick 041622c92f ipn/ipnlocal: move where auto exit node selection happens
In the process, because I needed it for testing, make all
LocalBackend-managed goroutines be accounted for. And then in tests,
verify they're no longer running during LocalBackend.Shutdown.

Updates tailscale/corp#19681

Change-Id: Iad873d4df7d30103a4a7863dfacf9e078c77e6a3
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-06 12:49:44 -08:00
Brad Fitzpatrick 07aae18bca ipn/ipnlocal, util/goroutines: track goroutines for tests, shutdown
Updates #14520
Updates #14517 (in that I pulled this out of there)

Change-Id: Ibc28162816e083fcadf550586c06805c76e378fc
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-06 12:35:44 -08:00
Brad Fitzpatrick 2fb361a3cf ipn: declare NotifyWatchOpt consts without using iota
Updates #cleanup
Updates #1909 (noticed while working on that)

Change-Id: I505001e5294287ad2a937b4db61d9e67de70fa14
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-04 18:43:27 -08:00
Brad Fitzpatrick 2b8f02b407 ipn: convert ServeConfig Range methods to iterators
These were the last two Range funcs in this repo.

Updates #12912

Change-Id: I6ba0a911933cb5fc4e43697a9aac58a8035f9622
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-04 14:27:31 -08:00
Brad Fitzpatrick 4b56bf9039 types/views: remove various Map Range funcs; use iterators everywhere
The remaining range funcs in the tree are RangeOverTCPs and
RangeOverWebs in ServeConfig; those will be cleaned up separately.

Updates #12912

Change-Id: Ieeae4864ab088877263c36b805f77aa8e6be938d
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-04 13:35:27 -08:00
Brad Fitzpatrick 47bd0723a0 all: use iterators in more places instead of Range funcs
And misc cleanup along the way.

Updates #12912

Change-Id: I0cab148b49efc668c6f5cdf09c740b84a713e388
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-04 11:01:00 -08:00
Brad Fitzpatrick 1e2e319e7d util/slicesx: add MapKeys and MapValues from golang.org/x/exp/maps
Importing the ~deprecated golang.org/x/exp/maps as "xmaps" to not
shadow the std "maps" was getting ugly.

And using slices.Collect on an iterator is verbose & allocates more.

So copy (x)maps.Keys+Values into our slicesx package instead.

Updates #cleanup
Updates #12912
Updates #14514 (pulled out of that change)

Change-Id: I5e68d12729934de93cf4a9cd87c367645f86123a
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-03 10:48:31 -08:00
Brad Fitzpatrick e3bcb2ec83 ipn/ipnlocal: use context.CancelFunc type for doc clarity
Using context.CancelFunc as the type (instead of func()) answers
questions like whether it's okay to call it multiple times, whether
it blocks, etc. And that's the type it actually is in this case.

Updates #cleanup

Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-03 08:59:53 -08:00
Brad Fitzpatrick 03b9361f47 ipn: update reference to Notify's Swift definition
Updates #cleanup

Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-01-03 08:59:45 -08:00
Brad Fitzpatrick ff095606cc all: add means to set device posture attributes from node
Updates tailscale/corp#24690
Updates #4077

Change-Id: I05fe799beb1d2a71d1ec3ae08744cc68bcadae2a
Signed-off-by: Brad Fitzpatrick <[email protected]>
2024-12-31 12:57:23 -08:00