summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2025-03-25 12:59:07 -0700
committerJames Tucker <jftucker@gmail.com>2025-04-01 10:23:11 -0700
commit95034e15a79888b1a4afe48e6812fd47ea138fd5 (patch)
treed093f90ba36fb7e6fa8686c030af2894f6037c88 /control/controlhttp/controlhttpserver
parentfb47824d749c214ac74115a92f89256c0ee51bf9 (diff)
downloadtailscale-95034e15a79888b1a4afe48e6812fd47ea138fd5.tar.xz
tailscale-95034e15a79888b1a4afe48e6812fd47ea138fd5.zip
cmd/natc: fix ip allocation runtime
Avoid the unbounded runtime during random allocation, if random allocation fails after a first pass at random through the provided ranges, pick the next free address by walking through the allocated set. The new ipx utilities provide a bitset based allocation pool, good for small to moderate ranges of IPv4 addresses as used in natc. Updates #15367 Signed-off-by: James Tucker <james@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions