yuhan6665
3778a367c8
Fix and simplify SockOpt in UDP
...
https://github.com/golang/go/issues/29277
2024-02-21 13:59:09 -05:00
yuhan6665
a0f1e1f377
FakeDNS return TTL=1 and drop HTTPS QType 65 request
...
Co-authored-by: qwerr0
2024-02-21 11:09:51 -05:00
风扇滑翔翼
c100d35b88
Fix a little version issue
2024-02-21 10:57:51 -05:00
Allo
f9653d0d88
chore(ci): use go version file to specify the go version
2024-02-20 10:45:25 -05:00
RPRX
ad3dd3df56
Update go.mod to specify Go 1.22
2024-02-19 15:16:43 +00:00
deorth-kku
cae94570df
Fixing tcp connestions leak
...
- always use HandshakeContext instead of Handshake
- pickup dailer dropped ctx
- rename HandshakeContextAddress to HandshakeAddressContext
2024-02-19 09:32:40 -05:00
RPRX
5ea1315b85
Update workflows to use Go 1.22
2024-02-18 06:55:47 +00:00
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>
2024-02-17 22:51:37 -05:00
yuhan6665
bf02392969
Temporarily turn off sockopt for UDP on windows
2024-02-17 13:22:39 -05:00
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
2024-02-17 11:16:37 -05:00
yuhan6665
09656bd5d1
Add back sleep for freedom splice
2024-02-15 21:18:56 -05:00
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>
2024-02-15 10:28:14 -05:00
lunafe
b091076bae
fix #2970 parsing IPv6 address in wireguard peers configure
2024-02-12 10:45:12 -05:00
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>
2024-02-07 21:08:24 -05:00
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>
2024-02-07 21:06:23 -05:00
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>
2024-02-07 21:06:16 -05:00
yuhan6665
d83ccaeea9
Clean up legacy compile directive
2024-02-06 21:17:21 -05:00
风扇滑翔翼
303beff5dd
Fix SockOpt does not work in UDP
2024-02-06 10:41:39 -05:00
Iain Lau
3a99520370
Add PROXY Protocol support for freedom outbound
2024-02-05 10:08:51 -05:00
RPRX
b56917fde5
README: Re-add Compilation
2024-02-04 09:36:41 +00:00
RPRX
ad3d347cfc
XTLS Vision: Apply padding to single XUDP by default at client side
...
Requires Xray-core v1.8.1+ at server side: 242f3b0e0b
2024-02-02 20:32:46 +00:00
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>
2024-01-31 22:58:46 -05:00
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>
2024-01-30 10:38:49 -05:00
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.
2024-01-26 04:42:45 -05:00
yuhan6665
3167a70ff8
Try to fix rare ssl error with freedom splice
2024-01-26 02:29:26 -05:00
チセ
25c531c6c3
Update README.md
2024-01-25 10:10:13 -05:00
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>
2024-01-24 10:25:16 -05:00
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>
2024-01-20 16:40:34 -05:00
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>
2024-01-20 16:40:22 -05:00
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>
2024-01-20 16:40:09 -05:00
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>
2024-01-16 10:52:01 -05:00
yuhan6665
10255bca83
Reduce size and time of KCP test
2024-01-15 10:37:56 -05:00
dyhkwong
da5a28a088
Fix #2654 ( #2941 )
...
* fix udp dispatcher
* fix test
2024-01-15 10:33:15 -05:00
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.
2024-01-12 22:09:04 -05:00
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>
2024-01-12 10:36:48 -05:00
Qi Lin
0ea2a50264
Add option realitySettings.masterKeyLog
2024-01-11 10:57:04 -05:00
nobody
961cf9d3b1
Remove slices dependency. ( #2930 )
...
* Remove slices dependency.
* Fix nil pointer dereference bug.
---------
Co-authored-by: nobody <nobody@nowhere.mars>
2024-01-11 10:34:26 -05:00
Qi Lin
2b08d8638e
Let tlsSettings.masterKeyLog
and tlsSettings.fingerprint
work together
2024-01-10 11:34:52 -05:00
Hossin Asaadi
81f9f567ff
sort Outbound selector output ( #2914 )
...
* clean code
* sort oubound selector output
* clean up
* fix duplicate outbound
2024-01-10 11:26:27 -05:00
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>
2024-01-10 11:18:40 -05:00
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>
2024-01-10 11:18:31 -05:00
yuhan6665
3f0bc13429
Update 1.8.7 and dependencies
2024-01-07 15:19:18 -05:00
hossinasaadi
9a2ab9b6a3
fix roundRobin
2024-01-07 14:27:37 -05:00
Lars Lehtonen
2fc4b31fcf
common/singbridge: fix dropped context
2024-01-02 19:56:14 -05:00
チセ
7b4db50c9d
Feat: Using Makefile
to build xray ( #2882 )
...
* Feat: Using `Makefile` to build xray
* Typo
2024-01-02 10:13:38 -05:00
dop-bot
60f7a03e1b
fix(dns): avoid early return when dns query refused ( #2878 )
...
* avoid early return when dns query refused
* address reviews
2024-01-01 23:03:36 -05:00
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>
2023-12-29 11:16:48 -05:00
Allo
006cf491e5
fix(conf): add Windows support for Unix Domain Socket in the fallback settings
2023-12-29 11:07:41 -05:00
R8s6
1dba70004f
Update README.md
...
Adding official docker repo.
2023-12-29 10:58:15 -05:00
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>
2023-12-25 22:25:43 -05:00