Files
3x-ui-agent/internal/singbox/testdata/golden/http-auth/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

40 lines
955 B
JSON

{
"case": "http-auth",
"title": "HTTP 代理 / 账号",
"source": [
"frontend/src/lib/xray/inbound-defaults.ts"
],
"disposition": "direct",
"risk": null,
"notes": "GetLink 对 http 返回空(无分享链);Clash/JSON 两路有输出。sing-box http 入站 users 改名映射,allowTransparent 无对应(本样本 false,无损)。",
"inbound": {
"id": 119,
"listen": "203.0.113.10",
"port": 33443,
"protocol": "http",
"remark": "fx-http",
"tag": "inbound-33443",
"enable": true,
"settings": {
"accounts": [
{
"user": "fxhttp",
"pass": "fxhttppass"
}
],
"allowTransparent": 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
}
}