tailscale/tsnet
Sonia Appasamy 89953b015b ipn/ipnlocal,client/web: add web client to tailscaled
Allows for serving the web interface from tailscaled, with the
ability to start and stop the server via localapi endpoints
(/web/start and /web/stop).

This will be used to run the new full management web client,
which will only be accessible over Tailscale (with an extra auth
check step over noise) from the daemon. This switch also allows
us to run the web interface as a long-lived service in environments
where the CLI version is restricted to CGI, allowing us to manage
certain auth state in memory.

ipn/ipnlocal/web is stubbed out in ipn/ipnlocal/web_stub for
ios builds to satisfy ios restriction from adding "text/template"
and "html/template" dependencies.

Updates tailscale/corp#14335

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
2023-10-31 13:15:07 -04:00
..
example ipn/ipnlocal,client/web: add web client to tailscaled 2023-10-31 13:15:07 -04:00
example_tshello_test.go tsnet: add examples (#8289) 2023-07-19 12:36:49 -04:00
example_tsnet_test.go tsnet: add examples (#8289) 2023-07-19 12:36:49 -04:00
tsnet_test.go tsnet: enable use-cases with non-native IPs by setting ns.ProcessSubnets 2023-10-30 12:25:27 -06:00
tsnet.go tsnet: enable use-cases with non-native IPs by setting ns.ProcessSubnets 2023-10-30 12:25:27 -06:00