RPRX
5ea1315b85
Update workflows to use Go 1.22
9 months ago
yuhan6665
fa5d7a255b
Least load balancer ( #2999 )
...
* v5: Health Check & LeastLoad Strategy (rebased from 2c5a71490368500a982018a74a6d519c7e121816)
Some changes will be necessary to integrate it into V2Ray
* Update proto
* parse duration conf with time.Parse()
* moving health ping to observatory as a standalone component
* moving health ping to observatory as a standalone component: auto generated file
* add initialization for health ping
* incorporate changes in router implementation
* support principle target output
* add v4 json support for BurstObservatory & fix balancer reference
* update API command
* remove cancelled API
* return zero length value when observer is not found
* remove duplicated targeted dispatch
* adjust test with updated structure
* bug fix for observer
* fix strategy selector
* fix strategy least load
* Fix ticker usage
ticker.Close does not close ticker.C
* feat: Replace default Health Ping URL to HTTPS (#1991 )
* fix selectLeastLoad() returns wrong number of nodes (#2083 )
* Test: fix leastload strategy unit test
* fix(router): panic caused by concurrent map read and write (#2678 )
* Clean up code
---------
Co-authored-by: Jebbs <qjebbs@gmail.com>
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
Co-authored-by: 世界 <i@sekai.icu>
Co-authored-by: Bernd Eichelberger <46166740+4-FLOSS-Free-Libre-Open-Source-Software@users.noreply.github.com>
Co-authored-by: 秋のかえで <autmaple@protonmail.com>
Co-authored-by: Rinka <kujourinka@gmail.com>
9 months ago
yuhan6665
bf02392969
Temporarily turn off sockopt for UDP on windows
9 months ago
yuhan6665
a15334b395
Go back to first fix (revet d21e9b0abd
)
...
Xtls is magic, don't play with it ;)
A knowledged guess is the timing to switch to splice is very sensitive. Now both Xtls and Freedom outound do the switching when pipe just finished one buffer
9 months ago
yuhan6665
09656bd5d1
Add back sleep for freedom splice
10 months ago
dependabot[bot]
40e41d8b6b
Bump google.golang.org/grpc from 1.61.0 to 1.61.1
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.61.0 to 1.61.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.0...v1.61.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
lunafe
b091076bae
fix #2970 parsing IPv6 address in wireguard peers configure
10 months ago
dependabot[bot]
7c9e3f97f1
Bump golang.org/x/net from 0.20.0 to 0.21.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
c5713eb952
Bump golang.org/x/crypto from 0.18.0 to 0.19.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
7c8bec8596
Bump golang.org/x/sys from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
yuhan6665
d83ccaeea9
Clean up legacy compile directive
10 months ago
风扇滑翔翼
303beff5dd
Fix SockOpt does not work in UDP
10 months ago
Iain Lau
3a99520370
Add PROXY Protocol support for freedom outbound
10 months ago
RPRX
b56917fde5
README: Re-add Compilation
10 months ago
RPRX
ad3d347cfc
XTLS Vision: Apply padding to single XUDP by default at client side
...
Requires Xray-core v1.8.1+ at server side: 242f3b0e0b
10 months ago
dependabot[bot]
dd635c7c8d
Bump nick-fields/retry from 2 to 3
...
Bumps [nick-fields/retry](https://github.com/nick-fields/retry ) from 2 to 3.
- [Release notes](https://github.com/nick-fields/retry/releases )
- [Changelog](https://github.com/nick-fields/retry/blob/master/.releaserc.js )
- [Commits](https://github.com/nick-fields/retry/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: nick-fields/retry
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
813f9a33b7
Bump github.com/refraction-networking/utls from 1.6.1 to 1.6.2
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.6.1...v1.6.2 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
yuhan6665
d21e9b0abd
Try a better fix for rare ssl error with freedom splice
...
It seems the root cause is if the flag set at the inbound pipe reader, it is a race condition and freedom outbound can possibly do splice at the same time with inbound xtls writer.
Now we set the flag at the earliest and always do splice at the next buffer cycle.
10 months ago
yuhan6665
3167a70ff8
Try to fix rare ssl error with freedom splice
10 months ago
チセ
25c531c6c3
Update README.md
10 months ago
dependabot[bot]
d97a29f55b
Bump google.golang.org/grpc from 1.60.1 to 1.61.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.60.1 to 1.61.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.60.1...v1.61.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
53de58fad3
Bump github.com/miekg/dns from 1.1.57 to 1.1.58
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.57 to 1.1.58.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.57...v1.1.58 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
4bffd5114d
Bump github.com/quic-go/quic-go from 0.40.1 to 0.41.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.40.1 to 0.41.0.
- [Release notes](https://github.com/quic-go/quic-go/releases )
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/quic-go/quic-go/compare/v0.40.1...v0.41.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
360272a77d
Bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
nobody
d20a835016
Fix concurrent map writes error in ohm.Select(). ( #2943 )
...
* Add unit test for ohm.tagsCache.
* Fix concurrent map writes in ohm.Select().
---------
Co-authored-by: nobody <nobody@nowhere.mars>
11 months ago
yuhan6665
10255bca83
Reduce size and time of KCP test
11 months ago
dyhkwong
da5a28a088
Fix #2654 ( #2941 )
...
* fix udp dispatcher
* fix test
11 months ago
yuhan6665
77376ed94f
Reduce size and time of UDP test
...
In the past, the UDP test in mass parallel proved to be the source of instability. This change try to improve pass rate.
11 months ago
nobody
7f7f57d3b6
Add tags cache to app.proxyman.ohm.Select() ( #2927 )
...
* Add tags cache to ohm.Select().
* Refactor round-robin.
* Fix a bug.
---------
Co-authored-by: nobody <nobody@nowhere.mars>
11 months ago
Qi Lin
0ea2a50264
Add option `realitySettings.masterKeyLog`
11 months ago
nobody
961cf9d3b1
Remove slices dependency. ( #2930 )
...
* Remove slices dependency.
* Fix nil pointer dereference bug.
---------
Co-authored-by: nobody <nobody@nowhere.mars>
11 months ago
Qi Lin
2b08d8638e
Let `tlsSettings.masterKeyLog` and `tlsSettings.fingerprint` work together
11 months ago
Hossin Asaadi
81f9f567ff
sort Outbound selector output ( #2914 )
...
* clean code
* sort oubound selector output
* clean up
* fix duplicate outbound
11 months ago
dependabot[bot]
2fa5c299ac
Bump github.com/refraction-networking/utls from 1.6.0 to 1.6.1
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
dependabot[bot]
8a6b9e7420
Bump golang.org/x/net from 0.19.0 to 0.20.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
yuhan6665
3f0bc13429
Update 1.8.7 and dependencies
11 months ago
hossinasaadi
9a2ab9b6a3
fix roundRobin
11 months ago
Lars Lehtonen
2fc4b31fcf
common/singbridge: fix dropped context
11 months ago
チセ
7b4db50c9d
Feat: Using `Makefile` to build xray ( #2882 )
...
* Feat: Using `Makefile` to build xray
* Typo
11 months ago
dop-bot
60f7a03e1b
fix(dns): avoid early return when dns query refused ( #2878 )
...
* avoid early return when dns query refused
* address reviews
11 months ago
nobody
44bb83033f
Add sub-command "-dump" to "run". ( #2854 )
...
* Add MarshalToJson().
* Add cmd arg -dump for printing out merged multiple json configs.
---------
Co-authored-by: nobody <nobody@nowhere.mars>
11 months ago
Allo
006cf491e5
fix(conf): add Windows support for Unix Domain Socket in the fallback settings
11 months ago
R8s6
1dba70004f
Update README.md
...
Adding official docker repo.
11 months ago
dependabot[bot]
1dc9a72068
Bump google.golang.org/protobuf from 1.31.0 to 1.32.0
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.32.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
yuhan6665
eacdda3c93
Fix connecting to quic outbound with domain address
11 months ago
Allo
b0bf0d7fd5
fix(conf): add Windows support for Unix Domain Socket
11 months ago
hossinasaadi
b7f21be8bc
fix ecdh crash in reality
11 months ago
Hossin Asaadi
01c14a5994
add Round-Robin Strategy to balancer ( #2844 )
...
* add Round-Robin Strategy
* clean up
11 months ago
风扇滑翔翼
9becf02316
allow empty route type
...
default field
11 months ago
dependabot[bot]
f51bf98714
Bump golang.org/x/crypto from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago