English
Other
Top-level sections
The list of sections is crates/native-config/src/entity.rs (TOP_LEVEL); any other section is the error configuration: unknown field.
| What | Status | Where | Verdict |
|---|---|---|---|
endpoints | partial: only wireguard | TOP_LEVEL, Provide::Endpoint | rarely needed: Tailscale, OpenConnect, OpenVPN |
services: ssm-api, resolved, derp, hysteria2-realm, ccm, ocm, oom-killer, usbip | no | TOP_LEVEL | ssm-api, resolved, derp, realm — rarely needed; ccm/ocm (proxies for Claude Code/Codex), usbip, oom-killer — junk for a router's proxy kernel |
certificate_providers (ACME, Tailscale, Cloudflare Origin CA) | no | TOP_LEVEL | see tls.md |
experimental.clash_api, experimental.v2ray_api | no: experimental: `clash_api` is not supported | crates/native-config/src/version.rs (experimental) | clash_api — do, if third-party panels (yacd/metacubexd) are needed; v2ray_api (statistics over gRPC) — rarely needed. Our own management is the Admin API (app/ui) |
log | present | app/ours/src/log.rs | — |
subscriptions, groups, rule_sets, reload | beyond the reference | — | — |
NTP and clocks
| What | Status | Where | Verdict |
|---|---|---|---|
The TUIC congestion control clock on NTP time (congestion_meta1.DefaultClock in sing-quic) | no: congestion is computed on the monotonic clock | crates/quic | junk: intervals need a monotonic clock, and the NTP correction only shifts it |
write_to_system | different: after the system time is written the correction is zeroed; the reference applies it once more to the already corrected clock until the next exchange | modules/system/ntp/src/service.rs | — |
Network namespaces and dial
| What | Status | Where | Verdict |
|---|---|---|---|
network_namespaces with type: unshare | no | modules/system/dial/src/lib.rs (network_namespaces) | rarely needed |
dial.protect_path | no | modules/system/dial/src/block.rs (decode) | platform (Android VpnService) |
dial.domain_strategy, dial.domain_resolver | different: refused with a pointer to dns.rules with an outbound condition | modules/system/dial/src/block.rs (decode) | — (design, see design.md) |
Trying a domain's addresses on dial | different: RFC 8305 (alternating families, an attempt every fallback_delay, 250 ms by default) instead of the reference's DialParallel (a whole family, the second after 300 ms) | modules/system/dial/src/lib.rs (connect_staggered) | — |
tcp_multi_path | present, if the kernel supports MPTCP | libs/net-sys/src/lib.rs | — |
tcp_congestion on inbounds and outbounds, route.default_tcp_congestion (YAML: tcp.congestion, route.dial.tcp.congestion) | beyond the reference: TCP_CONGESTION; an algorithm not in tcp_available_congestion_control is a load error with a modprobe hint | libs/net-sys/src/lib.rs (check_tcp_congestion), crates/config/src/options/listen.rs | — |
HTTP downloads
Subscription, remote rule-set, and Adblock list downloads, along with tools fetch, send User-Agent: ours/<version> by default (ours_http::USER_AGENT, crates/http/src/lib.rs). Subscriptions and remote rule-sets accept a custom User-Agent through their configured headers.
Cache file
| What | Status | Where | Verdict |
|---|---|---|---|
| Format | different: a directory of journals instead of bbolt; a sing-box file in place of the directory is an error | modules/system/cache/src/enabled.rs | — (design) |
store_selected, store_mode (from clash_api) | different: the choice of manual groups is always stored; there is no Clash mode | the same place, modules/routing/group/src/lib.rs | — |
Locking the directory by one process (check does not open the directory) | different | the same place (Lock) | — |
Command line and process
| What | Status | Where | Verdict |
|---|---|---|---|
generate ech-keypair, tls-keypair, vapid-keypair; tools synctime, networkquality, stun; rule-set format, rule-set merge, rule-set upgrade; merge | no | app/ours/src/cli.rs | merge — contradicts one file; the rest — rarely needed |
tools fetch | different: HTTP/1.1 only, without http3:// | app/ours/src/tools.rs | — |
rule-set convert | beyond the reference: -t dat --category — the categories of geosite.dat/geoip.dat into .srs | app/ours/src/rule_set.rs | — |
format | different: only spaces and empty lines of the YAML, see config-format.md | app/ours/src/format.rs | — |
explain, check --diff/--view/--fetch, clean (auto-nft clean), schema | beyond the reference | app/ours/src/{explain,diff,auto_nft}.rs, main.rs (schema) | — |
client list/add/remove/export (the clients module), the dashboard's "Clients" section and /api/clients* | beyond the reference: WireGuard peers (keys, an address, writing to config_file or the YAML) and their wg/awg/QR/sing-box/Xray configurations; vless://, hysteria2://, tuic:// links and a subscription | modules/config/clients, app/ours/src/clients.rs | — |
Several configurations and a -C directory | different: one -c or -C, one YAML in the directory | app/ours/src/main.rs (parse_args, native_options) | see config-format.md |
Reload on SIGHUP | present: rebuilds only what changed (see design.md) | app/ours/src/main.rs (reload) | — |
--watch | beyond the reference | app/ours/src/main.rs (changes) | — |
Platform clients (libbox, graphical clients) | no | — | junk for a kernel on Linux |