Meo597
5d1d8200d9
dns: unify the Lua API for local and configured DNS
...
Expose localdns.Client in xray.dns.Servers with the ID "localhost",
so Lua scripts can use the same server API for both clients.
2026-10-01 21:58:09 +08:00
Meo597
2440f53cdd
feat(router): add Lua scripting for routing script
2026-10-01 18:25:53 +08:00
Meo597
1c52c65872
geodata: rename Lua matcher constructors to BuildDomainMatcher and BuildIPMatcher
2026-09-28 22:52:45 +08:00
Meo597
5724db08f4
lua: standardize hooks and host APIs on PascalCase
2026-09-28 22:52:14 +08:00
Meo597
3d3306503d
geodata: flatten Lua matcher rule arguments
2026-09-28 22:23:04 +08:00
Meo597
5e1bb92b98
dns: reduce Lua allocations with flat arguments and returns and native IP slice userdata
2026-09-28 22:12:47 +08:00
Meo597
3982028a9c
lua: lower camel case
2026-09-26 17:58:25 +08:00
Meo597
219f758060
add log module
2026-09-26 14:40:15 +08:00
Meo597
9628003594
Reduce memory usage
2026-09-26 06:20:34 +08:00
Meo597
72d9ab50b9
add tests
2026-09-26 06:16:54 +08:00
Meo597
235843c5d2
feat(dns): add Lua scripting for DNS queries
2026-09-26 05:37:23 +08: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
风扇滑翔翼 and GitHub
f124daf5a3
Observatory: Fix consuming 100% CPU when no outbound matches subjectSelector ( #6669 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6666
2026-08-25 18:30:33 +00:00
598bde7412
Router: Refactor to fix API data race ( #6678 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6673
---------
Co-authored-by: Kosta <makostadev@xyecoc.com >
2026-08-25 18:00:14 +00:00
风扇滑翔翼 and GitHub
7d214f8b09
WireGuard outbound: Fix sendThrough support ( #6570 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6559
2026-08-12 08:38:01 +00:00
fanymagnet and GitHub
a12801c13b
Routing: Add localOS that directly matches runtime.GOOS ( #6553 )
...
https://github.com/XTLS/Xray-core/pull/6553#issuecomment-5262686006
2026-08-12 05:29:32 +00:00
0bafca9486
Stats: Fix GetOrRegister*() races ( #6468 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6467#issue-4856851059
---------
Co-authored-by: Joshua Su <i@joshua.su >
2026-07-10 20:34:27 +00:00
yiguodev and GitHub
dda2b10c9d
TUN inbound: Add traffic counters; Metrics: Rely on instance ( #6349 )
...
https://github.com/XTLS/Xray-core/pull/6349#issuecomment-4775121300
2026-06-24 12:00:22 +00:00
风扇滑翔翼 and RPRX
7e7e820763
Geodata: Apply uTLS Chrome fingerprint when downloading ( #6371 )
...
Closes https://github.com/XTLS/Xray-core/issues/6369
2026-06-24 10:52:28 +00:00
风扇滑翔翼 and GitHub
ac04c445bd
DNS: Fix unexpected TTL clamp ( #6363 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6359
2026-06-23 11:48:17 +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
95e9816223
Chore: Limit sing* dependencies to shadowsocks_2022 only ( #6286 )
...
https://github.com/XTLS/Xray-core/pull/6286#issuecomment-4658968225
2026-06-09 10:55:42 +00:00
风扇滑翔翼 and GitHub
06b4931743
TUN inbound: Start TUN by AlwaysOnInboundHandler ( #6275 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6274
2026-06-09 09:22:33 +00:00
风扇滑翔翼 and GitHub
c4dfcd4c1a
Burst observatory: Fix init check ( #6221 )
...
https://github.com/XTLS/Xray-core/pull/6106#issuecomment-4587975865
2026-06-01 01:30:40 +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
ca4b156b57
Burst observatory: Fix time compare, cancel pending ping on instance close or new schedule started ( #6106 )
...
https://github.com/XTLS/Xray-core/pull/6106#issuecomment-4448117773
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-05-29 11:59:24 +00:00
Meow and GitHub
a2cec2e580
DNS: Avoid panic on domain too long ( #6207 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6204
2026-05-28 20:06:32 +00:00
cb206ddc74
DNS: Avoid passing domain to WriteTo func ( #6163 )
...
https://github.com/XTLS/Xray-core/pull/6163#issuecomment-4528771758
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-05-28 18:27:08 +00:00
风扇滑翔翼 and GitHub
ee2b2c5ab6
leastLoad balancer: Implement missing tolerance ( #6156 )
...
Closes https://github.com/XTLS/Xray-core/issues/6154
2026-05-24 12:27:12 +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
Kosta and GitHub
e61eeae258
Tunnel inbound: Fix panic when listening on UDS for Xray's internal services (e.g. API) ( #6062 )
...
And API supports listening on UNIX domain socket directly
Completes https://github.com/XTLS/Xray-core/pull/5693
2026-05-02 20:56:47 +00:00
LjhAUMEM and GitHub
1d62941bd2
Hysteria: Upgrade to official v2.8.2 ( #6041 )
...
https://github.com/XTLS/Xray-core/pull/6041#issuecomment-4357417742
And fixes https://github.com/XTLS/Xray-core/issues/6039
2026-05-02 12:27:27 +00:00
Meow and RPRX
4e87f59628
Direct/Freedom outbound: Add finalRules (matches network, port and ip, then action) with default safe policies ( #6027 )
...
Document: https://xtls.github.io/config/outbounds/freedom.html#finalruleobject
https://github.com/XTLS/Xray-core/pull/6027#issuecomment-4335790980
https://github.com/XTLS/Xray-core/pull/6027#issuecomment-4336309055
https://github.com/XTLS/Xray-core/pull/6027#issuecomment-4338269638
Closes https://github.com/XTLS/Xray-core/issues/6018#issuecomment-4329273637
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-05-02 01:58:43 +00:00
风扇滑翔翼 and GitHub
7ab0a3ccb7
FakeDNS: Little fix ( #6022 )
...
https://github.com/XTLS/Xray-core/pull/6021#issuecomment-4344638838
2026-05-01 22:57:51 +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
d0f533f94a
app/router/condition.go: Retrieve original target in net.FindProcess() when "IPIfNonMatch" is enabled ( #5979 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5980
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-04-25 17:45:03 +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
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
310b764811
Direct/Freedom outbound: Add ipsBlocked (supports IP, CIDR, "geoip:", "ext:") and apply a default safe policy ( #5947 )
...
https://github.com/XTLS/Xray-core/pull/5892#issuecomment-4254056911
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-04-15 23:41:11 +00:00
Meow and GitHub
7c56b7beea
DNS: Log rule matches and client order when finalQuery returns early ( #5936 )
2026-04-15 12:06:13 +00:00
Meow and GitHub
d342361c89
Sniffing: Add ipsExcluded (supports IP, CIDR, "geoip:", "ext:") ( #5929 )
...
https://github.com/XTLS/Xray-core/pull/5927#issuecomment-4238197075
https://github.com/XTLS/Xray-core/pull/5929#issuecomment-4238550443
2026-04-13 18:08:51 +00:00
Meow and GitHub
f17fabfff5
Sniffing: domainsExcluded supports "geosite:" ( #5927 )
...
https://github.com/XTLS/Xray-core/pull/5927#issuecomment-4238238050
https://github.com/XTLS/Xray-core/pull/5927#issuecomment-4238119874
2026-04-13 17:39:53 +00:00
Meow and GitHub
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
f27edc3172
Routing: process supports UID on Android ( #5915 )
...
Example: https://github.com/XTLS/Xray-core/pull/5915#issuecomment-4232122895
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-04-13 13:17:53 +00:00
Yury Kastov and GitHub
a91a88c7b2
API & Commands: Add GetUsersStatsRequest(); Improve api statsonlineiplist ( #5776 )
...
https://github.com/XTLS/Xray-core/pull/5776#issuecomment-4230007504
2026-04-11 19:09:24 +00:00
Rynnya and Fangliding
6a1a13b797
TUN inbound: Closable by AlwaysOnInboundHandler ( #5860 )
...
https://github.com/XTLS/Xray-core/pull/5860#issuecomment-4193477738
2026-04-07 16:32:06 +08:00
Alexey Cherednichenko and Fangliding
6c4008edad
Observatory: Clear removed outbounds ( #5876 )
...
* fix: prune stale observatory status
* More readable
Refactor observer to clear removed outbounds instead of updating status. Introduced slices package for improved outbound checking.
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-04-07 16:32:06 +08:00
Lumière Élevé and GitHub
9e09399087
Xray-core: More robust browser header masquerading (chrome, firefox, edge) ( #5802 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5800
2026-03-21 12:24:08 +00:00