Files
MeshPort/outputs/validation/dns-protection-20261011.md
T
shenleiandClaude Haiku 5.5 2f185f914d Snapshot uncommitted work: proxy UI, sing-box integration, socks bridge
- Lab app: proxy panel, node editor, configuration and detail pages,
  responsive layout, and related tests
- Add meshport-socks crate and sing-box bridge scripts/docs
- Add singbox_flutter binding and meshport_client_core package
- FFI, VPN helper (unified mac path), and Android/macOS runner updates
- Docs for architecture, client runtime, UI design, and validation
- UI design output artifacts under outputs/ui

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-12 10:06:15 +09:00

1.5 KiB
Raw Blame History

代理 DNS 防泄露(2026-10-11)

客户端默认启用 dns_protection;代理模式要求用户明确填写解析服务,未选择默认外部服务。普通查询和真实地址解析使用 proxy-dns,代理节点与解析器地址使用 bootstrap,保留组网 DNS / 失效保护。启动前缺少代理 DNS 会给出中文错误,重连校验在停止旧会话之前进行。直连和仅组网不强制代理解析。

验证:Flutter analyze 通过;全量 38 通过 / 5 环境测试跳过。Go bridge 全量 race 回归和 vet 通过;新增 TLS 经本机 SOCKS 解析成功、失败不回退测试,随后增加 FakeIP 映射恢复同样通过。所有测试解析服务和证书只在本机,不访问用户代理或公共 DNS。默认解析器和代理端点单独 bootstrap、显式配置要求、直连兼容亦有覆盖。

构建:macOS outputs/macos/MeshPort-0.1.0-20261011130000.app;Android outputs/android/MeshPort-0.1.0-1791695700-debug.apk。新版 Go 引擎已打包,macOS 深层开发签名、APK v2 签名和 16KiB 对齐校验通过。没有替换当前 APP 或安装真机。

限制:不含 VPN 退出后的系统防火墙锁定;浏览器自带加密 DNS 按普通连接策略处理。应用内 SOCKS5 不能接管全设备 DNS。IPv6、系统全局 DNS 和切换网络仍需实机验收。启动解析仍可能直连;TLS 验证未关闭。

自动审批拒绝默认 Cloudflare DoH 目的地,原因是用户未明确授权该第三方接收域名数据;采用显式用户配置完成实现,不设默认代理 DNS 提供者。