tailscale/ipn
Sonia Appasamy e1cdcf7708 ipn/ipnlocal: add identity headers to HTTP serve proxy
Adds two new headers to HTTP serve proxy:
- `Tailscale-User-Login`: Filled with requester's login name.
- `Tailscale-User-Name`: Filled with requester's display name.

These headers only get filled when the SrcAddr is associated with
a non-tagged (i.e. user-owned) node within the client's Tailnet.

The headers are passed through empty when the request originated
from another tailnet, or the public internet (via funnel).

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

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
2023-06-14 14:20:28 -04:00
..
ipnauth all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipnlocal ipn/ipnlocal: add identity headers to HTTP serve proxy 2023-06-14 14:20:28 -04:00
ipnserver tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00
ipnstate version: detect tvOS by checking XPC_SERVICE_NAME (#8295) 2023-06-07 12:19:31 -07:00
localapi tka: provide verify-deeplink local API endpoint (#8303) 2023-06-13 11:39:23 -07:00
policy ipn: prefer allow/denylist terminology 2023-04-04 08:02:50 -07:00
store ipn/store/awsstore: persist state with intelligent tiering 2023-04-24 14:35:13 -04:00
backend.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
doc.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
fake_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipn_clone.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipn_view.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
prefs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
prefs_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
serve.go cmd/tailscale/cli: do not allow turning Funnel on while shields-up (#7770) 2023-04-04 22:20:27 -04:00
serve_test.go ipn: add Funnel port check from nodeAttr 2023-03-11 11:20:52 -08:00
store.go ipn/store: add support for stores to hook into a custom dialer 2023-03-29 16:35:46 -07:00