mirror of
https://github.com/amnezia-vpn/amnezia-xray-core.git
synced 2026-12-03 17:54:19 +07:00
[PR #29] [MERGED] Sync upstream Xray-core v26.10.31 with MPTCP security mitigation #29
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amnezia-xray-core#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amnezia-vpn/amnezia-xray-core/pull/29
Author: @FrogRocky
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @FrogRocky
Base:
master← Head:codex/sync-upstream-v26.10.31📝 Commits (10+)
2b329b3Bump docker/login-action from 4 to 4.5.2 (#6556)b02bdcfBump google.golang.org/grpc from 1.82.1 to 1.83.0 (#6585)fc5620dBump docker/login-action from 4.5.2 to 4.6.0 (#6610)bc6e966Bump github.com/cloudflare/circl from 1.6.4 to 1.6.5 (#6609)a000371Tunnel inbound: Support TPROXY on OpenBSD as well (#6546)a12801cRouting: AddlocalOSthat directly matchesruntime.GOOS(#6553)8b419d8Routing: Fixprocessfor macOS IPv4-mapped sockets (#6557)7d214f8WireGuard outbound: FixsendThroughsupport (#6570)7021606Bump google.golang.org/protobuf from 1.36.11 to 1.36.12 (#6616)09107b7Bump golang.org/x/net from 0.57.0 to 0.58.0 (#6633)📊 Changes
560 files changed (+55426 additions, -9889 deletions)
View changed files
📝
.github/docker/Dockerfile(+5 -11)📝
.github/docker/Dockerfile.usa(+5 -11)📝
.github/workflows/docker.yml(+1 -1)📝
.github/workflows/scheduled-assets-update.yml(+1 -1)📝
.github/workflows/test.yml(+4 -21)📝
app/commander/config.pb.go(+2 -2)📝
app/dispatcher/config.pb.go(+2 -2)📝
app/dispatcher/default.go(+3 -0)📝
app/dispatcher/fakednssniffer.go(+1 -1)📝
app/dns/config.go(+1 -1)📝
app/dns/config.pb.go(+24 -6)📝
app/dns/config.proto(+3 -0)📝
app/dns/dns.go(+42 -0)➕
app/dns/dns_internal_test.go(+59 -0)📝
app/dns/dnscommon.go(+2 -2)📝
app/dns/fakedns/fake.go(+3 -3)📝
app/dns/fakedns/fakedns.pb.go(+2 -2)➕
app/dns/lua.go(+169 -0)➕
app/dns/lua_benchmark_test.go(+121 -0)➕
app/dns/lua_test.go(+272 -0)...and 80 more files
📄 Description
Synchronize
masterwith XTLS/Xray-core v26.10.31 (a4a3dff5), including6ea0ab5d, which disables inbound MPTCP by default. Explicitsockopt.tcpMptcp: trueremains supported. Affected Linux hosts still require a kernel update for CVE-2026-98432.Review by commit
The fork starts from upstream v26.7.28, so the overall PR diff contains 560 files. Review the fork-specific adjustments through the individual commits below.
AtErrorcall, and notification protobuf generator header refresh..protofilesThe intermediate merge commit does not build by itself: the following API-compatibility commit is required. That combined snapshot builds and passes component tests independently of the later fwmark fix.
Merge conflict resolutions
Manual edits in the merge are limited to these nine conflicted paths:
.github/workflows/docker.yml: retain Docker Hub publishing and use the upstream login-action version.go.mod,go.sum: accept upstream dependency versions while retaining AmneziaWG v3.0.1.proxy/freedom/freedom.go: retain per-user context preparation alongside upstream's final-rule handling.proxy/vless/inbound/inbound.go: keep theosimport needed by notifications; remove obsolete reflection imports.proxy/tun/tun_freebsd.go,proxy/wireguard/netstack.go,proxy/wireguard/server.go,proxy/wireguard/tun_linux.go: retain AmneziaWG imports with the upstream stack implementation.For a local view of only the manual merge resolutions:
git show --remerge-diff 526b7e89.Validation
Handler.Dialregression also passed in an isolated Linux container.Upstream configuration migration: replace legacy JSON
outbound.proxySettingswithstreamSettings.sockopt.dialerProxy.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.