You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/tsdial
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>
5 months ago
..
dnsmap.go all: remove LenIter, use Go 1.22 range-over-int instead 9 months ago
dnsmap_test.go types/netmap: remove NetworkMap.{Addresses,MachineStatus} 1 year ago
dohclient.go all: update copyright and license headers 2 years ago
dohclient_test.go all: update copyright and license headers 2 years ago
peerapi_macios_ext.go all: cleanup unused code, part 1 (#10661) 11 months ago
tsdial.go tsnet,wgengine/netstack: add ListenPacket and tests 5 months ago