tailscale/wgengine/netstack
Andrew Dunham 45d2f4301f proxymap, various: distinguish between different protocols
Previously, we were registering TCP and UDP connections in the same map,
which could result in erroneously removing a mapping if one of the two
connections completes while the other one is still active.

Add a "proto string" argument to these functions to avoid this.
Additionally, take the "proto" argument in LocalAPI, and plumb that
through from the CLI and add a new LocalClient method.

Updates tailscale/corp#20600

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I35d5efaefdfbf4721e315b8ca123f0c8af9125fb
2024-06-18 13:29:41 -04:00
..
netstack_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netstack_test.go wgengine/netstack: add test for #12448 2024-06-13 11:46:48 -07:00
netstack_userping_apple.go various: fix lint warnings 2024-06-06 17:06:54 -04:00
netstack_userping.go xcode: allow ICMP ping relay on macOS + iOS platforms (#12048) 2024-05-16 11:57:57 -07:00
netstack.go proxymap, various: distinguish between different protocols 2024-06-18 13:29:41 -04:00