资料核查日期:2026-09-24 1. RFC 1035, Domain Names - Implementation and Specification, IETF, 1987-11 https://www.rfc-editor.org/rfc/rfc1035.html 用途:DNS 查询、响应和错误语义;超时不能冒充 NXDOMAIN。 2. RFC 9293, Transmission Control Protocol, IETF, 2022-08 https://www.rfc-editor.org/rfc/rfc9293.html 用途:连接建立与状态;单端未见响应不能唯一定位丢弃点。 3. RFC 8446, TLS 1.3, IETF, 2018-08 https://www.rfc-editor.org/rfc/rfc8446.html 用途:握手、证书相关消息与告警;TLS 失败发生在 HTTP 语义之前。 4. Wireshark User's Guide, Wireshark Foundation https://www.wireshark.org/docs/wsug_html_chunked/ 用途:抓取和显示过滤;抓包仍受观察点、时钟、丢包和卸载影响。 5. curl man page, curl project https://curl.se/docs/manpage.html 用途:分阶段时间和错误输出的工具入口;本篇未运行真实 curl 请求。 运行:python3 diagnose.py 预期:退出码 0;四个案例分类与 expected_stage 一致,每个案例至少有一个 excluded 项。 NOT_RUN:真实服务、故障注入、双端抓包、时钟对齐、生产系统与公网探测。