Files
l-ui/internal/singbox/testdata/golden/wireguard/expected-singbox.json
T
Muse 750a270955 ITEM6 B0: golden fixtures + fixture validation skeleton for sing-box migration
26 cases (protocol x representative transport): current-shape input,
expected sing-box fragment, and share-link baseline generated by running
current main@8e89960 GetLink. Blocked/partial cases (xhttp, kcp,
fallbacks, finalmask, vlessenc, removed SS ciphers, tunnel) record their
unmapped concepts under _b0 for the Q1 decision instead of fabricating
output. Link-route baselines only: JSON/Clash subscription families are
being removed wholesale per the 2026-10-23 decision, Q2 closed.
2026-10-22 18:14:58 +00:00

29 lines
1016 B
JSON

{
"inbounds": [],
"endpoints": [
{
"type": "wireguard",
"tag": "inbound-51820",
"listen_port": 51820,
"address": [
"10.0.0.1/24"
],
"private_key": "ZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4Q=",
"mtu": 1420,
"peers": [
{
"public_key": "FThkYS9cXUf2hNZomaneT3wwtfdKjr1plkIhK84A2Tg=",
"allowed_ips": [
"10.0.0.2/32"
],
"persistent_keepalive_interval": 25
}
]
}
],
"_b0": {
"disposition": "direct",
"risk": "N7",
"notes": "挂载位置变化:inbounds[] → endpoints[],且须 route 规则把流量引入(B2 基础配置处理)。服务端 address 按现后端推导口径取 subnet 首地址(10.0.0.0/24 → 10.0.0.1/24),B1 与现生成链(WireguardPeerFromClient/服务端地址推导)逐项对。noKernelTun=false → 系统 tun 模式;内核/系统模式真机差异待 B3(N7)。peers 的 preshared_key 本样本为空省略。"
}
}