diff options
| author | Amal Bansode <amal@tailscale.com> | 2026-03-23 10:23:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-23 10:23:28 -0700 |
| commit | 04ef9d80b50e2ffe88ac019775085246ed8bec1e (patch) | |
| tree | 52c404b05cadc25e46d93fab89297aa47ab23ab2 /control/controlhttp/controlhttpserver | |
| parent | db3348fd25005e35a3eaa21583a1a7e6100893e9 (diff) | |
| download | tailscale-04ef9d80b50e2ffe88ac019775085246ed8bec1e.tar.xz tailscale-04ef9d80b50e2ffe88ac019775085246ed8bec1e.zip | |
ipn/ipnlocal: add a map for node public key to node ID lookups (#19051)
This path is currently only used by DERP servers that have also
enabled `verify-clients` to ensure that only authorized clients
within a Tailnet are allowed to use said DERP server.
The previous naive linear scan in NodeByKey would almost
certainly lead to bad outcomes with a large enough netmap, so
address an existing todo by building a map of node key -> node ID.
Updates #19042
Signed-off-by: Amal Bansode <amal@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
