tailscale/tsnet
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
..
example tsnet: split user facing and backend logging 2024-05-10 15:29:13 -07:00
example_tshello_test.go tsnet: add examples (#8289) 2023-07-19 12:36:49 -04:00
example_tsnet_test.go tsnet: split user facing and backend logging 2024-05-10 15:29:13 -07:00
tsnet_test.go tsnet,wgengine/netstack: add ListenPacket and tests 2024-06-02 14:14:24 -07:00
tsnet.go tsnet,wgengine/netstack: add ListenPacket and tests 2024-06-02 14:14:24 -07:00