Files
l-ui/internal/singbox/testdata/golden/hysteria1/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

82 lines
1.9 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": "hysteria1",
"title": "Hysteria v1",
"source": [
"internal/database/model/hysteria_version_test.go"
],
"disposition": "direct",
"risk": null,
"notes": "按 version 分发:v1 → sing-box type:hysteria(auth 语义字段)。现网前端强制 v2、本样本为存量兜底;生成侧有 version 自愈逻辑,B1 迁移器须以 settings.version 原值为准。",
"inbound": {
"id": 121,
"listen": "203.0.113.10",
"port": 35443,
"protocol": "hysteria",
"remark": "fx-hy1",
"tag": "inbound-35443",
"enable": true,
"settings": {
"version": 1,
"clients": [
{
"email": "user@example.com",
"limitIp": 0,
"totalGB": 0,
"expiryTime": 0,
"enable": true,
"tgId": 0,
"subId": "fxsubid000000001",
"comment": "",
"reset": 0,
"auth": "fx-hy1-auth"
}
]
},
"streamSettings": {
"network": "hysteria",
"security": "tls",
"hysteriaSettings": {
"version": 1,
"udpIdleTimeout": 60
},
"tlsSettings": {
"serverName": "hy1.example.com",
"alpn": [
"h3"
],
"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,
"auth": "fx-hy1-auth"
}
}