mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-22 08:31:28 +00:00
anticensorshipdnsnetworkproxyrealityshadowsockssocks5tlstrojantunnelutlsvlessvmessvpnwireguardxrayxtlsxudp
340234166b
* Add TCP keep alive idle setting * Add TCP keep alive idle setting: auto generated * Add TCP keep alive support in Linux * Add TCP keep alive support in MacOS, FreeBSD * Add TCP keep alive support in Windows * fix bug introduced in adding tcp keep alive adjustment * embed macOS const to avoid platform inconsistency * embed macOS const to avoid platform inconsistency(again) * add TCP Keep Alive support in config * use sys/unix instead of syscall Suggestion from: https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647 * use sys/unix instead of syscall Suggestion from: https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647 * Separate TcpKeepAliveIdle and TcpKeepAliveInterval check logic * Disable tcp keepAlive when TcpKeepAliveIdle < 0 and TcpKeepAliveInterval <= 0 Co-authored-by: xqzr <34030394+xqzr@users.noreply.github.com> Co-authored-by: ValdikSS <iam@valdikss.org.ru> Co-authored-by: Shelikhoo <xiaokangwang@outlook.com> Co-authored-by: xqzr <34030394+xqzr@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) (This project had been archived and currently inactive)
- 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