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
RPRX
743435d6e6
Core: Fix startup error when `dns` exists but `fakedns` doesn't
...
Fixes https://github.com/XTLS/Xray-core/issues/4155
2024-12-12 06:56:05 +00:00
yuhan6665
0e2304c403
Core: Fix memory leaks with RequireFeatures() ( #4095 )
...
Fixes https://github.com/XTLS/Xray-core/issues/4054
Fixes https://github.com/XTLS/Xray-core/issues/3338
Fixes https://github.com/XTLS/Xray-core/issues/3221
2024-12-11 01:07:52 +00:00
zonescape
44b1dd0e67
Test: Change address for DNS over QUIC tests ( #4002 )
...
dns.adguard.com can be blocked in some places
2024-11-11 14:43:57 -05:00
tcpdumppy
ccc4b7b2cf
Test: Fix incorrect output format ( #3968 )
2024-11-04 10:36:42 -05:00
RPRX
47fad1fbfd
Chore: Generate *.pb.go files with protoc v5.28.2
...
Download https://github.com/protocolbuffers/protobuf/releases/tag/v28.2
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.35.1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1
(Xray-core/) go run ./infra/vprotogen
2024-10-16 04:06:21 +00:00
Kobe Arthur Scofield
7086d286be
Remove legacy code ( #3838 )
...
* Add feature migration notice
* Remove legacy code of transport processing
* Clear legacy proto field
* Fix missing
* Unify protocolname
* Test remove
* Supressor
* Weird code
* Remove errorgen related comments
2024-09-23 11:28:19 -04:00
Kobe Arthur Scofield
57a41f3b4b
Config: Remove more legacy fields ( #3817 )
2024-09-19 01:05:59 +00:00
Kobe Arthur Scofield
5f0642a671
Errors: Add PrintRemovedFeatureError & PrintDeprecatedFeatureWarning ( #3804 )
2024-09-15 04:55:54 +00:00
风扇滑翔翼
1b607ff874
DNS: Do not hit cache if encounted err ( #3784 )
2024-09-12 10:34:45 -04:00
xiaorouji
8674ed5a0d
Support DNS queryStrategy config for UDP NameServer ( #3728 )
2024-08-27 10:19:33 -04:00
mmmray
2be03c56cb
Pin protobuf packages ( #3715 )
...
* Pin protobuf packages
It happened in the past that I ran with the wrong protobuf version
installed locally, and apparently there is even still some file wrong in
splithttp. Fix this issue once and for all.
* bump protobuf packages
* Revert "bump protobuf packages"
This reverts commit 7a3509346a .
* Revert "Revert "bump protobuf packages""
This reverts commit bb79707d15 .
* fix deprecated grpc usage
2024-08-22 10:18:36 -04:00
curlwget
790f908f0b
chore: fix some comment typos ( #3716 )
...
Signed-off-by: curlwget <curlwget@icloud.com>
2024-08-22 17:32:38 +08:00
MHSanaei
16de0937a8
Fix typos ( #3527 )
2024-07-12 00:20:06 +02: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