Meo597
36bff1bfe7
simplify ResolveLuaFile()
2026-10-26 00:37:28 +08:00
Meo597
20d107a28a
Platform: Consolidate regular file resolution
...
Reuse ResolveRegularFile for Lua loading/signing, local config, and assets.
Only evaluate file symlinks when needed, tolerating junction-related
resolution failures on a best-effort basis.
2026-10-25 23:52:22 +08:00
12b7f85de3
Routing: Fix Linux UDP process ( #7202 )
...
Fixes https://github.com/XTLS/Xray-core/issues/7192 and https://github.com/XTLS/Xray-core/pull/7195
---------
Co-authored-by: Faraquic! <141701604+faraquic@users.noreply.github.com >
2026-10-21 08:35:52 +00:00
𐲓𐳛𐳪𐳂𐳐 𐲀𐳢𐳦𐳫𐳢 𐲥𐳔𐳛𐳪𐳌𐳑𐳖𐳇 and GitHub
de1bbbff88
GitHub Actions: Switch geodata to XTLS/Xray-rules-dat ( #7185 )
...
https://github.com/XTLS/Xray-core/pull/7185#issuecomment-6247177356
2026-10-21 08:18:32 +00:00
Meow and RPRX
ac5d8a83ba
Lua: Sandbox by default (whitelisted functions); Disable inline scripts for now; Add more checks for security reasons ( #7136 )
...
https://github.com/XTLS/Xray-core/pull/7136#issuecomment-6158632073
https://github.com/XTLS/Xray-core/pull/7136#issuecomment-6170831601
https://github.com/XTLS/Xray-core/pull/7136#issuecomment-6184362904
2026-10-16 01:55:35 +00:00
Meow and GitHub
5a64db009b
Lua: Support inline scripts; Add ./xray base64 encode/decode [-gzip] command ( #7132 )
...
https://github.com/XTLS/Xray-core/pull/7124#issuecomment-6110557806
https://github.com/XTLS/Xray-core/pull/7132#issuecomment-6118169645
https://github.com/XTLS/Xray-core/pull/7132#issuecomment-6126428359
2026-10-12 16:58:20 +00:00
Meow and GitHub
8855145e58
Xray-core: Add Lua script for dns and routing ( #6823 )
...
https://github.com/XTLS/Xray-core/pull/6823#issuecomment-5843754759
https://github.com/XTLS/Xray-core/pull/6823#issuecomment-5861456450
https://github.com/XTLS/Xray-core/pull/6823#issuecomment-6093596069
2026-10-10 09:01:16 +00:00
Artem Lytkin and GitHub
836a6fed38
Mux client: Fix b.UDP being overwritten by the next frame ( #6822 )
...
https://github.com/XTLS/Xray-core/pull/6822#issuecomment-5993165787
2026-10-08 09:24:11 +00:00
Artem Lytkin and GitHub
2eedef51a2
DNS: Fix pubsub cleanup sizing every topic's slice by the topic count ( #7091 )
...
https://github.com/XTLS/Xray-core/pull/7091#pullrequestreview-5414371870
2026-10-08 05:08:43 +00:00
7da5dae650
Mux client: Fix a race condition between Dispatch and SessionManager.Close ( #6871 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6870
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-10-05 09:52:18 +00:00
5121c28b85
QUIC sniffer: Handle zero-filled datagram tails ( #6882 )
...
https://github.com/XTLS/Xray-core/pull/6882#pullrequestreview-5395639793
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-10-05 03:53:22 +00:00
Artem Lytkin and GitHub
6243d2a26e
Geodata: Reduce matcher memory on mobile and desktop, skip regexes that cannot match ( #6867 )
...
https://github.com/XTLS/Xray-core/pull/6867#issuecomment-5895171934
2026-09-29 19:25:53 +00:00
风扇滑翔翼
35e616d3b9
Xray-core: Move PacketConnWrapper to common/net ( #6854 )
...
https://github.com/XTLS/Xray-core/pull/6854#issuecomment-5895541650
Fixes https://github.com/XTLS/Xray-core/issues/6849
2026-09-30 02:33:53 +08:00
Artem Lytkin and GitHub
2953d44734
Geodata: Reduce MPH matcher runtime memory usage ( #6821 )
...
https://github.com/XTLS/Xray-core/pull/6821#issuecomment-5860086534
2026-09-27 21:52:37 +00:00
风扇滑翔翼 and GitHub
65e853ed84
SS2022 proxy: Refactor to remove sing* dependencies ( #6831 )
...
https://github.com/XTLS/Xray-core/pull/4356#issuecomment-2639571931
2026-09-27 18:42:53 +00:00
风扇滑翔翼 and RPRX
61cad5ec8b
Xray-core: Reduce error log usage for performance ( #6796 )
...
https://github.com/XTLS/Xray-core/pull/6796#issuecomment-5807809588
2026-09-25 17:59:49 +00:00
Artem Lytkin and GitHub
a642a190ed
Geodata: Prefilter regexp rules by their required literals ( #6818 )
...
https://github.com/XTLS/Xray-core/pull/6818#issuecomment-5833512067
2026-09-25 17:25:52 +00:00
ccb69ea5e2
common/buf/readv_windows.go: Fix raw WSARecv blocking thread and preventing connection close ( #6743 )
...
https://github.com/XTLS/Xray-core/pull/6743#issuecomment-5647971870
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-09-12 19:51:59 +00:00
18a1b5042a
Finalmask: Make "udpHop" a new UDP mask ( #6327 )
...
https://github.com/XTLS/Xray-core/pull/6327#issuecomment-5592421364
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-09-08 22:15:02 +00:00
Meow and GitHub
3e2f040cd8
Direct/Freedom outbound: Better Compatibility ( #6058 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6393
2026-09-08 03:31:25 +00:00
Hossin Asaadi and GitHub
6ce8dc53e7
common/buf/writer.go: Fix buffered writes failing when payload exceeds remaining capacity ( #6723 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5287
2026-09-07 21:14:41 +00:00
d9c54026c5
Sniffing: Support QUICv2 ( #6695 )
...
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-08-30 12:15:25 +00:00
风扇滑翔翼
65458e919f
Config: Fix some issues ( #6640 )
...
https://github.com/XTLS/Xray-core/pull/6640#issuecomment-5420106315
Fixes https://github.com/XTLS/Xray-core/issues/6636
Fixes https://github.com/XTLS/Xray-core/issues/6600
...
2026-08-27 20:03:59 +08:00
9b373e39ca
Sniffer: Fix SniffUTP() ( #6667 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6664
---------
Co-authored-by: n0ctal <4c866w5fn9@privaterelay.appleid.com >
2026-08-25 16:49:14 +00:00
yiguodev and GitHub
8b419d833d
Routing: Fix process for macOS IPv4-mapped sockets ( #6557 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6533
2026-08-12 05:40:07 +00:00
yiguodev and RPRX
5b1b41058e
Routing: Exclude iOS from Darwin for process ( #6524 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6434#issuecomment-5016175948
2026-07-27 12:40:18 +00:00
风扇滑翔翼 and GitHub
8f15190c23
QUIC sniffer: Fix potential panic on malformed QUIC packets again ( #6471 )
...
Fixes https://github.com/XTLS/Xray-core/security/advisories/GHSA-xqmr-94vq-cxvx
Fixes https://github.com/XTLS/Xray-core/security/advisories/GHSA-9h6x-9r9m-5qw2
2026-07-10 21:40:50 +00:00
yiguodev and GitHub
d5bc58dc6b
Root config: Add env config ( #6400 )
...
https://github.com/XTLS/Xray-core/pull/6400#issuecomment-4880198100
https://github.com/XTLS/Xray-core/pull/6400#issuecomment-4916892425
https://github.com/XTLS/Xray-core/pull/6400#issuecomment-4929136670
2026-07-10 02:56:49 +00:00
yiguodev and GitHub
987290ba48
Routing: process supports macOS as well ( #6447 )
...
https://github.com/XTLS/Xray-core/pull/6434#issuecomment-4903384018
2026-07-08 11:03:24 +00:00
d7fa2076c3
Xray-core: Forbid unencrypted outbounds on public Internet for VLESS and Trojan; Remove "none/zero/plain" for VMess and Shadowsocks ( #6303 )
...
https://github.com/XTLS/Xray-core/pull/5640#issuecomment-4611416512
https://github.com/XTLS/Xray-core/pull/6303#issuecomment-4668055274
---------
Co-authored-by: Meow <197331664+Meo597@users.noreply.github.com >
2026-07-07 02:01:53 +00:00
Meow and GitHub
be8009c625
Geodata: Cleanup unneeded matchers & domain: ignore case ( #6342 )
...
Completes https://github.com/XTLS/Xray-core/pull/6139
2026-06-19 12:02:27 +00:00
Meow and GitHub
711aea4e34
XHTTP & WS & HU & gRPC servers: Require sockopt.trustedXForwardedFor ( #6309 )
...
https://github.com/XTLS/Xray-core/pull/6258#issuecomment-4663652131
Behavior: https://github.com/XTLS/Xray-core/pull/6258#issuecomment-4746598275
Replaces https://github.com/XTLS/Xray-core/pull/6159
2026-06-18 22:31:21 +00:00
LjhAUMEM and RPRX
862631172d
WireGuard proxy: Refactor ( #6287 )
...
And https://github.com/XTLS/Xray-core/pull/6303#issuecomment-4669158076
Fixes https://github.com/XTLS/Xray-core/issues/6257
2026-06-17 12:02:10 +00:00
𐲓𐳛𐳪𐳂𐳐 𐲀𐳢𐳦𐳫𐳢 𐲥𐳔𐳛𐳪𐳌𐳑𐳖𐳇 and GitHub
d43a808ea5
GitHub Action CI: Add Go source file format check ( #6090 )
...
https://github.com/XTLS/Xray-core/pull/6057#issuecomment-4364819830
And https://github.com/XTLS/Xray-core/pull/6149#issuecomment-4546876261
2026-05-29 15:04:59 +00:00
LjhAUMEM and GitHub
1cd7d25fec
header-custom finalmask: Remove headerConnMode headerReadAddrAware interface ( #6193 )
...
https://github.com/XTLS/Xray-core/pull/5920#issuecomment-4253108964
https://github.com/XTLS/Xray-core/pull/6193#issuecomment-4531875088
2026-05-28 19:44:16 +00:00
风扇滑翔翼 and GitHub
d878fc83f8
SS2022 inbound: Fix potential panic when dispatching ( #6162 )
...
https://github.com/XTLS/Xray-core/pull/6162#issuecomment-4496738737
2026-05-24 12:50:02 +00:00
风扇滑翔翼 and GitHub
56bb63668c
Geodata: Cleanup unneeded shared matchers (weakly referenced in map) ( #6139 )
...
https://github.com/XTLS/Xray-core/pull/6139#issuecomment-4525195265
2026-05-23 12:23:52 +00:00
Yury Kastov and GitHub
da9ba693cb
Config: Support abstract unix sockets in remote loader ( #6111 )
...
Replaces https://github.com/XTLS/Xray-core/pull/5200
2026-05-22 19:49:19 +00:00
Meow and RPRX
906d49a271
Direct/Freedom outbound: Prefer IPv4 for finalRules' "AsIs" ( #6075 )
...
https://github.com/XTLS/Xray-core/pull/6075#issuecomment-4391684629
https://github.com/XTLS/Xray-core/pull/6075#issuecomment-4392629645
https://github.com/XTLS/Xray-core/pull/6075#issuecomment-4395258425
2026-05-07 14:12:39 +00:00
Yury Kastov and GitHub
1ead940a71
Config: Parallel for for inbounds' clients ( #6055 )
...
https://github.com/XTLS/Xray-core/pull/6055#issuecomment-4360958652
2026-05-02 13:32:59 +00:00
bdff2fa72e
Config: Support env XRAY_JSON_STRICT=true ( #6053 )
...
https://github.com/XTLS/Xray-core/pull/6053#issuecomment-4363840170
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-05-02 13:11:40 +00:00
Meow and GitHub
3bc24a3d5d
Geodata: Support automatically updating .dat files and hot reloading ( #5992 )
...
https://github.com/XTLS/Xray-core/pull/5992#issuecomment-4320551920
Usage: https://github.com/XTLS/Xray-core/pull/5992#issuecomment-4291168039
2026-04-25 21:20:42 +00:00
1a14ffcec6
Geodata strmatcher: Restore lenient Type.New(Domain) behavior ( #5989 )
...
https://github.com/XTLS/Xray-core/pull/5989#issuecomment-4288238360
Fixes https://github.com/XTLS/Xray-core/issues/5986#issuecomment-4288010800
---------
Co-authored-by: Meow <197331664+Meo597@users.noreply.github.com >
2026-04-25 17:08:23 +00:00
Meow and GitHub
bc590bcb56
Geodata: Reduce memory usage again ( #5975 )
...
https://github.com/XTLS/Xray-core/pull/5975#issuecomment-4274779560
2026-04-25 16:15:37 +00:00
Meow and GitHub
7cf25970de
IPMatcher: Fix full CIDR issue ( #5971 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5977
2026-04-25 16:07:04 +00:00
Meow and GitHub
31ab22c33d
Geodata: Support reversed CIDR rules in IP rules ( #5951 )
...
https://github.com/XTLS/Xray-core/pull/5947#issuecomment-4258063215
https://github.com/XTLS/Xray-core/pull/5951#issuecomment-4260093653
2026-04-17 22:13:35 +00:00
Meow and GitHub
d42c981f9c
DomainMatcher: Fix Match() result slice aliasing race ( #5959 )
...
Fixes https://github.com/XTLS/Xray-core/pull/5814
2026-04-17 22:07:58 +00:00
RPRX and GitHub
9dd17d55fb
XUDP GetGlobalID(): Remove inbound.Name == "wireguard" for now
...
https://github.com/XTLS/Xray-core/pull/5947#issuecomment-4256423483
2026-04-15 23:47:21 +00:00
Иван and GitHub
05e259c8e4
header-custom finalmask: Add UDP standalone handshake mode ( #5945 )
...
https://github.com/XTLS/Xray-core/commit/175502d8079aa5a151242ed911d01a1b90b98b28
2026-04-15 16:21:23 +00:00
Meow and GitHub
5b91b152bb
DomainMatcher: Reduce startup time on Android as well ( #5935 )
...
https://github.com/XTLS/Xray-core/pull/5924#issuecomment-4242355080
2026-04-15 12:00:41 +00:00