cloudflared-mirror/vendor/golang.org/x/net
Devin Carr 92e0f5fcf9 TUN-8688: Correct UDP bind for IPv6 edge connectivity on macOS
For macOS, we want to set the DF bit for the UDP packets used by the QUIC
connection; to achieve this, you need to explicitly set the network
to either "udp4" or "udp6". When determining which network type to pick
we need to use the edge IP address chosen to align with what the local
IP family interface we will use. This means we want cloudflared to bind
to local interfaces for a random port, so we provide a zero IP and 0 port
number (ex. 0.0.0.0:0). However, instead of providing the zero IP, we
can leave the value as nil and let the kernel decide which interface and
pick a random port as defined by the target edge IP family.

This was previously broken for IPv6-only edge connectivity on macOS and
all other operating systems should be unaffected because the network type
was left as default "udp" which will rely on the provided local or remote
IP for selection.

Closes TUN-8688
2024-10-18 14:38:05 -07:00
..
bpf TUN-6718: Bump go and go-boring 1.18.6 2022-09-19 15:18:59 +00:00
context TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
http/httpguts TUN-8407: Upgrade go to version 1.22.2 2024-05-07 16:58:57 +01:00
http2 TUN-8407: Upgrade go to version 1.22.2 2024-05-07 16:58:57 +01:00
icmp TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
idna TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
internal TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
ipv4 TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
ipv6 TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
nettest TUN-8688: Correct UDP bind for IPv6 edge connectivity on macOS 2024-10-18 14:38:05 -07:00
proxy AUTH-2394 added socks5 proxy 2020-04-07 13:30:28 -05:00
trace TUN-7356: Bump golang.org/x/net package to 0.7.0 2023-04-07 09:41:23 -07:00
websocket TUN-8407: Upgrade go to version 1.22.2 2024-05-07 16:58:57 +01:00
LICENSE TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
PATENTS TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00