Skip to content

Commit 47cfe99

Browse files
committed
Update github.com/xtls/reality to 20260908062103
XTLS/REALITY@8cdf7bf XTLS/REALITY@e1986a4 XTLS/REALITY@393f8de
1 parent 3e2f040 commit 47cfe99

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ require (
2222
github.com/sagernet/sing-shadowsocks v0.2.7
2323
github.com/stretchr/testify v1.12.1
2424
github.com/vishvananda/netlink v1.3.1
25-
github.com/xtls/reality v0.0.0-20260322125925-9234c772ba8f
25+
github.com/xtls/reality v0.0.0-20260908062103-8cdf7bf9c7f0
2626
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba
2727
golang.org/x/crypto v0.55.0
2828
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ github.com/vishvananda/netns v0.0.5 h1:DfiHV+j8bA32MFM7bfEunvT8IAqQ/NzSJHtcmW5zd
8787
github.com/vishvananda/netns v0.0.5/go.mod h1:SpkAiCQRtJ6TvvxPnOSyH3BMl6unz3xZlaprSwhNNJM=
8888
github.com/wlynxg/anet v0.0.5 h1:J3VJGi1gvo0JwZ/P1/Yc/8p63SoW98B5dHkYDmpgvvU=
8989
github.com/wlynxg/anet v0.0.5/go.mod h1:eay5PRQr7fIVAMbTbchTnO9gG65Hg/uYGdc7mguHxoA=
90-
github.com/xtls/reality v0.0.0-20260322125925-9234c772ba8f h1:iy2JRioxmUpoJ3SzbFPyTxHZMbR/rSHP7dOOgYaq1O8=
91-
github.com/xtls/reality v0.0.0-20260322125925-9234c772ba8f/go.mod h1:DsJblcWDGt76+FVqBVwbwRhxyyNJsGV48gJLch0OOWI=
90+
github.com/xtls/reality v0.0.0-20260908062103-8cdf7bf9c7f0 h1:rb+fKQFhz+5I2PPuQsNYxI5mUU840XWYtRF0ZBjvkws=
91+
github.com/xtls/reality v0.0.0-20260908062103-8cdf7bf9c7f0/go.mod h1:DsJblcWDGt76+FVqBVwbwRhxyyNJsGV48gJLch0OOWI=
9292
github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
9393
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
9494
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=

‎infra/conf/transport_security.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ func (c *REALITYConfig) Build() (proto.Message, error) {
113113
config.MinClientVer[i] = byte(u)
114114
}
115115
}
116-
errors.LogWarning(context.Background(), `REALITY: Changing "minClientVer" will increase the likelihood of your server's IP being blocked by the GFW`)
116+
// errors.LogWarning(context.Background(), `REALITY: Changing "minClientVer" will increase the likelihood of your server's IP being blocked by the GFW`)
117117
} else {
118-
config.MinClientVer = []byte{26, 3, 27} // change it at your own risk: https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770
119-
errors.LogWarning(context.Background(), `REALITY: The default minimal client version is Xray-core v26.3.27, other clients may be refused to connect`)
118+
// config.MinClientVer = []byte{26, 3, 27} // change it at your own risk: https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770
119+
// errors.LogWarning(context.Background(), `REALITY: The default minimal client version is Xray-core v26.3.27, other clients may be refused to connect`)
120120
}
121121
if c.MaxClientVer != "" {
122122
config.MaxClientVer = make([]byte, 3)

‎testing/scenarios/vless_test.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ func TestVlessXtlsVisionReality(t *testing.T) {
509509

510510
// This testing test all known utls fingerprint in tls.PresetFingerprints that support reality (expect unsafe and random*)
511511
// Beacuse figerprint support may be broken after utls/reality update
512-
// Known broken fingerprint: android, 360
512+
// Known working fingerprint: chrome, firefox, safari
513513
func TestVlessRealityFingerprints(t *testing.T) {
514514
TestFingerprint := func(fingerprint string) error {
515515
tcpServer := tcp.Server{
@@ -641,7 +641,7 @@ func TestVlessRealityFingerprints(t *testing.T) {
641641
}
642642
return nil
643643
}
644-
fingerPrints := []string{"chrome", "firefox", "safari", "ios", "edge", "qq"}
644+
fingerPrints := []string{"chrome", "firefox", "safari"}
645645
wg := sync.WaitGroup{}
646646
wg.Add(len(fingerPrints))
647647
for _, fp := range fingerPrints {

0 commit comments

Comments
 (0)