Files
3x-ui-agent/internal/singbox/testdata/golden/trojan-tcp-tls-flow/input.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

87 lines
2.0 KiB
JSON

{
"case": "trojan-tcp-tls-flow",
"title": "Trojan / TCP / TLS + xtls flow(支持度待验)",
"source": [
"frontend/src/lib/xray/inbound-defaults.ts"
],
"disposition": "partial-pending-q1",
"risk": "N5",
"notes": "密码直映;flow 在 sing-box trojan 入站的支持度未验(v1.13.21),登记 _b0.unmapped 待 B3 真机验,不预删。",
"inbound": {
"id": 113,
"listen": "203.0.113.10",
"port": 27443,
"protocol": "trojan",
"remark": "fx-trojan-flow",
"tag": "inbound-27443",
"enable": true,
"settings": {
"clients": [
{
"email": "user@example.com",
"limitIp": 0,
"totalGB": 0,
"expiryTime": 0,
"enable": true,
"tgId": 0,
"subId": "fxsubid000000001",
"comment": "",
"reset": 0,
"password": "fx-trojan-pass",
"flow": "xtls-rprx-vision"
}
],
"fallbacks": []
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tcpSettings": {
"acceptProxyProtocol": false,
"header": {
"type": "none"
}
},
"tlsSettings": {
"serverName": "tjf.example.com",
"alpn": [
"h2",
"http/1.1"
],
"certificates": [
{
"certificateFile": "/etc/x-ui/cert/fx.pem",
"keyFile": "/etc/x-ui/cert/fx.key"
}
],
"settings": {
"fingerprint": "chrome"
}
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
],
"metadataOnly": false,
"routeOnly": false
}
},
"clientEmail": "user@example.com",
"client": {
"email": "user@example.com",
"limitIp": 0,
"totalGB": 0,
"expiryTime": 0,
"enable": true,
"tgId": 0,
"subId": "fxsubid000000001",
"comment": "",
"reset": 0,
"password": "fx-trojan-pass",
"flow": "xtls-rprx-vision"
}
}