diff --git a/go.mod b/go.mod index 85cfbab83..a717e8029 100644 --- a/go.mod +++ b/go.mod @@ -22,7 +22,7 @@ require ( github.com/sagernet/sing-shadowsocks v0.2.7 github.com/stretchr/testify v1.12.1 github.com/vishvananda/netlink v1.3.1 - github.com/xtls/reality v0.0.0-20260322125925-9234c772ba8f + github.com/xtls/reality v0.0.0-20260908062103-8cdf7bf9c7f0 go4.org/netipx v0.0.0-20231129151722-fdeea329fbba golang.org/x/crypto v0.55.0 golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 diff --git a/go.sum b/go.sum index c0c5e9763..d8e174e9f 100644 --- a/go.sum +++ b/go.sum @@ -87,8 +87,8 @@ github.com/vishvananda/netns v0.0.5 h1:DfiHV+j8bA32MFM7bfEunvT8IAqQ/NzSJHtcmW5zd github.com/vishvananda/netns v0.0.5/go.mod h1:SpkAiCQRtJ6TvvxPnOSyH3BMl6unz3xZlaprSwhNNJM= github.com/wlynxg/anet v0.0.5 h1:J3VJGi1gvo0JwZ/P1/Yc/8p63SoW98B5dHkYDmpgvvU= github.com/wlynxg/anet v0.0.5/go.mod h1:eay5PRQr7fIVAMbTbchTnO9gG65Hg/uYGdc7mguHxoA= -github.com/xtls/reality v0.0.0-20260322125925-9234c772ba8f h1:iy2JRioxmUpoJ3SzbFPyTxHZMbR/rSHP7dOOgYaq1O8= -github.com/xtls/reality v0.0.0-20260322125925-9234c772ba8f/go.mod h1:DsJblcWDGt76+FVqBVwbwRhxyyNJsGV48gJLch0OOWI= +github.com/xtls/reality v0.0.0-20260908062103-8cdf7bf9c7f0 h1:rb+fKQFhz+5I2PPuQsNYxI5mUU840XWYtRF0ZBjvkws= +github.com/xtls/reality v0.0.0-20260908062103-8cdf7bf9c7f0/go.mod h1:DsJblcWDGt76+FVqBVwbwRhxyyNJsGV48gJLch0OOWI= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= diff --git a/infra/conf/transport_security.go b/infra/conf/transport_security.go index ec45d5555..b5cd7d28b 100644 --- a/infra/conf/transport_security.go +++ b/infra/conf/transport_security.go @@ -113,10 +113,10 @@ func (c *REALITYConfig) Build() (proto.Message, error) { config.MinClientVer[i] = byte(u) } } - errors.LogWarning(context.Background(), `REALITY: Changing "minClientVer" will increase the likelihood of your server's IP being blocked by the GFW`) + // errors.LogWarning(context.Background(), `REALITY: Changing "minClientVer" will increase the likelihood of your server's IP being blocked by the GFW`) } else { - config.MinClientVer = []byte{26, 3, 27} // change it at your own risk: https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770 - errors.LogWarning(context.Background(), `REALITY: The default minimal client version is Xray-core v26.3.27, other clients may be refused to connect`) + // config.MinClientVer = []byte{26, 3, 27} // change it at your own risk: https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770 + // errors.LogWarning(context.Background(), `REALITY: The default minimal client version is Xray-core v26.3.27, other clients may be refused to connect`) } if c.MaxClientVer != "" { config.MaxClientVer = make([]byte, 3) diff --git a/testing/scenarios/vless_test.go b/testing/scenarios/vless_test.go index ca176cf7a..1ff4809dd 100644 --- a/testing/scenarios/vless_test.go +++ b/testing/scenarios/vless_test.go @@ -509,7 +509,7 @@ func TestVlessXtlsVisionReality(t *testing.T) { // This testing test all known utls fingerprint in tls.PresetFingerprints that support reality (expect unsafe and random*) // Beacuse figerprint support may be broken after utls/reality update -// Known broken fingerprint: android, 360 +// Known working fingerprint: chrome, firefox, safari func TestVlessRealityFingerprints(t *testing.T) { TestFingerprint := func(fingerprint string) error { tcpServer := tcp.Server{ @@ -641,7 +641,7 @@ func TestVlessRealityFingerprints(t *testing.T) { } return nil } - fingerPrints := []string{"chrome", "firefox", "safari", "ios", "edge", "qq"} + fingerPrints := []string{"chrome", "firefox", "safari"} wg := sync.WaitGroup{} wg.Add(len(fingerPrints)) for _, fp := range fingerPrints {