tailscale/tsnet
James Tucker 48e0334aac tsnet: fix Listen for unspecified addresses and ephemeral ports
Normalize 0.0.0.0 and :: to wildcard in resolveListenAddr so listeners
match incoming connections.

Fix ephemeral port allocation across all three modes: extract assigned
ports from gVisor listeners (TUN TCP and UDP), and add an ephemeral port
allocator for netstack TCP.

Updates #6815
Updates #12182
Fixes #14042

Signed-off-by: James Tucker <jftucker@gmail.com>
2026-02-28 16:33:56 -08:00
..
example all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
depaware.txt go.mod: bump gvisor 2026-02-26 18:29:36 -08:00
example_tshello_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
example_tsnet_listen_service_multiple_ports_test.go tsnet: make ListenService examples consistent with other tsnet examples 2026-01-26 14:59:18 -07:00
example_tsnet_test.go tsnet: make ListenService examples consistent with other tsnet examples 2026-01-26 14:59:18 -07:00
packet_filter_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tsnet_test.go tsnet: fix Listen for unspecified addresses and ephemeral ports 2026-02-28 16:33:56 -08:00
tsnet.go tsnet: fix Listen for unspecified addresses and ephemeral ports 2026-02-28 16:33:56 -08:00