// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`InboundSchema (full) fixtures > parses vless-tcp-reality byte-stably 1`] = ` { "down": 0, "enable": true, "expiryTime": 0, "id": 9, "listen": "", "port": 443, "protocol": "vless", "remark": "dave-vless-tcp-reality", "settings": { "clients": [ { "comment": "", "email": "dave@example.test", "enable": true, "expiryTime": 0, "flow": "xtls-rprx-vision", "id": "22222222-3333-4444-9555-666666666666", "limitIp": 0, "reset": 0, "subId": "vless-reality-001", "tgId": 0, "totalGB": 0, }, ], "decryption": "none", "encryption": "none", "fallbacks": [], }, "sniffing": { "destOverride": [ "http", "tls", "quic", "fakedns", ], "domainsExcluded": [], "enabled": true, "ipsExcluded": [], "metadataOnly": false, "routeOnly": false, }, "streamSettings": { "network": "tcp", "realitySettings": { "maxClientVer": "", "maxTimediff": 0, "minClientVer": "", "mldsa65Seed": "", "privateKey": "wM-2_oQRWXyLcXhV5q1ifTBcS3K8mYR3wQI3PqGFK1k", "serverNames": [ "yahoo.com", "www.yahoo.com", ], "settings": { "fingerprint": "chrome", "mldsa65Verify": "", "publicKey": "Tx5yj1bRcOPHkdvT2pIAQ2zh0gQ8m4OPdnzqXJxxV3o", "serverName": "", "spiderX": "/", }, "shortIds": [ "a3f1", "b8c2", ], "show": false, "target": "yahoo.com:443", "xver": 0, }, "security": "reality", "tcpSettings": { "header": { "type": "none", }, }, }, "tag": "inbound-vless-reality", "total": 0, "up": 0, } `; exports[`InboundSchema (full) fixtures > parses vless-ws-tls byte-stably 1`] = ` { "down": 0, "enable": true, "expiryTime": 0, "id": 42, "listen": "", "port": 443, "protocol": "vless", "remark": "alice-vless-ws-tls", "settings": { "clients": [ { "comment": "", "email": "alice@example.test", "enable": true, "expiryTime": 0, "flow": "", "id": "8c14d6f7-2e3b-4a91-9d24-3f7a6b8c1e02", "limitIp": 0, "reset": 0, "subId": "abc123def", "tgId": 0, "totalGB": 0, }, ], "decryption": "none", "encryption": "none", "fallbacks": [], }, "sniffing": { "destOverride": [ "http", "tls", "quic", "fakedns", ], "domainsExcluded": [], "enabled": true, "ipsExcluded": [], "metadataOnly": false, "routeOnly": false, }, "streamSettings": { "network": "ws", "security": "tls", "tlsSettings": { "alpn": [ "h2", "http/1.1", ], "certificates": [ { "buildChain": false, "certificateFile": "/etc/ssl/certs/cdn.example.test.crt", "keyFile": "/etc/ssl/private/cdn.example.test.key", "oneTimeLoading": false, "usage": "encipherment", }, ], "cipherSuites": "", "disableSystemRoot": false, "echServerKeys": "", "enableSessionResumption": false, "maxVersion": "1.3", "minVersion": "1.2", "rejectUnknownSni": false, "serverName": "cdn.example.test", "settings": { "echConfigList": "", "fingerprint": "chrome", }, }, "wsSettings": { "acceptProxyProtocol": false, "headers": {}, "heartbeatPeriod": 0, "host": "cdn.example.test", "path": "/ws", }, }, "tag": "inbound-vless-1", "total": 0, "up": 0, } `; exports[`InboundSchema (full) fixtures > parses vmess-tcp-tls byte-stably 1`] = ` { "down": 0, "enable": true, "expiryTime": 0, "id": 7, "listen": "", "port": 8443, "protocol": "vmess", "remark": "carol-vmess-tcp-tls", "settings": { "clients": [ { "comment": "", "email": "carol@example.test", "enable": true, "expiryTime": 0, "id": "11111111-2222-4333-8444-555555555555", "limitIp": 0, "reset": 0, "security": "auto", "subId": "vmess-001", "tgId": 0, "totalGB": 0, }, ], }, "sniffing": { "destOverride": [ "http", "tls", "quic", "fakedns", ], "domainsExcluded": [], "enabled": true, "ipsExcluded": [], "metadataOnly": false, "routeOnly": false, }, "streamSettings": { "network": "tcp", "security": "tls", "tcpSettings": { "header": { "type": "none", }, }, "tlsSettings": { "alpn": [ "h2", "http/1.1", ], "certificates": [ { "buildChain": false, "certificateFile": "/etc/ssl/certs/vmess.crt", "keyFile": "/etc/ssl/private/vmess.key", "oneTimeLoading": false, "usage": "encipherment", }, ], "cipherSuites": "", "disableSystemRoot": false, "echServerKeys": "", "enableSessionResumption": false, "maxVersion": "1.3", "minVersion": "1.2", "rejectUnknownSni": false, "serverName": "vmess.example.test", "settings": { "echConfigList": "", "fingerprint": "chrome", }, }, }, "tag": "inbound-vmess-1", "total": 0, "up": 0, } `;