Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
Go to file
yuhan6665 340234166b
Add TCPKeepAliveIdle in Sockopt option (#1166)
* 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>
2022-07-31 09:55:40 -04:00
.github Update dependencies and Go 1.18 2022-04-23 19:36:07 -04:00
app Unify dns log 2022-07-24 23:54:58 -04:00
common Refactor to stdlib error unwrap method 2022-06-01 11:03:06 +08:00
core Update version 1.5.9 2022-07-15 22:05:40 -04:00
features Reformat code 2022-05-18 15:29:01 +08:00
infra Add TCPKeepAliveIdle in Sockopt option (#1166) 2022-07-31 09:55:40 -04:00
main Use protojson for marshal api output 2022-07-15 22:05:40 -04:00
proxy Update dependencies 2022-07-16 09:33:03 +08:00
testing Add udp over tcp support for shadowsocks-2022 2022-06-01 11:49:02 +08:00
transport Add TCPKeepAliveIdle in Sockopt option (#1166) 2022-07-31 09:55:40 -04:00
.gitignore Make reverse proxy compatible with v2fly (#924) 2022-02-04 21:59:50 -05:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#941) (#749) 2021-10-22 12:38:40 +08:00
LICENSE v1.0.0 2020-11-25 19:01:53 +08:00
README.md Add Stash to the iOS & macOS Client 2022-06-11 08:01:30 -04:00
go.mod Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 2022-07-28 22:47:35 -04:00
go.sum Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 2022-07-28 22:47:35 -04:00

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

Contributing

Code Of Conduct

Usage

Xray-examples / VLESS-TCP-XTLS-WHATEVER

GUI Clients

Credits

This repo relies on the following third-party projects:

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

Telegram

Project X

Project X Channel

Stargazers over time

Stargazers over time