tailscale/ipn/ipnlocal
Sonia Appasamy 0f5090c526 ipn/ipnlocal: add docs header to serve HTTP proxy
Adds a `Tailscale-Headers-Info` header whenever the `Tailscale-User-`
headers are filled from the HTTP proxy handler.

Planning on hooking this shorturl up to KB docs about the header
values (i.e. what's a login name vs. display name) and security
considerations to keep in mind while using these headers - notibly
that they can also be filled from external requests that do not hit
tailscaled.

Updates https://github.com/tailscale/tailscale/issues/6954

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
2023-06-20 16:46:10 -04:00
..
testdata ipn/ipnlocal: fix the path for writing cert files (#7203) 2023-02-07 14:34:04 -08:00
c2n.go net/sockstats: expose debug info 2023-04-19 14:33:12 -07:00
cert.go ipn/ipnlocal: renew certificates based on lifetime 2023-06-02 12:36:32 -04:00
cert_js.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
cert_test.go ipn/ipnlocal: renew certificates based on lifetime 2023-06-02 12:36:32 -04:00
dnsconfig_test.go all: use cmpx.Or where it made sense 2023-06-07 22:06:24 -07:00
expiry.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
expiry_test.go ci: add more lints (#7909) 2023-04-19 21:54:19 -04:00
local.go ssh/tailssh: work around lack of scontext in SELinux 2023-06-20 10:44:22 -07:00
local_test.go tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00
loglines_test.go tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00
network-lock.go tka: provide verify-deeplink local API endpoint (#8303) 2023-06-13 11:39:23 -07:00
network-lock_test.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
peerapi.go ipn/ipnlocal,wgengine/netstack: move LocalBackend specifc serving logic to LocalBackend 2023-06-12 12:56:07 -07:00
peerapi_h2c.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
peerapi_macios_ext.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
peerapi_test.go ipn/ipnlocal: drop not required StateKey parameter 2023-01-30 17:58:55 -08:00
profiles.go ipn/ipnlocal: add more logging during profile migration 2023-06-01 21:00:55 -04:00
profiles_notwindows.go ipn/ipnlocal, util/winutil/policy: modify Windows profile migration to load legacy prefs from within tailscaled 2023-04-03 14:41:46 -07:00
profiles_test.go ipn/ipnlocal: reenable profile tests on Windows 2023-04-26 11:33:38 -07:00
profiles_windows.go ipn/ipnlocal: add more logging during profile migration 2023-06-01 21:00:55 -04:00
serve.go ipn/ipnlocal: add docs header to serve HTTP proxy 2023-06-20 16:46:10 -04:00
serve_test.go ipn/ipnlocal: add docs header to serve HTTP proxy 2023-06-20 16:46:10 -04:00
ssh.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ssh_stub.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ssh_test.go ipn/ipnlocal: drop not required StateKey parameter 2023-01-30 17:58:55 -08:00
state_test.go tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00