go.mod: update wireguard-go

Also includes a minor change to a packet identification helper in magicsock,
to make it correctly identify retried hybrid handshake packets.

Updates tailscale/corp#50068

Signed-off-by: David Anderson <[email protected]>
Change-Id: I6204b8f6b60342fe3c0b7b63c4b90c8c6a6a6964
This commit is contained in:
David Anderson authored and Dave Anderson committed 2026-10-29 12:55:25 -07:00
1 parent 7304dd42c1
commit 8af1b389ff
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -173,4 +173,4 @@
});
};
}
# nix-direnv cache busting line: sha256-7cD7JlWOFNtRYOtaiPYIscsyOLlb3n0sDrCLMHLRISY=
# nix-direnv cache busting line: sha256-WA1n38rZ7ZkHkhw1IkhBJ/zDPSwJ4ZcVjcVaiQYyXXw=
+2 -2
View File
@@ -4,7 +4,7 @@
"sri": "sha256-sdlgTLTkdhTvGCeQTwAsR+Do8rNwBzBUp5QPc09BPgI="
},
"vendor": {
"goModSum": "sha256-VEZzVfdhWQxemKHMPF7WGfFtnH4mmHlsLkVe92Fg0Mc=",
"sri": "sha256-7cD7JlWOFNtRYOtaiPYIscsyOLlb3n0sDrCLMHLRISY="
"goModSum": "sha256-EccdjIiDx9oqXZJLOt9e9HM+e7uZsdwc3vEk6Tf9XqU=",
"sri": "sha256-WA1n38rZ7ZkHkhw1IkhBJ/zDPSwJ4ZcVjcVaiQYyXXw="
}
}
+1 -1
View File
@@ -126,7 +126,7 @@ require (
github.com/tailscale/ts-gokrazy v0.0.0-20260630224145-b83088f2e52e
github.com/tailscale/web-client-prebuilt v0.0.0-20260917222731-e0ed2d0d0fea
github.com/tailscale/wf v0.0.0-20240214030419-6fbb0a674ee6
github.com/tailscale/wireguard-go v0.0.0-20261002162406-18e99eba5393
github.com/tailscale/wireguard-go v0.0.0-20261028173945-db3888e688e9
github.com/tailscale/xnet v0.0.0-20240729143630-8497ac4dab2e
github.com/tc-hib/winres v0.3.1
github.com/tcnksm/go-httpstat v0.2.0
+2 -2
View File
@@ -1154,8 +1154,8 @@ github.com/tailscale/web-client-prebuilt v0.0.0-20260917222731-e0ed2d0d0fea h1:a
github.com/tailscale/web-client-prebuilt v0.0.0-20260917222731-e0ed2d0d0fea/go.mod h1:agQPE6y6ldqCOui2gkIh7ZMztTkIQKH049tv8siLuNQ=
github.com/tailscale/wf v0.0.0-20240214030419-6fbb0a674ee6 h1:l10Gi6w9jxvinoiq15g8OToDdASBni4CyJOdHY1Hr8M=
github.com/tailscale/wf v0.0.0-20240214030419-6fbb0a674ee6/go.mod h1:ZXRML051h7o4OcI0d3AaILDIad/Xw0IkXaHM17dic1Y=
github.com/tailscale/wireguard-go v0.0.0-20261002162406-18e99eba5393 h1:LruJ3jY1QZZLV9Lwxkws7Jav2ILFGZpyQXVqeb6nvzM=
github.com/tailscale/wireguard-go v0.0.0-20261002162406-18e99eba5393/go.mod h1:rUelGmuK4UnSJYM5gl5Mknp6YbwwcL8+VAPMhNYe+jg=
github.com/tailscale/wireguard-go v0.0.0-20261028173945-db3888e688e9 h1:WUDTYkwxAn30leCg1RP1QdaA+V7H2C+EHg8G4X/p9rY=
github.com/tailscale/wireguard-go v0.0.0-20261028173945-db3888e688e9/go.mod h1:rUelGmuK4UnSJYM5gl5Mknp6YbwwcL8+VAPMhNYe+jg=
github.com/tailscale/xnet v0.0.0-20240729143630-8497ac4dab2e h1:zOGKqN5D5hHhiYUp091JqK7DPCqSARyUfduhGUY8Bek=
github.com/tailscale/xnet v0.0.0-20240729143630-8497ac4dab2e/go.mod h1:orPd6JZXXRyuDusYilywte7k094d7dycXXU5YnWsrwg=
github.com/tc-hib/winres v0.3.1 h1:CwRjEGrKdbi5CvZ4ID+iyVhgyfatxFoizjPhzez9Io4=
+1 -1
View File
@@ -16,4 +16,4 @@
) {
src = ./.;
}).shellNix
# nix-direnv cache busting line: sha256-7cD7JlWOFNtRYOtaiPYIscsyOLlb3n0sDrCLMHLRISY=
# nix-direnv cache busting line: sha256-WA1n38rZ7ZkHkhw1IkhBJ/zDPSwJ4ZcVjcVaiQYyXXw=
+2 -2
View File
@@ -1828,8 +1828,8 @@ func (c *Conn) mkReceiveFunc(cfg udpReceiveConfig) conn.ReceiveFunc {
// looksLikeInitiationMsg returns true if b looks like a WireGuard initiation
// message, otherwise it returns false.
func looksLikeInitiationMsg(b []byte) bool {
return len(b) == device.MessageInitiationSize &&
binary.LittleEndian.Uint32(b) == device.MessageInitiationType
return (len(b) == device.MessageInitiationSize || len(b) == device.MessageHybridInitiationSize) &&
b[0] == device.MessageInitiationType
}
// receiveIP is the shared bits of ReceiveIPv4 and ReceiveIPv6.