mirror of
https://github.com/fatedier/frp.git
synced 2026-11-05 07:41:36 +08:00
Upgrade golang.zx2c4.com/wireguard from v0.0.0-20231211153847-12269c276173 (2023-12-11) to v0.0.0-20261024220952-b3bc704ef0ee (2026-10-24). Only go.mod and go.sum change; the go and toolchain lines are unchanged. The new snapshot requires a newer gvisor snapshot (v0.0.0-20250503011706-39ed1f5ac29c), which moves through MVS and is reflected in go.sum. frp uses wireguard-go only through its tun package for the virtual net feature. The tun changes in this range are the Linux GRO path (clear the virtioNetHdr in the receive buffer), checksum add-with-carry handling, and darwin reading the interface flags and MTU directly from route events. The Device API is unchanged and no code changes are needed. This is not a security fix: govulncheck reports the same result before and after. Binary size is unchanged for both frpc and frps. Validation: - go build ./... - go test -count=1 ./... (all packages pass except the pre-existing test/e2e/compatibility failure, which needs explicit baseline binary flags and fails on a clean checkout as well) - make e2e with the real binaries: 261 passed, 2 skipped - repo-wide golangci-lint run: 0 issues - govulncheck ./...: unchanged (11 reachable standard-library advisories, no wireguard or gvisor entries) - Binary size with embedded web assets (CGO_ENABLED=0, -trimpath, -ldflags "-s -w"): frpc 15,607,842 bytes and frps 19,307,122 bytes, identical before and after - Manual virtual net smoke test on linux/arm64 (frps, an frpc virtual-net server and an frpc visitor over the built-in TUN): TUN name, MTU and routes match the old version, ICMP has 0% loss both ways, a 256 MB TCP transfer matches sha256, throughput is about 41 MB/s on both versions, and concurrent connections, high-rate pings, a 45s idle connection and restart recovery all pass without panics. The repository e2e suite has no virtual net coverage, so this is a one-off manual check.
76 lines
2.8 KiB
AMPL
76 lines
2.8 KiB
AMPL
module github.com/fatedier/frp
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
|
|
github.com/coreos/go-oidc/v3 v3.21.0
|
|
github.com/fatedier/golib v0.8.2
|
|
github.com/fatedier/yamux v0.3.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/mux v1.8.1
|
|
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674
|
|
github.com/onsi/ginkgo/v2 v2.34.0
|
|
github.com/onsi/gomega v1.44.0
|
|
github.com/pelletier/go-toml/v2 v2.4.3
|
|
github.com/pires/go-proxyproto v0.15.0
|
|
github.com/prometheus/client_golang v1.25.0
|
|
github.com/prometheus/client_model v0.6.3
|
|
github.com/prometheus/common v0.72.0
|
|
github.com/quic-go/quic-go v0.65.0
|
|
github.com/rodaine/table v1.4.1
|
|
github.com/samber/lo v1.53.0
|
|
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8
|
|
github.com/spf13/cobra v1.10.2
|
|
github.com/spf13/pflag v1.0.10
|
|
github.com/stretchr/testify v1.12.1
|
|
github.com/tidwall/gjson v1.20.0
|
|
github.com/vishvananda/netlink v1.3.1
|
|
github.com/xtaci/kcp-go/v5 v5.6.13
|
|
golang.org/x/crypto v0.58.0
|
|
golang.org/x/net v0.62.0
|
|
golang.org/x/oauth2 v0.37.0
|
|
golang.org/x/sync v0.24.0
|
|
golang.org/x/sys v0.49.0
|
|
golang.org/x/time v0.16.0
|
|
golang.zx2c4.com/wireguard v0.0.0-20261024220952-b3bc704ef0ee
|
|
gopkg.in/ini.v1 v1.67.3
|
|
k8s.io/apimachinery v0.37.2
|
|
k8s.io/client-go v0.37.2
|
|
k8s.io/utils v0.0.0-20261023123148-ca04ba58ecab
|
|
)
|
|
|
|
require (
|
|
github.com/Azure/go-ntlmssp v0.1.1 // indirect
|
|
github.com/Masterminds/semver/v3 v3.4.0 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/go-cmp v0.7.0 // indirect
|
|
github.com/google/pprof v0.0.0-20260402051712-545e8a4df936 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
|
|
github.com/klauspost/reedsolomon v1.12.0 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/prometheus/procfs v0.22.0 // indirect
|
|
github.com/templexxx/cpu v0.1.1 // indirect
|
|
github.com/templexxx/xorsimd v0.4.3 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/tjfoc/gmsm v1.4.1 // indirect
|
|
github.com/vishvananda/netns v0.0.5 // indirect
|
|
go.yaml.in/yaml/v2 v2.4.4 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
|
golang.org/x/mod v0.41.0 // indirect
|
|
golang.org/x/text v0.43.0 // indirect
|
|
golang.org/x/tools v0.51.0 // indirect
|
|
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
|
|
google.golang.org/protobuf v1.36.12 // indirect
|
|
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
|
|
sigs.k8s.io/yaml v1.6.0 // indirect
|
|
)
|