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.
46 lines
1.0 KiB
JSON
46 lines
1.0 KiB
JSON
{
|
|
"case": "tun",
|
|
"title": "TUN(面板本地)",
|
|
"source": [
|
|
"frontend/src/lib/xray/inbound-defaults.ts"
|
|
],
|
|
"disposition": "direct",
|
|
"risk": "Q5",
|
|
"notes": "sing-box 原生 tun 入站且字段更完整;本样本按现字段名映射(gateway→address 等改名在规范中逐项列)。是否挂 agent 承载属 Q5,不影响形状映射。",
|
|
"inbound": {
|
|
"id": 124,
|
|
"listen": "203.0.113.10",
|
|
"port": 0,
|
|
"protocol": "tun",
|
|
"remark": "fx-tun",
|
|
"tag": "inbound-0",
|
|
"enable": true,
|
|
"settings": {
|
|
"name": "xray0",
|
|
"mtu": 1500,
|
|
"gateway": [
|
|
"172.19.0.1/28"
|
|
],
|
|
"dns": [
|
|
"1.1.1.1"
|
|
],
|
|
"userLevel": 0,
|
|
"autoSystemRoutingTable": [
|
|
"0.0.0.0/0"
|
|
],
|
|
"autoOutboundsInterface": "auto"
|
|
}
|
|
},
|
|
"clientEmail": "user@example.com",
|
|
"client": {
|
|
"email": "user@example.com",
|
|
"limitIp": 0,
|
|
"totalGB": 0,
|
|
"expiryTime": 0,
|
|
"enable": true,
|
|
"tgId": 0,
|
|
"subId": "fxsubid000000001",
|
|
"comment": "",
|
|
"reset": 0
|
|
}
|
|
} |