Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						faa891c1f2 
					 
					
						
						
							
							client/tailscale,ipn/localapi: warn on tailscale/tailscaled version skew  
						
						... 
						
						
						
						Fixes  #1905 
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
					
						2021-08-19 08:36:13 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						56db3e2548 
					 
					
						
						
							
							ipn/localapi: refresh ACME certs in background two weeks in advance  
						
						... 
						
						
						
						Updates #1235 
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-08-18 12:55:29 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						57b794c338 
					 
					
						
						
							
							ipn/localapi: move cert fetching code to localapi, cache, add cert subcommand  
						
						... 
						
						
						
						Updates #1235 
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-08-17 16:02:10 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						98ad7f279c 
					 
					
						
						
							
							ipn/localapi: fix inability to receive taildrop files w/ escaped names  
						
						... 
						
						
						
						The localapi was double-unescaping: once by net/http populating
the URL, and once by ourselves later. We need to start with the raw
escaped URL if we're doing it ourselves.
Started to write a test but it got invasive. Will have to add those
tests later in a commit that's not being cherry-picked to a release
branch.
Fixes  #2288 
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-07-13 15:37:59 -07:00 
						 
				 
			
				
					
						
							
							
								julianknodt 
							
						 
					 
					
						
						
							
						
						506c2fe8e2 
					 
					
						
						
							
							cmd/tailscale: make netcheck use active DERP map, delete static copy  
						
						... 
						
						
						
						After allowing for custom DERP maps, it's convenient to be able to see their latency in
netcheck. This adds a query to the local tailscaled for the current DERPMap.
Updates #1264 
Signed-off-by: julianknodt <julianknodt@gmail.com > 
						
						
					 
					
						2021-06-28 14:08:47 -07:00 
						 
				 
			
				
					
						
							
							
								David Crawshaw 
							
						 
					 
					
						
						
							
						
						297b3d6fa4 
					 
					
						
						
							
							staticcheck.conf: turn off noisy lint errors  
						
						... 
						
						
						
						Signed-off-by: David Crawshaw <crawshaw@tailscale.com > 
						
						
					 
					
						2021-06-18 15:48:20 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						e29cec759a 
					 
					
						
						
							
							ipn/{ipnlocal,localapi}, control/controlclient: add SetDNS localapi  
						
						... 
						
						
						
						Updates #1235 
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-06-07 20:35:56 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						b993d9802a 
					 
					
						
						
							
							ipn/ipnlocal, etc: require file sharing capability to send/recv files  
						
						... 
						
						
						
						tailscale/corp#1582 
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
					
						2021-04-16 10:58:19 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						1f4cf1a4f4 
					 
					
						
						
							
							ipn/localapi: only require read access to list file targets  
						
						... 
						
						
						
						Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-04-13 08:35:16 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						db5e269463 
					 
					
						
						
							
							client/tailscale/apitype: move local API types to new apitype package  
						
						... 
						
						
						
						They were scattered/duplicated in misc places before.
It can't be in the client package itself for circular dep reasons.
This new package is basically tailcfg but for localhost
communications, instead of to control.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-04-13 08:13:46 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						303805a389 
					 
					
						
						
							
							ipn/localapi: require write access to PATCH prefs  
						
						... 
						
						
						
						Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-04-11 21:31:20 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						79109f4965 
					 
					
						
						
							
							ipn/ipnlocal: use PATCH for EditPrefs, not POST  
						
						... 
						
						
						
						Addendum to earlier 00d641d9fcbradfitz@tailscale.com > 
						
						
					 
					
						2021-04-11 20:49:07 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						00d641d9fc 
					 
					
						
						
							
							ipn/localapi: move EditPrefs to localapi  
						
						... 
						
						
						
						Follow-up/revision to recent 53cfff109bbradfitz@tailscale.com > 
						
						
					 
					
						2021-04-11 16:11:43 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						3167e55ddf 
					 
					
						
						
							
							ipn/{ipnlocal,localapi}, cmd/tailscale: add logout command  
						
						... 
						
						
						
						Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-04-09 13:26:35 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						50b309c1eb 
					 
					
						
						
							
							ipn/localapi, cmd/tailscale: add API to get prefs, CLI debug command to show  
						
						... 
						
						
						
						Updates #1436 
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-04-07 08:28:11 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						1f99f889e1 
					 
					
						
						
							
							ipn/{ipnlocal,localapi}: add localapi handler to dial/proxy file PUTs  
						
						... 
						
						
						
						Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-04-06 21:31:50 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						d717499ac4 
					 
					
						
						
							
							ipn/localapi: add API for getting file targets  
						
						... 
						
						
						
						Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-04-06 11:01:30 -07:00 
						 
				 
			
				
					
						
							
							
								David Crawshaw 
							
						 
					 
					
						
						
							
						
						d2f838c058 
					 
					
						
						
							
							ipn/localapi: 404 on bad endpoints  
						
						... 
						
						
						
						Confused us for a while!
Signed-off-by: David Crawshaw <crawshaw@tailscale.com > 
						
						
					 
					
						2021-04-05 15:09:54 -07:00 
						 
				 
			
				
					
						
							
							
								Maisem Ali 
							
						 
					 
					
						
						
							
						
						db13b2d0c8 
					 
					
						
						
							
							cmd/tailscale, ipn/localapi: add "tailscale bugreport" subcommand  
						
						... 
						
						
						
						Adding a subcommand which prints and logs a log marker. This should help
diagnose any issues that users face.
Fixes  #1466 
Signed-off-by: Maisem Ali <maisem@tailscale.com > 
						
						
					 
					
						2021-03-31 15:19:51 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						1bd14a072c 
					 
					
						
						
							
							cmd/tailscale, ipn/localapi: move IP forwarding check to tailscaled, API  
						
						... 
						
						
						
						Instead of having the CLI check whether IP forwarding is enabled, ask
tailscaled. It has a better idea. If it's netstack, for instance, the
sysctl values don't matter. And it's possible that only the daemon has
permission to know.
Fixes  #1626 
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-03-31 12:09:16 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						6d1a9017c9 
					 
					
						
						
							
							ipn/{ipnlocal,localapi}, client/tailscale: add file get/delete APIs  
						
						... 
						
						
						
						Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-03-30 12:56:51 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						439d70dce2 
					 
					
						
						
							
							cmd/tailscale, ipn/localapi: get daemon version from localapi status  
						
						... 
						
						
						
						Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-03-18 21:14:10 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						d0dffe33c0 
					 
					
						
						
							
							cmd/tailscale, ipn/localapi: use localapi for status, not IPN acrobatics  
						
						... 
						
						
						
						Yay simpler code.
Tested on Linux, macOS and Windows.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-03-18 19:51:02 -07:00 
						 
				 
			
				
					
						
							
							
								Naman Sood 
							
						 
					 
					
						
						
							
						
						770aa71ffb 
					 
					
						
						
							
							client, cmd/hello, ipn, wgengine: fix whois for netstack-forwarded connections  
						
						... 
						
						
						
						Updates #504 
Updates #707 
Signed-off-by: Naman Sood <mail@nsood.in > 
						
						
					 
					
						2021-03-15 18:14:09 -04:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						a4b585947d 
					 
					
						
						
							
							ipn/localapi, client/tailscale: add a goroutine dump handler  
						
						... 
						
						
						
						Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com > 
						
						
					 
					
						2021-03-05 12:14:24 -08:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
							
						
						fdac0387a7 
					 
					
						
						
							
							ipn/ipnserver, ipn/ipnlocal: move whois handler to new localapi package  
						
						
						
						
					 
					
						2021-02-15 10:46:22 -08:00