Skip to content

feat(windows): 恢复连接域名并按代理设置发送 - #257

Closed
sunzhengbo wants to merge 1 commit into
InterceptSuite:masterfrom
sunzhengbo:codex/hostname-recovery
Closed

sunzhengbo wants to merge 1 commit into
InterceptSuite:masterfrom
sunzhengbo:codex/hostname-recovery

Conversation

@sunzhengbo

Copy link
Copy Markdown

本次代码修改由 AI 完成。

通过 DNS Client ETW、DNS 报文与 TLS SNI 恢复域名;连接日志及服务 IPC 传递主机名,远端 DNS 配置可向代理发送域名。

验证:隔离副本的 Windows 核心 DLL、GUI、CLI、服务构建成功;git diff --check 通过。未发现自动化 Windows 测试,未做真实网络/WinDivert 运行验证。

需复核:DNS 映射按进程生命周期保留,缓存 TTL 未用于过期,可能导致地址复用时误用旧域名;ETW 启动时会额外查询 www.microsoft.com。

Closes #247

- 通过 DNS 事件与 TLS SNI 恢复目标域名
- 在连接日志和服务 IPC 中传递恢复的主机名
- 按代理配置发送域名或目标 IP

Signed-off-by: sunzhengbo <sunzhengbo@qq.com>
@Anof-cyber Anof-cyber closed this Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: 配置域名转发在日志中看不到域名

2 participants