mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 19:33:32 +02:00
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
anticensorshipdnsnetworkproxyrealityshadowsockssocks5tlstrojantunnelutlsvlessvmessvpnwireguardxrayxtlsxudp
b413066012
* Fix UDP destination override * Fix code style * Fix fakedns object init Do type convertion at runtime in case if user don't use fakedns in config. Since dispatcher now depend on fakedns object, move the injection order of fakedns to top (As a temporary solution) * Amend logic for handing fakedns client A map is used by server side when client turn on fakedns Client will send domain address in the buffer.UDP.Address, server record all possible target IP addrs. When target replies, server will restore the domain and send back to client. Co-authored-by: hmol233 <82594500+hmol233@users.noreply.github.com> |
||
---|---|---|
.github | ||
app | ||
common | ||
core | ||
features | ||
infra | ||
main | ||
proxy | ||
testing | ||
transport | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md |
Project X
Project X originates from XTLS protocol, provides a set of network tools such as Xray-core.
License
Mozilla Public License Version 2.0
Installation
- Linux Script
- Docker
- One Click
- Magisk
- Homebrew
brew install xray
- (Tap) Repository 0
- (Tap) Repository 1
Contributing
Usage
Xray-examples / VLESS-TCP-XTLS-WHATEVER
GUI Clients
- OpenWrt
- Windows
- v2rayN
- Qv2ray (This project had been archived and currently inactive)
- Netch (NetFilter & TUN/TAP)
- Android
- iOS & macOS (with M1 chip)
- macOS (Intel chip & M1 chip)
Credits
This repo relies on the following third-party projects:
- Special thanks:
- In production:
- For testing only:
Compilation
Windows
go build -o xray.exe -trimpath -ldflags "-s -w -buildid=" ./main
Linux / macOS
go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main