Repository navigation
Conversation
feat(controller): name the core in GET /version
fix(deps): restore full ResTLS validation and avoid resumption panic
- UserLimit.SpeedGroup (speed-group): the users that name the same group, on any inbounds, share one pair of speed buckets. A speed change retunes the buckets in place, so what was spent before still counts. - UserManager.SetLimits sets and removes many limits with one rebuild. - Manager.SetOnLeave: a function called with every tracked connection and UDP session as it ends, for traffic by destination without wrapping the connections (a wrapper keeps them from being spliced).
feat(statistic): speed groups, SetLimits and OnLeave
docs(limits): speed-group in the default limit; changelog for #151
VLESS (WebSocket, gRPC, XHTTP) and Trojan (WebSocket, gRPC) on an HTTP transport answered every request that was not theirs with a bare 404: a browser opening the server's address or a name it serves saw nothing like a site. fallback-page is an HTML file such a request gets at "/" (a plain 404 elsewhere), XHTTP's for another Host too. Only with an HTTP transport: a handler makes the listener serve HTTP, which plain VLESS and Trojan do not.
… with a page - A WebSocket path of "/" with fallback-page panicked: ServeMux took the pattern twice. fallback.WebSocket builds the handler for VLESS and Trojan alike; on the path itself a request that is no upgrade gets the page. - The page is read like the other files a config names: under the safe paths, and no more than MaxPage of it. - XHTTP takes the page as a Fallback of its own, for another host, a path outside its own, a request without its padding, or no XHTTP request at all, without the headers set for an XHTTP response. HttpHandler is as before: without a page nothing changes.
feat(listener): fallback-page for the requests not the inbound's own
ci(test): cover the complete inbound suite with race detector
test(socks): bind the UDP association tests below the ephemeral range
Windows and macOS builds are desktop clients: they never see the rate of new connections the ballast is for, and it adds up to 8 MB of garbage between GC cycles there. Android and iOS already went without it. Idea from Rerowros/veles.
Pin the interop job to Xray-core v26.11.9 (Xray-linux-64.zip SHA2-256 b651f7e1...5f82, matches the release .dgst and the GitHub asset digest). REALITY clients report 26.11.9 by default; tests, config.yaml comments, the compatibility and roadmap pages and the landing follow.
Bump getmikan/utls to the feat/chrome155 commit, which adds HelloChrome_155 (ported from refraction-networking/utls 6ebdceb2, verified there against Chrome 155.0.8059.40) and points HelloChrome_Auto to it, as Xray-core 26.11.9 did. - chrome and hellochrome_auto now send the Chrome 155 hello: GREASE and ML-DSA-44/65/87 in signature_algorithms, trust_anchors (0xca34) with 28 Chrome Root Store IDs. - New names chrome155 and hellochrome_155; chrome133 keeps the old hello reachable next to hellochrome_133. - Chrome 155 carries its own X25519MLKEM768 key share, so REALITY sends it untouched; the REALITY tests cover chrome155 and chrome133. - test/ and test/bench take the same utls replace (bench go.mod is tidied to the root module's versions). - Migration notes (RU/EN) and the config.yaml hint.
chore(gcballast): allocate the ballast on Linux servers only
chore(xray): move Xray compatibility to v26.11.9
Under the race runtime goroutine start-up is delayed by up to about 2 s under this subtest's load, which runs into the 2 s HTTP/2 first-SETTINGS timeout and ends some requests with unexpected EOF. It passes without -race; the race job keeps the sequential traffic and sing-mux subtests.
test(inbound): skip the concurrent Sudoku subtest under -race
feat(tls): client-fingerprint chrome is Chrome 155
A proxy-provider without its own age-secret-key passes "" to age.DecryptBytes, which failed with "no identities found" before the global secret keys were tried.
… heap (MetaCubeX#3454) go.mod / go.sum: github.com/easytier/easytier/easytier-go v0.0.0-20260910071355-3d0c9c3ca5e2 -> v0.0.0-20261111015056-2abb1676b475 Upstream: EasyTier/EasyTier#2782 (690b6be4778f). Guest linear memory now lives outside the Go heap (PROT_NONE reservation committed in place), Hosts share one wazero CompilationCache, and the first compile is followed by FreeOSMemory. Measured on Alpha (one easytier outbound, 4 peers: 2 tcp + 2 udp, persistent flows through mihomo's SOCKS5 inbound, VmRSS): 200 flows: 389.9 MiB -> 205.1 MiB 400 flows: 702.0 MiB -> 287.9 MiB first dial: 220.1 MiB -> 107.8 MiB second outbound: +49.4 MiB / 2.0 s -> +12.4 MiB / 76 ms
# Conflicts: # go.sum
ci: Go 1.26.11 toolchain
Sync with mihomo v1.19.34
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Третий бета-релиз Citrus:
v1.0.0-beta.3.Вливает в
mainвсё, что накопилось вdevпосле беты 2: #130 и #134–#148 (влиты уже после тегаv1.0.0-beta.2) и #149–#190.type: desync— DIRECT-соединение для сетей с DPI, на библиотеке desync v0.2; Windows, Linux, macOS, Android.egress-guard(feat(egress): keep server inbound users off private and local addresses #162), выбор корневых сертификатов (feat(ca): root CA source option and a denylist of state interception CAs #161),speed-group(feat(statistic): speed groups, SetLimits and OnLeave #151), лимит подпотоков sing-mux (feat(listener): cap sing-mux sub-streams per connection #187), доступ после окончания подписки наIN-USERи лимитах (test(route): cover access after a subscription ends #189).dns-modeдля TUN, переписанный Sudoku с лимитами Citrus. Режим Snell v6unsafe-rawотклоняется (без PSK это открытый прокси); на Linux безauto-routeDNS по-прежнему уходит в туннель.-race(ci(test): cover the complete inbound suite with race detector #150), флейки (fix(bench): pin Xray v26.10.21, the v26.10.17 release is gone #164, test(dns): pick random port pairs for the fake DNSCrypt server #165, test(xhttp): wait for onClose after a read deadline #173–test(listener): tell reserved ports from listeners in the h3 port checks #175, test(inbound): fix the SOCKS UDP and XHTTP H3 flakes #186, test(socks): bind the UDP association tests below the ephemeral range #190), проверка брендинга в синхронизации (fix(ci): match the gofmt-aligned branding constants in upstream sync #184).Полный список — журнал изменений. Этот мерж заодно чинит красный Xray interop на
main: вmainещё закреплён go1.26.9, а MetaCubeX перевыпустил сборки Go.Что меняется для существующих конфигов:
mode: unsafe-raw— ошибка конфига; провайдер пропускает такой узел с предупреждением.auto-routeи префиксом без адреса для DNS (например, только/32без IPv6) не запускается; раньше запускался без DNS.Известное: TUIC принимает не больше 2048 потоков на одно QUIC-соединение. Форки utls, tls, smux и restls-client-go пока берутся по псевдоверсиям коммитов из их веток
dev, теги выбраны, но не опубликованы.После мержа релиз собирается вручную: workflow Build,
version = v1.0.0-beta.3наmain.