tailscale/wgengine/netstack
Maisem Ali 42cfbf427c tsnet,wgengine/netstack: add ListenPacket and tests
This adds a new ListenPacket function on tsnet.Server
which acts mostly like `net.ListenPacket`.

Unlike `Server.Listen`, this requires listening on a
specific IP and does not automatically listen on both
V4 and V6 addresses of the Server when the IP is unspecified.

To test this, it also adds UDP support to tsdial.Dialer.UserDial
and plumbs it through the localapi. Then an associated test
to make sure the UDP functionality works from both sides.

Updates #12182

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2024-06-02 14:14:24 -07:00
..
netstack_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netstack_test.go wgengine/netstack: handle 4via6 routes that are advertised by the same node 2024-05-08 17:36:17 -06:00
netstack_userping_apple.go xcode: allow ICMP ping relay on macOS + iOS platforms (#12048) 2024-05-16 11:57:57 -07:00
netstack_userping.go xcode: allow ICMP ping relay on macOS + iOS platforms (#12048) 2024-05-16 11:57:57 -07:00
netstack.go tsnet,wgengine/netstack: add ListenPacket and tests 2024-06-02 14:14:24 -07:00