tailscale/client/tailscale
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
..
apitype cmd/tailscale, ipn/ipnlocal: add suggest exit node CLI option (#11407) 2024-04-15 18:14:20 -04:00
example/servetls all: update copyright and license headers 2023-01-27 15:36:29 -08:00
acl.go client/tailscale: add postures to UserRuleMatch 2024-03-06 15:36:17 +01:00
devices.go client/tailscale: add Device.PostureIdentity field 2023-12-19 22:01:20 +00:00
dns.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
keys.go client/tailscale: revert CreateKey API change, add Client.CreateKeyWithExpiry 2023-05-12 21:05:12 -07:00
localclient_test.go all: do not depend on the testing package 2024-05-24 05:23:36 -07:00
localclient.go tsnet,wgengine/netstack: add ListenPacket and tests 2024-06-02 14:14:24 -07:00
required_version.go all: require Go 1.21 2023-08-08 21:15:08 -07:00
routes.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailnet.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailscale.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00