Skip to content

Subscriptions ​

Ours: modules/config/subscriptions — the readers links.rs, xray.rs, clash.rs (+ common.rs, xhttp.rs), applying to the configuration — config.rs, downloading — runtime.rs. sing-box has no subscriptions; the reference here is what panels serve: share links, Xray JSON, Clash/mihomo YAML. A server that cannot be expressed is skipped with a reason (Skipped), the others are imported.

Formats ​

WhatStatusWhereVerdict
sing-box JSON (outbounds with type)no: not recognizedmodules/config/subscriptions/src/lib.rs (READERS)missing: panels serve it to sing-box clients; the format is close to our options
SIP008 (Shadowsocks JSON)nothe same placemissing: simple
Clash proxy-providers, rule-providers, Clash rulesno: only proxies and proxy-groups are takenclash.rs (read)providers — do; rules — junk (we have our own rule-sets)
Xray routing from a subscriptionno: outbounds, balancers and observatory are takenxray.rsjunk: routes are set by the user

Protocols ​

WhatWhere it is skippedVerdict
VMesslinks.rs, clash.rs, xray.rsmissing: together with the protocol (protocols.md)
WireGuardclash.rs (REMOVED)missing: map Clash wireguard proxies to a wireguard endpoint
naive, mieru, Snell, SSH, TrustTunnel, http2://, http3://links.rs, clash.rsnaive/SSH/Snell — with the protocols; mieru, TrustTunnel — rarely needed
ShadowsocksRlinks.rs, clash.rs (REMOVED)junk: removed in sing-box 1.6
ShadowQUIC, GOST relay, ZeroTierclash.rs (REMOVED)junk
TUIC v4links.rs, clash.rsjunk: v4 is obsolete
SOCKS over TLS (Clash tls: true)clash.rsrarely needed
A protocol not in the buildlib.rs (finish, is not built in)—

Server parameters ​

WhatStatusWhereVerdict
VLESS flow other than xtls-rprx-vision (-udp443 → vision)nocommon.rs (vless_flow)junk: the other flows were removed in Xray
The trojan-go Shadowsocks layernoclash.rsjunk: trojan-go is abandoned
Clash shadow-tls-opts, restls-opts, jls-opts as a layerno: "changes the handshake"clash.rsshadow-tls-opts — do through shadowtls + detour; restls/jls — rarely needed
Clash's http disguise for Shadowsocksnoclash.rsrarely needed
Transports: V2Ray QUIC, unknown ones; the http TCP header over TLSnolinks.rs, xray.rssee transports.md
Xray transports/security for Shadowsockspartiallinks.rs—
XHTTP download-settings in Clash (mihomo writes them differently from Xray's downloadSettings)no: the server drops outclash.rs, xhttp.rs (download_settings)rarely needed
Xray's finalmask: sudoku, header-custom, salamander outside Hysteria 2no; fragment, noise are ignoredcommon.rs (masks), links.rs, xray.rssee transports.md
Hysteria (v1) protocol other than udp (wechat-video, faketcp)nolinks.rs, clash.rsjunk: faketcp requires raw sockets, wechat-video is a pointless disguise
Options that refer to files (cert, ca in links)nolinks.rsjunk: paths on someone else's machine
REALITY with a uTLS fingerprint we do not havenocommon.rsmissing: together with the libs/tls13 presets
A chain to a server outside the subscription (Xray proxySettings, Clash dialer-proxy)no: the server is skippedlib.rs (finish), config.rs (drop_dependents)— (design: a subscription's composition is self-contained)
vcn/verifyPeerCertByName, pcs/pinnedPeerCertSha256present: tls.verify_names, tls.certificate_sha256common.rs—

The provider's groups ​

WhatStatusWhereVerdict
Clash relayno (a chain, not a choice)clash.rs (read_group)missing: through a dial.detour chain
Clash url-test/fallback: lazy, timeout, max-failed-times, expected-statussilentclash.rsrarely needed
Xray leastLoad: baselines, costs, maxRTT, tolerancesilent: only expected and sampling are takenxray.rs (balancer_rank)rarely needed

Downloading ​

WhatStatusWhereVerdict
The default User-Agentpresent: ours/<version> (see other.md); a panel that does not recognize the client serves linksmodules/config/subscriptions/src/runtime.rs—
Parsing subscription-userinfopresent: shown in the dashboardruntime.rs (userinfo)—
profile-update-interval, profile-title and other panel headersnoruntime.rsmissing: profile-update-interval could set the default update
Downloading through http_clientsno: our own client, only via and headersruntime.rs (get)rarely needed
check --fetch prints the names before rename and the filtersdifferentapp/ours/src/subscriptions.rs (check_fetch)missing: show the final names too

GPL-3.0-or-later