tailscale/tailcfg
Brian Palmer e74a705c67
cmd/hello: display native ipv4 (#15191)
We are soon going to start assigning shared-in nodes a CGNAT IPv4 in the Hello tailnet when necessary, the same way that normal node shares assign a new IPv4 on conflict.

But Hello wants to display the node's native IPv4, the one it uses in its own tailnet. That IPv4 isn't available anywhere in the netmap today, because it's not normally needed for anything.

We are going to start sending that native IPv4 in the peer node CapMap, only for Hello's netmap responses. This change enables Hello to display that native IPv4 instead, when available.

Updates tailscale/corp#25393

Change-Id: I87480b6d318ab028b41ef149eb3ba618bd7f1e08
Signed-off-by: Brian Palmer <brianp@tailscale.com>
2025-03-04 08:47:35 -07:00
..
c2ntypes.go ipn/ipnlocal: add VIPServices hash to return body of vip-services c2n endpoint 2025-01-10 15:49:59 -05:00
derpmap.go all: make more tests pass/skip in airplane mode 2024-05-06 09:19:53 -07:00
proto_port_range_test.go tailcfg: implement text encoding for ProtoPortRange 2023-10-11 23:59:42 -07:00
proto_port_range.go tailcfg: implement text encoding for ProtoPortRange 2023-10-11 23:59:42 -07:00
tailcfg_clone.go tailcfg: remove ancient UserProfiles.Roles field 2025-02-11 13:16:18 -08:00
tailcfg_test.go tailcfg: remove ancient UserProfiles.Roles field 2025-02-11 13:16:18 -08:00
tailcfg_view.go tailcfg: remove ancient UserProfiles.Roles field 2025-02-11 13:16:18 -08:00
tailcfg.go cmd/hello: display native ipv4 (#15191) 2025-03-04 08:47:35 -07:00
tka.go tailcfg: add RPC structs for /tka/affected-sigs 2023-02-21 21:58:38 +00:00