Lumière Élevé
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
Copilot
b7a22c729b
Xray-core: Dynamic Chrome User-Agent for all HTTP requests by default (overwriteable through config) ( #5658 )
...
https://github.com/XTLS/Xray-core/issues/4996#issuecomment-3855274627
https://github.com/XTLS/Xray-core/pull/5658#issuecomment-3857332687
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
Co-authored-by: Fangliding <63339210+Fangliding@users.noreply.github.com >
2026-02-06 01:42:31 +00:00
RPRX
d14767d4f3
Chore: Generate *.pb.go files with protoc v6.33.5
...
Download https://github.com/protocolbuffers/protobuf/releases/tag/v33.5
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.11
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.6.0
(Xray-core/) go run ./infra/vprotogen
2026-02-03 09:34:02 +00:00
Dmitrii Makhno
5b849d51a9
XHTTP transport: New options for bypassing CDN's detection ( #5414 )
...
Usage: https://github.com/XTLS/Xray-core/pull/5414#issuecomment-3770071786
Closes https://github.com/XTLS/Xray-core/issues/4346
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-01-31 13:34:13 +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
LjhAUMEM
92ada2dd1d
Proxy: Add Hysteria outbound & transport (version 2, udphop) and Salamander udpmask ( #5508 )
...
https://github.com/XTLS/Xray-core/issues/3547#issuecomment-3549896520
https://github.com/XTLS/Xray-core/issues/2635#issuecomment-3570871754
2026-01-13 13:31:51 +00:00
风扇滑翔翼
07a0dafa41
DNS: Check err for UDP dns.PackMessage(req.msg) ( #5512 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5506
2026-01-09 14:22:07 +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
Meow
7f6ceb39f7
DomainMatcher: Prevent illegal domain rules from causing core startup failures ( #5430 )
...
Closes https://github.com/XTLS/Xray-core/issues/5429
2025-12-23 10:14:42 +00:00
风扇滑翔翼
a610a4c89a
Chore: Remove all double gonet import ( #5402 )
2025-12-10 07:17:29 +00:00
Meow
ed5f7e7af5
fix(dns): inheritance issue with disableCache ( #5351 )
2025-11-27 02:12:37 +00:00
RPRX
2969a189e6
Sockopt config: Add trustedXForwardedFor (for XHTTP, WS, HU inbounds) ( #5331 )
...
Fixes https://github.com/XTLS/Xray-core/pull/5101#issuecomment-3404979909
2025-11-23 01:09:49 +00:00
Meow
f14fd1cbee
feat(dns): add parallel query ( #5239 )
2025-11-21 05:45:42 +00:00
Meow
cd51f57535
feat(dns): add optimistic caching ( #5237 )
2025-11-21 05:38:06 +00:00
Meow
4956e65824
perf(dns): cache network capability check ( #5244 )
2025-11-21 05:35:45 +00:00
Meow
fcfb0a302a
perf(GeoIPMatcher): faster heuristic matching with reduced memory usage ( #5289 )
2025-11-21 02:54:01 +00:00
Meow
b40bf56e4e
refactor(dns): enhance cache safety, optimize performance, and refactor query logic ( #5248 )
2025-11-21 02:45:09 +00:00
vanserox
27ad487545
DNS: Fix wrong protocol parse ( #5232 )
...
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2025-11-21 02:31:34 +00:00
patterniha
593ededd3e
Trojan-UoT & UDP-nameserver: Fix forgotten release buffer; UDP dispatcher: Simplified and optimized ( #5050 )
2025-08-29 14:31:46 +00:00
xqzr
c2141f09e7
Test_parseResponse(t *testing.T): Use dns.google for IPv6 ( #5060 )
2025-08-27 09:37:13 +00:00
xqzr
ef640ed309
checkSystemNetwork(): Use c.root-servers.net ( #5059 )
2025-08-27 09:36:33 +00:00
patterniha
f557bf7da4
Outbound: Add targetStrategy; Fix mux does not close link.Reader; Fix origin does not work on UDP; Add logs ( #5006 )
2025-08-15 20:51:36 +00:00
风扇滑翔翼
b1107b9810
Refine must2 and apply NewAesGcm() to all usage ( #5011 )
...
* Refine must2 and apply NewAesGcm() to all usage
* Remove unused package
* Fix test
2025-08-10 21:37:46 -04:00
j2rong4cn
923b5d7229
DNS hosts: Support returning RCode ( #4681 )
2025-07-23 10:11:43 +00:00
xDragonZ
3a2ac9d0bf
Bump quic-go to v0.53.0 & update codes ( #4906 )
2025-07-19 00:21:18 +00:00
patterniha
6232e230d9
DNS New Features: disableCache, finalQuery, unexpectedIPs, "*", UseSystem-queryStrategy, useSystemHosts ( #4666 )
2025-06-06 01:59:16 +00:00
patterniha
882975ce5a
DNS Host: Removing code that was not being executed and should not be executed. ( #4721 )
...
* Removing a piece of code that was not being executed and should not be executed.
* Remove d.dns
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2025-05-15 10:15:03 -04:00
patterniha
59aa5e1b88
DNS: temporary appending hosts results ( #4702 )
2025-05-06 18:11:08 -04:00
patterniha
54c6513fd4
DNS: Extend hosts Abilities ( #4673 )
2025-04-30 04:32:52 +00:00
patterniha
aa4134f4a6
DNS: Fix some bugs; Refactors; Optimizations ( #4659 )
2025-04-29 08:39:57 +00:00
peter zhang
922ae98a4a
DNS log: Optimize IP address display ( #4630 )
2025-04-23 03:10:20 +00:00
patterniha
1685c61e44
DNS: Use cache for NXDOMAIN (rcode 3 error) ( #4560 )
...
https://github.com/XTLS/Xray-core/pull/4558#issuecomment-2759007356
2025-03-29 14:29:48 +00:00
patterniha
5922caff89
DNS: Add expectedIPs as an alias of expectIPs ( #4551 )
...
https://github.com/XTLS/Xray-core/discussions/1903#discussioncomment-5543921
2025-03-26 12:18:58 +00:00
Meo597
4afe2d0cff
DNS: Support returning upstream TTL to clients ( #4526 )
...
Closes https://github.com/XTLS/Xray-core/issues/4527
2025-03-24 13:33:56 +00:00
RPRX
607c2a6d31
DNS DoH: Use EDNS0 with 100-300 padding by default (body padding)
...
https://github.com/XTLS/Xray-core/pull/4516#issuecomment-2744093003
2025-03-21 20:13:09 +00:00
patterniha
1067171e6a
DNS: Add timeoutMs for DnsServerObject ( #4523 )
2025-03-21 10:24:58 +00:00
风扇滑翔翼
86a225cda1
DNS: Retry with EDNS0 when response is truncated ( #4516 )
2025-03-21 08:58:51 +00:00
风扇滑翔翼
6f8e253dec
DNS: Add tag for DnsServerObject ( #4515 )
...
Closes https://github.com/XTLS/Xray-core/issues/4505
2025-03-21 08:58:24 +00:00
patterniha
6a211a0bb9
DNS: Add allowUnexpectedIPs for DnsServerObject ( #4497 )
...
Closes https://github.com/XTLS/Xray-core/issues/4424
2025-03-20 12:09:02 +00:00
风扇滑翔翼
335845a9b2
DNS: Ensure order for DNS server match ( #4510 )
...
Fixes https://github.com/XTLS/Xray-core/issues/4508
2025-03-20 11:21:21 +00:00
RPRX
e466b0497c
DNS DoH: Use Chrome's fingerprint & keepAlivePeriod, Add header padding by default
...
https://github.com/XTLS/Xray-core/discussions/4430#discussioncomment-12374292
2025-03-03 14:45:12 +00:00
RPRX
613c63b165
DNS DoH h2c Remote: Add verifyPeerCertInNames "fromMitm" support
...
https://github.com/XTLS/Xray-core/issues/4313#issuecomment-2645838663
2025-02-08 18:05:41 +00:00
RPRX
a7a83624c5
Upgrade quic-go to official v0.49.0
...
https://github.com/quic-go/quic-go/releases/tag/v0.49.0
https://github.com/quic-go/quic-go/pull/4749
https://github.com/quic-go/quic-go/pull/4798
2025-01-26 11:47:30 +00:00
RPRX
2522cfd7be
DNS DoH: Add h2c Remote mode (with TLS serverNameToVerify)
...
https://github.com/XTLS/Xray-core/issues/4313#issuecomment-2609339864
Applies https://github.com/refraction-networking/utls/pull/161
Closes https://github.com/XTLS/Xray-core/issues/4313
2025-01-25 10:51:44 +00:00
风扇滑翔翼
f4fd8b8fad
DNS: Implement queryStrategy for "localhost" ( #4303 )
...
Fixes https://github.com/XTLS/Xray-core/issues/4302
2025-01-19 07:39:54 +00:00
yuhan6665
42aea01fb5
Core: Add mutex to injection resolution ( #4206 )
...
* Revert "Add RequireFeaturesAsync() that works regardless order of app init"
* Add mutex to injection resolution
- Turns out we already support async DI resolution regardless of feature ordering
Previous code contain a race condition causing some resolution is lost
- Note that the new mutex cover s.pendingResolutions and s.features
but must not cover callbackResolution() due to deadlock
- Refactor some method names and simplify code
* Add OptionalFeatures injection
For example OptionalFeatures() is useful for fakedns module
2024-12-26 12:55:12 +00:00
maoxikun
868799ef04
DNS: Always use a DNS Message ID of 0 for DoH and DoQ ( #4193 )
...
Co-authored-by: dyhkwong <50692134+dyhkwong@users.noreply.github.com >
2024-12-22 09:19:09 +00:00
RPRX
53b04d560b
XHTTP client: Make H3 httptrace work on v2rayNG
...
Introduced in https://github.com/XTLS/Xray-core/pull/4150
2024-12-20 07:19:41 +00:00