Files
3x-ui-agent/internal/singbox/testdata/golden/vless-grpc-tls/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
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"case": "vless-grpc-tls",
"title": "VLESS / gRPC / TLS",
"source": [
"frontend/src/schemas/protocols/stream/grpc.ts"
],
"disposition": "direct",
"risk": null,
"notes": "grpc serviceName 两侧改名 service_name,multiMode 在 sing-box 无对应字段(近似:默认关)——本样本 multiMode=false,无损。",
"inbound": {
"id": 103,
"listen": "203.0.113.10",
"port": 10443,
"protocol": "vless",
"remark": "fx-vless-grpc",
"tag": "inbound-10443",
"enable": true,
"settings": {
"clients": [
{
"email": "user@example.com",
"limitIp": 0,
"totalGB": 0,
"expiryTime": 0,
"enable": true,
"tgId": 0,
"subId": "fxsubid000000001",
"comment": "",
"reset": 0,
"id": "11111111-2222-4333-8444-555555555555",
"flow": ""
}
],
"decryption": "none",
"encryption": "none",
"fallbacks": []
},
"streamSettings": {
"network": "grpc",
"security": "tls",
"grpcSettings": {
"serviceName": "fx-grpc",
"multiMode": false
},
"tlsSettings": {
"serverName": "grpc.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,
"id": "11111111-2222-4333-8444-555555555555",
"flow": ""
}
}