Repository navigation
XDNS finalmask: Refactor and new parameters - #6718
Merged
Merged
Conversation
Contributor
Author
|
2.0 预计改动
|
LjhAUMEM
force-pushed
the
xdns
branch
2 times, most recently
from
September 18, 2026 02:43
df0c097 to
b7a37fe
Compare
Contributor
Author
|
原来 make chan 的容量不是 1,是 0, |
LjhAUMEM
marked this pull request as ready for review
September 19, 2026 06:51
Contributor
Author
|
终于进入测试阶段,虽然不要求上层配置 mtu 了但也不是无脑可用,需要搭配 |
Contributor
Author
|
server Details
{
"log": { "loglevel": "debug" },
"inbounds": [
{
"listen": "127.0.0.1",
"port": 53,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "5783a3e7-e373-51cd-8642-c83782b807c5"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "mkcp",
"kcpSettings": {
"tti": 200
},
"finalmask": {
"udp": [
{
"type": "xdns",
"settings": {
"domains": [
{
"name": "t.example.com",
"types": [1, 5, 16, 28],
"edns0": 0
}
],
"minAvailable": 3
}
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}client Details
{
"log": { "loglevel": "debug" },
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1080,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"address": "127.0.0.1",
"port": 53,
"id": "5783a3e7-e373-51cd-8642-c83782b807c5",
"encryption": "none"
},
"streamSettings": {
"network": "kcp",
"kcpSettings": {
"tti": 200
},
"finalmask": {
"udp": [
{
"type": "xdns",
"settings": {
"domains": [
{
"name": "t.example.com",
"lenLimit": 200,
"labelLimit": 1,
"types": [
1,
5,
16,
28
],
"edns0": 1232
}
],
"resolvers": [
{
"type": "udp",
"settings": {
"addr": "127.0.0.1:53"
}
}
],
"extraPoll": 1
}
}
]
}
}
}
]
} |
Member
|
@LjhAUMEM rebase,ready 时说一声 |
Contributor
Author
在测 quic,今天或明天 quic transport 单独拿出来用依赖 SetReadDeadline close 啊,如果没有实现就会无限阻塞,需要把 pkt close 和 tr close 顺序对换下 |
added 17 commits
September 21, 2026 19:44
added 4 commits
September 24, 2026 20:29
LjhAUMEM
marked this pull request as ready for review
September 24, 2026 15:23
Contributor
Author
|
没有给 quic 适配上还是不太满意,但高强度三周已经燃尽了,新方法也懒得测了,先用回老方法吧, 服务端支持多类型查询时要设置类型中最小的 mtu |
This was referenced Sep 26, 2026
Member
|
只看了下配置,原先全部编码进一行的语法彻底改成结构化的 JSON 配置了,并且加了些新参数, 我想了下,这里既然不是 TLS DoH 那种直接放进分享链接的,而是分享整个 JSON,改成这么设计也行吧, |
5 tasks
5 tasks done
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #6692
{ "log": { "loglevel": "debug" }, "inbounds": [ { "listen": "127.0.0.1", "port": 53, "protocol": "vless", "settings": { "clients": [ { "id": "5783a3e7-e373-51cd-8642-c83782b807c5" } ], "decryption": "none" }, "streamSettings": { "network": "mkcp", "kcpSettings": { "tti": 200, "mtu": 932 }, "finalmask": { "udp": [ { "type": "xdns", "settings": { "domains": [ { "name": "t.example.com", "types": [16], "edns0": 1232 } ] } } ] } } } ], "outbounds": [ { "protocol": "freedom" } ] }{ "log": { "loglevel": "debug" }, "inbounds": [ { "listen": "127.0.0.1", "port": 1080, "protocol": "socks", "settings": { "auth": "noauth", "udp": true } } ], "outbounds": [ { "protocol": "vless", "settings": { "address": "127.0.0.1", "port": 53, "id": "5783a3e7-e373-51cd-8642-c83782b807c5", "encryption": "none" }, "streamSettings": { "network": "kcp", "kcpSettings": { "tti": 200 }, "finalmask": { "udp": [ { "type": "xdns", "settings": { "domains": [ { "name": "t.example.com", "lenLimit": 255, "labelLimit": 63, "types": [16], "edns0": 1232 } ], "resolvers": [ { "type": "udp", "settings": { "addr": "127.0.0.1:53" } } ] } } ] } } } ] }