28 Commits
Author SHA1 Message Date
tsosunchia 6fdc048d97 fix(ci): 区分远端缺测并隔离 REST 烟测的外部查询 2026-11-14 21:25:16 +08:00
tsosunchia fe476d0c45 fix(ci): 分离 JSON 回归检查的 stdout 与 stderr 2026-10-26 22:55:55 +08:00
tsosunchia 72ec48957f ci(fwmark): 禁止持久化凭据并验证 socketcall 路径
保留 MTR JSON 回归断言日志,便于定位 CI 失败原因。
2026-09-08 14:48:38 +08:00
tsosunchia 1c142e81c8 test(ci): 隔离抓包会话并等待 Esc 状态变化 (#238)
为 traceroute TCP/UDP 抓包指定并筛选会话源端口,排除本机服务的无关流量;让 MTR Esc 异步测试等待状态通知,消除固定 75ms 等待导致的误判。保留错误 TOS、缺失探测包和取消超时检查。
2026-09-08 11:37:31 +08:00
tsosunchia b56d4f72b5 fix(tos): 补强跨平台字段设置与策略路由选源 (#236)
保留完整 8 位 TOS 参数,传播初始化失败,修复 Linux 策略路由选源与 MTR socket 轮换,并为 Windows 非零 ICMPv4 TOS 使用 WinDivert。补齐三平台抓包、Linux 隔离路由验收及平台文档。
2026-09-08 10:19:50 +08:00
tsosunchia 75a4ed2140 feat(trace): 支持 Linux fwmark 策略路由探测 (#233)
* feat(trace): 支持 Linux fwmark 会话级策略路由探测

同步源地址选路与发送 socket 标记,覆盖三协议、双栈及 MTR 重建;增加 JSON 会话参数和隔离双出口回归。

* test(fwmark): 显式指定隔离网络的接口名称

* test(fwmark): 等待即时抓包就绪并修正错误输出检查

* fix(fwmark): 随机源端口不参与固定端口路由查询

* test(fwmark): 验证随机端口路由和显式接口约束

* test(fwmark): 验证目的地回包并隔离 ICMP 限速干扰

* test(fwmark): 移除内核不接受的源端口规则

* fix(fwmark): 路由查询前分配会话固定源端口

* fix(fwmark): 按原始 socket 语义查询路由并忽略传输端口
2026-09-08 07:28:07 +08:00
tsosunchia ca310448a4 feat(doctor): 增加独立环境自检与跨平台路由诊断 (#232)
- 汇总目标解析、源地址、路由预测与后端初始化结果
- 保持自检不发包、不安装驱动,并区分失败与未验证状态
- 隐藏调试日志凭据,补充三平台验收与文档
2026-09-07 21:47:07 +08:00
tsosunchia 205bdaa7f1 feat(mtr): 支持实时 NDJSON 与最终 JSON 报告 (#230)
- 为 full、tiny 和 ntr 提供 MTR JSON 输出并保留传统模式
- 传播初始化和监听错误,完善取消、资源清理及非零退出
- 补充事件顺序、信号处理和跨平台回归测试及文档
2026-09-07 14:35:59 +08:00
tsosunchia c7fe673d23 fix(ci): 显式使用 UTF-8 读取 Windows 回归输出 2026-09-06 11:36:07 +08:00
tsosunchia dbb3f58c25 test(ci): 验证 Windows 批处理中文路径与参数解码 2026-09-06 11:24:11 +08:00
tsosunchia abe3ef387f fix(ci): 使用 UTF-8 执行 Windows 回归批处理 2026-09-06 11:10:55 +08:00
tsosunchia ef143a73d6 feat(cli): 添加显式传统模式并开放 tiny MTR 2026-09-06 10:57:58 +08:00
tsosunchia bf4946243f Prevent stale labels, flaky websocket tests, and speed misreports
Bound Leo IP sends and stale response delivery by timeout, bootstrap speed-mode metadata lookups without JSON banner noise, respect --speed=false pre-dispatch, validate speed source binding, cap probe response reads, avoid caching empty nali labels, treat server-only speed metadata as healthy when no client IP is available, make websocket async tests event-driven, restart Leo receive parsing reliably, close websocket receive channels exactly once, send Leo requests on the waited websocket, back off failed Geo/RDNS metadata lookups, refresh MTR API info cache timestamps after lookup, report upload response read errors, avoid launching latency probes after cancellation, and keep speed JSON tests tolerant of degraded latency samples.
2026-04-19 23:45:16 +08:00
tsosunchia 1b489476f6 fix speed regression checks 2026-04-18 18:48:13 +08:00
tsosunchia 756508006d add nexttrace speed mode 2026-04-18 18:23:49 +08:00
tsosunchia a1f46dd974 Ignore pow token fetch logs in regression JSON checks 2026-04-08 23:29:45 +08:00
tsosunchia f9214c4095 Fix Windows deploy options JSON parsing 2026-04-08 22:58:17 +08:00
tsosunchia d40677a186 Fix Windows MTU source-device handling 2026-04-08 22:51:36 +08:00
tsosunchia 844d3c1742 Harden regression scripts and preserve WinDivert errors 2026-04-08 22:31:38 +08:00
tsosunchia 49b0144cca Fix deploy listener race and ICMP source-device gating
- let deploy mode bind the listener before printing the Web UI address and report the actual bound endpoint when :0 is used
- switch Unix and Windows regression deploy checks to parse the real base URL from deploy logs instead of preallocating a port in the script
- add Unix deploy cleanup traps and make runner scripts temporary/self-cleaning
- gate ICMP source-device propagation to Linux and macOS so unsupported Unix targets keep --dev as source-address selection only
- add server and trace regression tests for the new listener and source-device behavior
2026-04-08 21:59:21 +08:00
tsosunchia 4d5f682393 Fix Windows source-device errors and WinDivert retries 2026-04-08 21:14:43 +08:00
tsosunchia 0ddac64b7a Fix source-device normalization and deploy smoke tests 2026-04-08 20:46:33 +08:00
tsosunchia 28d90ae267 Tighten regression cleanup and source device errors 2026-04-07 21:10:29 +08:00
tsosunchia 4fb2ce8cda Fix regression scripts for routing-aware capture and IPv6 skips 2026-04-07 19:44:53 +08:00
tsosunchia fb926ad642 Fix regression script path handling on Unix and Windows 2026-04-07 18:45:54 +08:00
tsosunchia 0ca093b6aa Harden source-device handling and WinDivert regression checks 2026-04-07 18:27:09 +08:00
tsosunchia 3c4b739dbc 在回归测试中添加对IPv6检查的跳过选项,以避免环境波动影响结果 2026-03-21 09:51:17 +08:00
tsosunchia a4efe60ea0 Add regression CI 2026-03-21 09:15:34 +08:00