Meow
82624bcaf0
Xray-core: Refactor geodata ( #5814 )
...
https://github.com/XTLS/Xray-core/issues/4422#issuecomment-3533007890
Breaking changes https://github.com/XTLS/Xray-core/pull/5569
Reverts https://github.com/XTLS/Xray-core/pull/5505
Closes https://github.com/XTLS/Xray-core/pull/643
2026-04-13 16:42:29 +00:00
Yury Kastov
78fc2865ea
Routing: Add webhook to rules ( #5722 )
...
https://github.com/XTLS/Xray-core/pull/5722#issuecomment-3953836108
2026-03-07 10:49:46 +00:00
Hossin Asaadi
61e1153157
MPH domian matcher: Support building & using cache directly (instead of building from geosite.dat when Xray starts) ( #5505 )
...
Like https://github.com/XTLS/Xray-core/pull/5488#issuecomment-3710995080
2026-01-31 13:22:00 +00:00
Meow
9a04eecaf9
Geodat: Reduce peak memory usage ( #5581 )
...
Fixes 5f7474120f
2026-01-26 10:45:25 +00:00
风扇滑翔翼
5f7474120f
Geofiles: Revert related changes for now, waiting for better changes ( #5557 )
...
Reverts 5d94a62a83 c715154309 961c352127 36425d2a6e
Fixes https://github.com/XTLS/Xray-core/issues/5538 https://github.com/XTLS/Xray-core/issues/5536
2026-01-17 12:40:53 +00:00
Hossin Asaadi
36425d2a6e
Tests: Improve geosite & geoip tests ( #5502 )
...
https://github.com/XTLS/Xray-core/pull/5488#issuecomment-3711843548
2026-01-08 08:00:49 +00:00
风扇滑翔翼
446df149bd
Routing config: Replace processName with process (full-name/abs-path/abs-folder) ( #5496 )
...
About `self/` & `xray/`: https://github.com/XTLS/Xray-core/pull/5496#issuecomment-3714620380
Replaces https://github.com/XTLS/Xray-core/pull/5489
2026-01-06 14:03:21 +00:00
Hossin Asaadi
961c352127
DNS: Fix parse domain and geoip ( #5499 )
...
Fixes https://github.com/XTLS/Xray-core/pull/5488#issuecomment-3712856715
2026-01-06 12:21:50 +00:00
Hossin Asaadi
c715154309
Routing: Reduce peak memory usage ( #5488 )
...
https://github.com/XTLS/Xray-core/pull/5488#issuecomment-3711430369
For https://github.com/XTLS/Xray-core/issues/4422
2026-01-05 23:02:40 +00:00
风扇滑翔翼
7265b5ac3f
Routing config: Add processName ( #5489 )
2026-01-05 01:12:13 +00:00
Meow
2185a730d2
perf(router): adjust the order of rules to optimize performance ( #5267 )
2025-11-21 05:30:16 +00:00
Meow
fcfb0a302a
perf(GeoIPMatcher): faster heuristic matching with reduced memory usage ( #5289 )
2025-11-21 02:54:01 +00:00
RPRX
105b306d07
VLESS practice: Use user-sent VLESS UUID's last byte as vlessRoute for routing rules
...
https://github.com/XTLS/Xray-core/pull/5009#issuecomment-3194262087
2025-08-17 13:55:18 +00:00
patterniha
40ce850bd9
Direct/Freedom config: Add targetStrategy as an alias of domainStrategy; Routing config: Remove domainMatcher, "linear" and type ( #5027 )
...
https://github.com/XTLS/Xray-core/pull/5006#issuecomment-3193547307
2025-08-16 14:54:10 +00:00
patterniha
5dce7e4e25
Router: Add localIP and localPort; Add sourceIP as an alias of source ( #4992 )
...
https://github.com/XTLS/Xray-core/discussions/4984#discussioncomment-13990687
Closes https://github.com/XTLS/Xray-core/issues/4993
2025-08-07 23:50:39 +00:00
Kobe Arthur Scofield
57a41f3b4b
Config: Remove more legacy fields ( #3817 )
2024-09-19 01:05:59 +00:00
yuhan6665
079d0bd8a9
Refactor log ( #3446 )
...
* Refactor log
* Add new log methods
* Fix logger test
* Change all logging code
* Clean up pathObj
* Rebase to latest main
* Remove invoking method name after the dot
2024-06-29 14:32:57 -04:00
yuhan6665
84eeb56ae4
Select alive only node when fallbackTag is given
...
- Apply to random and roundrobin strategy
- Require observatory config
Co-authored-by: Mark Ma <38940419+mkmark@users.noreply.github.com >
2024-05-05 10:11:29 -04:00
Hossin Asaadi
53e5814d19
API - Add | Remove Routing Rules ( #3189 )
...
* add RuleTag to routing rules
* add router pb commands
* add and remove routing rules api
* cleanup
* fix
* improve error msg
* add append flag
apply balancer config
2024-03-29 11:17:36 -04:00
yuhan6665
69e1734e3a
Apply FallbackTag to leastping and roundrobin
2024-03-15 14:49:31 -04: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
Hossin Asaadi
01c14a5994
add Round-Robin Strategy to balancer ( #2844 )
...
* add Round-Robin Strategy
* clean up
2023-12-24 15:29:10 -05:00
cty
b24a4028f1
fix(app/router): fixed a bug in geoip matching with refactoring ( #2489 )
...
* Refactor the IP address matching with netipx library
* Add a regression test for previous bug
Fixes https://github.com/XTLS/Xray-core/issues/1933
---------
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com >
2023-08-26 15:11:37 +00:00
yuhan6665
a6c5c57930
Support regex matching with attr ( #2258 )
...
* Support regex matching with attr
* Add test case
* Optimizing regex parsing at core start
* simpliy
2023-06-27 08:04:09 +00:00
yuhan6665
bf4b1fab3c
Simplify http attrabute matching
...
In the past, we use Starlark script, it is over engineered and barely used.
By switching to simple key value string contains logic we can reduce core size about 0.7MB
2023-06-12 10:25:45 -04:00
yuhan6665
abb8ba8b0e
Observatory related fixes ( #788 )
...
* fix:observatory not supported by multi-json
* Fix: observatory starts with empty config & fails to close (#957 )
* Update strategy_leastping.go (#1019 )
* add custom probe URL support for observatory
* add custom probe interval for observer
* apply coding style
* Fix: observatory log & JSON config(#1211 )
Co-authored-by: ihotte <ihotte@yeah.net >
* Change default probe url from api.v2fly.org to www.google.com
* Cherry-pick missing code from branch 'dev-advloadblancer-2'
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com >
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com >
Co-authored-by: fanyiguan <52657276+fanyiguang@users.noreply.github.com >
Co-authored-by: ihotte <3087168217@qq.com >
Co-authored-by: ihotte <ihotte@yeah.net >
2021-10-26 13:00:31 +08:00
yuhan6665
e286cdcaa8
Style: format code by gofumpt ( #761 )
2021-10-20 00:57:14 +08:00
秋のかえで
7b7084f825
Refactor: A faster DomainMatcher implementation ( #348 )
...
Co-authored-by: DarthVader <61409963+darsvador@users.noreply.github.com >
2021-04-18 13:21:17 +08:00
RPRX
f8faf3c8b8
Removal: confonly
2020-12-11 13:05:29 +08:00
RPRX
16544c18ab
v1.1.0
2020-12-04 09:36:16 +08:00
RPRX
c7f7c08ead
v1.0.0
2020-11-25 19:01:53 +08:00