You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tailcfg
Simon Law c18ba4470b
ipn/ipnlocal: add traffic steering support to exit-node suggestions (#16527)
When `tailscale exit-node suggest` contacts the LocalAPI for a
suggested exit node, the client consults its netmap for peers that
contain the `suggest-exit-node` peercap. It currently uses a series of
heuristics to determine the exit node to suggest.

When the `traffic-steering` feature flag is enabled on its tailnet,
the client will defer to Control’s priority scores for a particular
peer. These scores, in `tailcfg.Hostinfo.Location.Priority`, were
historically only used for Mullvad exit nodes, but they have now been
extended to score any peer that could host a redundant resource.

Client capability version 119 is the earliest client that understands
these traffic steering scores. Control tells the client to switch to
rely on these scores by adding `tailcfg.NodeAttrTrafficSteering` to
its `AllCaps`.

Updates tailscale/corp#29966

Signed-off-by: Simon Law <sfllaw@tailscale.com>
5 months ago
..
c2ntypes.go ipn/ipnlocal: add VIPServices hash to return body of vip-services c2n endpoint 11 months ago
derpmap.go tailcfg: add DERPRegion.NoMeasureNoHome, deprecate+document Avoid [cap 115] 9 months ago
proto_port_range.go tailcfg: implement text encoding for ProtoPortRange 2 years ago
proto_port_range_test.go tailcfg: implement text encoding for ProtoPortRange 2 years ago
tailcfg.go ipn/ipnlocal: add traffic steering support to exit-node suggestions (#16527) 5 months ago
tailcfg_clone.go tailcfg: report StateEncrypted in Hostinfo (#16434) 5 months ago
tailcfg_test.go tailcfg: report StateEncrypted in Hostinfo (#16434) 5 months ago
tailcfg_view.go tailcfg: report StateEncrypted in Hostinfo (#16434) 5 months ago
tka.go tailcfg: add RPC structs for /tka/affected-sigs 3 years ago