Amnezia Xray-core fork
Find a file
FrogRocky cb4718de36
Merge pull request #29 from amnezia-vpn/codex/sync-upstream-v26.10.31
Sync upstream Xray-core v26.10.31 with MPTCP security mitigation
2026-11-01 20:51:43 +01:00
.github Merge upstream Xray-core v26.10.31 into master 2026-11-01 13:13:28 +01:00
app Preserve per-user fwmarks through FinalMask dialers 2026-11-01 13:13:28 +01:00
common Merge upstream Xray-core v26.10.31 into master 2026-11-01 13:13:28 +01:00
core Xray-core v26.10.31 2026-10-31 13:20:19 +00:00
features Sockopt: Handle single-family interface binding on Windows, including TUN inbound's autoOutboundsInterface (#7214) 2026-10-28 10:15:58 +00:00
infra Merge upstream Xray-core v26.10.31 into master 2026-11-01 13:13:28 +01:00
main Commands: Fix xray api bi balancer1 balancer2 (#7299) 2026-10-31 07:21:32 +00:00
proxy Adapt Amnezia integration to the updated upstream APIs 2026-11-01 13:13:28 +01:00
testing Merge upstream Xray-core v26.10.31 into master 2026-11-01 13:13:28 +01:00
transport Remove whitespace defects in imported protobuf sources 2026-11-01 13:13:28 +01:00
.gitignore Update AmneziaWG dependency to v3.0.1 2026-07-24 16:18:21 +02:00
CODE_OF_CONDUCT.md
go.mod Adapt Amnezia integration to the updated upstream APIs 2026-11-01 13:13:28 +01:00
go.sum Adapt Amnezia integration to the updated upstream APIs 2026-11-01 13:13:28 +01:00
LICENSE
README.md README.md: Add Magic_V2Ray to Magisk in Installation (#6355) 2026-06-24 21:06:24 +00:00
SECURITY.md

Project X

Project X originates from XTLS protocol, providing a set of network tools such as Xray-core and REALITY.

README is open, so feel free to submit your project here.

Sponsors

Remnawave

Happ

BlancVPN

Sponsor Xray-core

Donation & NFTs

Collect a Project X NFT to support the development of Project X!

Project X NFT

License

Mozilla Public License Version 2.0

Documentation

Project X Official Website

Telegram

Project X

Project X Channel

Project VLESS (Русский)

Project XHTTP (Persian)

Installation

Usage

GUI Clients

Others that support VLESS, XTLS, REALITY, XUDP, PLUX...

Contributing

Code of Conduct

Ask DeepWiki

Credits

Bundled Third-Party Components Redistribution

Certain optional features dynamically load third-party components. These optional components are separate works distributed under their own licenses, and are bundled into the ZIP package for ease of use. Users may replace these components under the licenses from these components.

These components include:

Wintun

This distribution contains unmodified official precompiled and pre-signed Wintun binaries.

  • Project: Wintun
  • Copyright: Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
  • Redistribution License: Prebuilt Binaries License (PBL) bundled with official precompiled and pre-signed binaries from wintun.net
  • Component(s): wintun.dll
  • Source: https://www.wintun.net/
  • Included in:
    • Windows x86 (windows-32, win7-32)
    • Windows x86-64 (windows-64, win7-64)
    • Windows AArch64 (windows-arm64)
  • Notes: Wintun is an optional runtime-loaded component only used for TUN inbound functionality on supported Windows platforms.

One-line Compilation

Windows (PowerShell)

$env:CGO_ENABLED=0
go build -o xray.exe -trimpath -buildvcs=false -ldflags="-s -w -buildid=" -v ./main

Linux / macOS

CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -ldflags="-s -w -buildid=" -v ./main

Reproducible Releases

Make sure that you are using the same Go version, and remember to set the git commit id (7 bytes):

CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main

For Android:

GOOS=android GOARCH=arm64 CGO_ENABLED=1 CC=/path/to/aarch64-linux-android24-clang go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid= -checklinkname=0" -v ./main
GOOS=android GOARCH=amd64 CGO_ENABLED=1 CC=/path/to/x86_64-linux-android24-clang go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid= -checklinkname=0" -v ./main

If you are compiling a 32-bit MIPS/MIPSLE target, use this command instead:

CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -gcflags="-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main

Stargazers over time

Stargazers over time