mirror of
https://github.com/fatedier/frp.git
synced 2026-11-05 07:01:39 +08:00
Upgrade github.com/xtaci/kcp-go/v5 from v5.6.13 to v5.6.73. The templexxx/cpu and templexxx/xorsimd indirect dependencies are no longer required and are dropped from go.mod and go.sum. The go and toolchain lines are unchanged and no other module changes. This release carries the KCP-side fixes frp relies on: write backpressure and duplicate fast-retransmit suppression, ACK and fast-retransmit flush timing, the zero-window probe interval, and MTU accounting for FEC overhead. The wire format is unchanged and frp interoperates with peers on the old version in both directions. kcp-go marks UDPSession.SetStreamMode as deprecated, but frp still needs stream mode and there is no replacement. The calls stay as they are and a staticcheck exclusion scoped to pkg/util/net/kcp.go is added to .golangci.yml instead of //nolint comments. No code changes. This is not a security fix: govulncheck reports the same result before and after. Binary size with embedded web assets (CGO_ENABLED=0, -trimpath, -ldflags "-s -w"): darwin/arm64 frpc 15,607,842 -> 15,591,282 (-16,560) and frps 19,307,122 -> 19,290,434 (-16,688); linux/amd64 frpc 17,416,354 -> 17,449,122 (+32,768) and frps 21,274,786 -> 21,311,650 (+36,864). 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 (263 specs: 261 passed, 2 skipped) - repo-wide golangci-lint run: 2 SA1019 reports without the exclusion, 0 issues with it - govulncheck ./...: unchanged (11 reachable standard-library advisories, no kcp-go or xtaci entries) - Manual KCP throughput check on linux/arm64 loopback (frpc <-> frps over transport.protocol=kcp with TLS, yamux and FEC 10/3): a single 256 MB transfer goes from 7.8 MB/s to about 153 MB/s and 8 x 16 MB concurrent transfers from 7.8 MB/s to about 470 MB/s with matching sha256, and old and new peers interoperate in both directions. The repository e2e suite has no KCP throughput assertions, so this is a one-off manual check.
74 lines
2.7 KiB
AMPL
74 lines
2.7 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.73
|
|
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/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
|
|
)
|