mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-25 14:46:04 +03:00
Fork of https://github.com/XTLS/Xray-core.
It's still up, but there's a risk that the upstream will be removed later.
anticensorshipdnsnetworkproxyrealityshadowsockssocks5tlstrojantunnelutlsvlessvmessvpnwireguardxrayxtlsxudp
f1c81557dc
Issue #2605 brought up real problem that QUIC dialer doesn't support sockopt at the moment. Inside `internet.DialSystem(...)` function, one of the branch that involves `redirect(...)` returns `cnc.connection` instance that is currently unhandled by the code logic, and thus caused program panic during runtime. It seems the sockopt support for QUIC protocol requires a couple changes including making `cnc.connection` public, such that we can handle in dialer, along with some thorough tests, this commit simply adds safety check to explicity state the fact that QUIC isn't working with sockopt. And the implementation of the feature can be scheduled later on. |
||
---|---|---|
.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, providing a set of network tools such as Xray-core and REALITY.
README is open, so feel free to submit your project here.
License
Mozilla Public License Version 2.0
Documentation
Telegram
Installation
- Linux Script
- Docker
- Web Panel
- One Click
- Magisk
- Homebrew
brew install xray
Usage
- Example
- Xray-examples
- Tutorial
GUI Clients
- OpenWrt
- Windows
- Android
- iOS & macOS arm64
- macOS arm64 & x64
- Linux
Others that support VLESS, XTLS, REALITY, XUDP, PLUX...
- iOS & macOS arm64
- Xray Tools
- Xray Wrapper
- XrayR
- Clash.Meta
- sing-box
Contributing
Credits
- Xray-core v1.0.0 was forked from v2fly-core 9a03cc5, and we have made & accumulated a huge number of enhancements over time, check the release notes for each version.
- For third-party projects used in Xray-core, check your local or the latest go.mod.
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