We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
direct
tls
Windows
24H2
sing-box 原始命令行程序
No response
在一些场景下使用基于 tls 的 dns 服务时这些 dns 请求无法被解密与劫持。如果考虑支持对 direct 提供 tls 并且提供 hijack-dns 增强的话可以提供基于内部 dns 模块的加密 dns 服务。
dns
hijack-dns
此外配合适当规则的情况下,此变更可以实现基于 mitm 的广告过滤(规则的精度取决于对 http 探测的支持程度)等需求。
如果可以的话,是否考虑添加更多的 issue 模板以适用于不同类型的反馈。
{ "inbounds": [ { "tag": "inbound" "type": "direct", "network": "tcp", "tls": {} // ... } ], "route": { "rules": [ { "action": "sniff" }, { "action": "hijack-dns", "protocol": ["http", "dns"], "inbound": "inbound" }, { "action": "reject", "inbound": "inbound" } // ... ], } // ... }
{ "inbounds": [ { "type": "tun", "tag": "tun" // ... }, { "tag": "inbound" "type": "direct", "network": "tcp", "listen": "127.0.0.1", "listen_port": 8443, "override_port": 443, "tls": {} // ... } ], "outbounds": [ { "tag": "outbound", "tls": {} // ... }, { "tag": "direct", "type": "direct" // ... } ], "route": { "rules": [ { "action": "sniff" }, { "outbound": "direct", "protocol": "tls", "port": 443, "override_address": "127.0.0.1", "override_port": 8443 }, { "action": "reject", "protocol": "http", "inbound": "inbound", "domain": "ad.io", "http-path": "/ad.png" }, { "action": "resolve", "protocol": "http", "inbound": "inbound" }, { "action": "reject", "inbound": "inbound", "ip_cidr": "127.0.0.1/32", "port": 443 }, { "outbound": "outbound", "protocol": "http", "inbound": "inbound" } // ... ], } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
操作系统
Windows
系统版本
24H2
安装类型
sing-box 原始命令行程序
如果您使用图形客户端程序,请提供该程序版本。
No response
版本
描述
在一些场景下使用基于
tls
的dns
服务时这些dns
请求无法被解密与劫持。如果考虑支持对direct
提供tls
并且提供hijack-dns
增强的话可以提供基于内部dns
模块的加密dns
服务。重现方式
日志
支持我们
完整性要求
The text was updated successfully, but these errors were encountered: