tailscale/client/web
Sonia Appasamy c6a274611e client/web: use Tailscale IP known by peer node
Throughout the web UI, we present the tailscale addresses for the
self node. In the case of the node being shared out with a user
from another tailnet, the peer viewer may actually know the node
by a different IP than the node knows itself as (Tailscale IPs
can be configured as desired on a tailnet level). This change
includes two fixes:

1. Present the self node's addresses in the frontend as the addresses
   the viewing node knows it as (i.e. the addresses the viewing node
   uses to access the web client).

2. We currently redirect the viewer to the Tailscale IPv4 address if
   viewing it by MagicDNS name, or any other name that maps to the
   Tailscale node. When doing this redirect, which is primarily added
   for DNS rebinding protection, we now check the address the peer
   knows this node as, and redirect to specifically that IP.

Fixes tailscale/corp#16402

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
2023-12-14 16:36:33 -05:00
..
build client/web: precompress assets 2023-12-07 20:57:31 -05:00
src client/web: fix redirect logic when accessing login client over TS IP 2023-12-13 12:22:06 -05:00
assets.go client/web: only add cache header for assets 2023-12-12 15:51:22 -05:00
auth.go client/web: use prefs.ControlURLOrDefault from controlSupportsCheckMode 2023-12-12 11:03:58 -05:00
index.html client/web: use CSP hash for inline javascript 2023-12-11 20:22:56 -08:00
package.json client/web: add confirmation dialogs 2023-12-08 19:31:21 -05:00
qnap.go client/web: add readonly/manage toggle 2023-11-10 15:01:34 -05:00
styles.json client/web: adjust colors and some UI margins 2023-12-01 15:41:57 -05:00
synology.go client/web: add readonly/manage toggle 2023-11-10 15:01:34 -05:00
tailwind.config.js client/web: adjust colors and some UI margins 2023-12-01 15:41:57 -05:00
tsconfig.json client/web: add debug mode for web client ui updates 2023-09-28 15:45:33 -04:00
vite.config.ts client/web: fix hotreload proxy 2023-11-06 16:31:30 -05:00
web_test.go client/web: keep redirects on-site (#10525) 2023-12-13 14:28:50 -08:00
web.go client/web: use Tailscale IP known by peer node 2023-12-14 16:36:33 -05:00
yarn.lock client/web: add confirmation dialogs 2023-12-08 19:31:21 -05:00