Glossary
This page defines the words the rest of the guide relies on, in alphabetical order. Each entry is one or two sentences and links to the page that explains the subject in full. Some words mean slightly different things in etemenanki-app and in katana; where they do, the entry says so.
The term in parentheses after each headword is the one the Chinese pages use. Where it repeats the English word, as in supervisor(监管器), the Chinese pages keep the English word and add the gloss the first time it appears. “Kept in English” marks names that are never translated. The full list is in Chinese terminology at the end.
How the terms fit together
Section titled “How the terms fit together”Most of the vocabulary names a stage on the path a client connection takes through the proxy. Both programs run this path on the same supervisor; katana’s audit rules are the first rules of the node’s routing table.
flowchart LR C["Client"] --> L["Listener and transport"] L --> S["Session"] S --> I["Inbound core: authenticates a principal of the user set"] I --> F["Flow, maybe sniffed"] F --> P["Plane: routing rules, audit rules, geodata"] P --> O["Outbound version or balancer"] O --> D["Destination"]
Address family
Section titled “Address family”The address family (地址族) of an outbound, set with address_family, decides which IP versions it may use when it resolves a name and in which order it tries them: auto (the default), ipv4_only, ipv6_only, prefer_ipv4 or prefer_ipv6. For freedom it applies to each destination, for wireguard to destinations inside the tunnel, and for a proxy outbound to its server name. A WireGuard outbound’s endpoint has its own key, endpoint_address_family. See address_family.
Admission
Section titled “Admission”Admission (准入) is how an inbound decides who a connection belongs to. When a client authenticates, the inbound looks its credential up in the user set and binds the connection’s session to the matching user, its principal. This is the same in both programs; in katana the user set comes from the panel. See Users and How katana works.
AnyTLS
Section titled “AnyTLS”AnyTLS (kept in English) is a proxy protocol that runs inside one ordinary TLS connection: the client authenticates once with a hash of its password, and then many streams share the connection, each opened by a frame of its own. A padding scheme the server sends shapes the sizes of the client’s first records. etemenanki-app serves and dials it over network = "tls" only, and katana serves AnyTLS nodes. See AnyTLS.
Audit rule
Section titled “Audit rule”An audit rule (审计规则) is a regular expression katana tests against a flow’s domain name, in lower case: the name the client asked for, or one sniffed from the flow. Each rule becomes one of the node’s first routes, to a blackhole outbound tagged audit#<id>, so a flow that matches it is blocked; katana reports no hit to the panel. A flow addressed by IP with no sniffed name never matches. Rules come from the panel and from a local rule_list_path file. See Destination audit.
Backpressure
Section titled “Backpressure”Backpressure (背压) is how a slow receiver slows down the sender. The per-connection runtime works with fixed-size buffers: while one side of a connection is not accepting data, it stops reading from the other side, so the sender waits instead of the proxy buffering more and more. The same holds for each flow inside a WireGuard outbound’s shared tunnel: the tunnel queues only a bounded amount per flow, so a flow whose destination stops reading makes only its own sender wait, and the other flows in the tunnel keep moving. The developer guide describes the mechanism.
Balancer
Section titled “Balancer”A balancer (负载均衡器), [[balancer]] in etemenanki-app, groups several outbounds under one tag that works wherever an outbound tag does. A TCP connect probe checks each member, every 30 seconds by default; failover picks the first healthy member, round_robin takes healthy members in turn, and when every member is down the first one is used. katana has no balancers. See Balancers.
Blackhole and block
Section titled “Blackhole and block”blackhole, also accepted as block, is the outbound that discards traffic, typically as the target of a blocking rule. It answers a TCP client as if it had connected and then ends the stream without data, and drops UDP packets without an answer. Both programs behave the same way; katana’s audit rules use it too. See freedom and blackhole and katana routing.
Brutal
Section titled “Brutal”Brutal (kept in English) is Hysteria 2’s congestion control for a fixed rate: once the two ends agree a rate, the sender keeps sending at it whatever the packet loss, sending a little more to make up for what it sees lost. etemenanki-app uses it when the bandwidth tables give a rate, and katana when a Hysteria 2 node agrees rates with a client. See Rates and congestion control.
Carrier connection
Section titled “Carrier connection”A carrier connection (承载连接) is the one client connection that carries a mux.cool session. Its own destination, v1.mux.cool:0, is a marker that is never dialed, and closing the carrier ends all of its sub-flows. See Mux and XUDP.
Circuit
Section titled “Circuit”A circuit (kept in English) is one proxied TCP stream or UDP session inside a Hysteria 2 QUIC connection. The client authenticates once per QUIC connection and then opens circuits on it; max_circuits caps them per listener. See Connection and circuit limits.
A codec (kept in English) is the client half of a proxy protocol: it writes the handshake to an upstream server, wraps outgoing data and unwraps what comes back. The socks, http, shadowsocks, trojan, vless and vmess outbounds are codecs running over a transport. See the developer guide.
Configuration check
Section titled “Configuration check”The configuration check (配置检查), --test, builds a configuration without binding any port or contacting a panel, then prints Configuration OK. (etemenanki-app) or Configuration OK (katana), or the first error it finds. etemenanki-app also merges the subscribe file, checks [api] and refuses two inbounds on one address and port; katana checks each node’s outbounds, [dns], routes and, for a Hysteria 2 node, its listener. Problems that only appear at bind time, such as a port already in use by another program, are not caught. See Command line.
Connector
Section titled “Connector”A connector (connector(连接器)) is what a protocol core calls when it needs an outbound connection for a flow. The supervisor’s connector routes the flow through the current plane and asks the chosen outbound to dial it. See the developer guide.
A core, or protocol core (协议核心(core)), is the server half of a protocol written as a sans-I/O state machine: it is handed the client’s bytes and answers with effects such as “open this destination”, “forward these bytes” or “close”, without touching a socket itself. Most inbound protocols are cores; the SOCKS inbound is the exception, with its own driver. See the developer guide.
Cover site
Section titled “Cover site”The cover site (伪装站点), dest in a REALITY inbound’s settings, is the real TLS site a REALITY server passes itself off as. The server passes each client’s opening to the cover site and models its own answer on the cover site’s; a connection it does not let in stays with the cover site, so a probe talks to that site. See REALITY.
Datagram
Section titled “Datagram”A datagram (数据报) is one UDP packet. When it is proxied, each datagram carries its own destination address, which is why both programs route UDP packet by packet rather than once per association. See How UDP reaches an outbound.
Debt (欠额) is the negative balance of a token bucket. The pacer charges every transfer in full, even when it is larger than the bucket holds, and the user’s next transfers wait until the refill has paid the debt back, so the average rate holds whatever the chunk size. See Debt instead of waiting for tokens.
Default route
Section titled “Default route”The default route (默认路由) is the outbound a flow takes when no rule matches. In etemenanki-app it is [route].default, or the default pick in [subscribe.routes] when a subscribe file is used, or else the first [[outbound]] in the file; direct and blackhole exist on demand when a route names them. In katana it is [node.route].default, which defaults to direct. See Tags and the default route.
Device limit
Section titled “Device limit”A device limit (设备数限制) caps how many client IP addresses one user’s connections may come from at the same time. katana takes it per user from Xboard, V2board or helium and enforces it per node when enable_device_limit is on. See Device limits and IP bans.
Dialer
Section titled “Dialer”A dialer (拨号器) opens the host’s outgoing TCP connections and UDP sockets. The TCP dialer tries a destination’s addresses one after another, allows each attempt 10 seconds, and keeps the first connection that succeeds. See the developer guide.
Disruptive change
Section titled “Disruptive change”A disruptive change (中断性变更) is a configuration change that cannot be applied without ending an inbound’s live connections: a change to a TUN inbound, or to a Hysteria 2 inbound’s obfuscation key. etemenanki-app refuses such a reload and asks for a restart. See When the new file cannot be applied.
DNS resolver
Section titled “DNS resolver”The DNS resolver (DNS 解析器) turns domain names into addresses for the outbounds. [dns] selects the backend, system (the host resolver, the default), udp, tls (DNS over TLS) or https (DNS over HTTPS), and answers are cached. etemenanki-app builds the resolver again only when [dns], or the subscribe file’s [dns], changes; a subscribe file can split it into servers asked directly and servers asked through the proxy. Every katana node builds its own resolver from [dns]. See DNS.
To drain (排空) is to let the connections of something that is being replaced finish on their own instead of closing them. The drain policy (排空策略) says what happens to the flows of an outbound version that a reload replaces. See the developer guide.
An ETag (kept in English) is the version marker a panel sends with a response. katana sends the last one back in If-None-Match, exactly as it came, and a 304 Not Modified answer tells it that nothing changed, so it keeps what it already has. etemenanki-app’s REST API gives out an ETag too: the hash of the configuration file, which a route switch can send back in If-Match. See ETags and 304.
Fail closed
Section titled “Fail closed”To fail closed (fail closed(出错即拒绝)) is to refuse when something is wrong or unknown, instead of falling back to a permissive default. Both programs reject unknown keys, and unknown values for settings such as protocol, network and security, so a typo stops the configuration from loading rather than, for example, turning TLS off; katana also refuses a node that asks for a feature it does not implement. See Strict by design.
A flow (流) is one proxied request and the unit that routing works on: a TCP request, a sub-flow inside mux.cool, a stream inside an AnyTLS connection, a UDP association or a Hysteria 2 stream. It belongs to a session and carries the destination, the user, the client’s address and any sniffed domain. See Routing.
Freedom and direct
Section titled “Freedom and direct”freedom, also accepted as direct, is the outbound that connects from this host straight to the flow’s destination, resolving names with the DNS resolver. katana builds direct and freedom into every node. See freedom and blackhole.
Geodata
Section titled “Geodata”Geodata (地理数据) are the v2ray-format geoip.dat and geosite.dat files. A geoip code matches destination IP addresses in a list, !code those outside it; a geosite code matches a list of domains, and code@attr keeps only the entries with that attribute. Codes are case-insensitive, the file paths go in [route] or [node.route], and only the referenced codes are loaded. See Routing.
Handshake
Section titled “Handshake”A handshake (握手) is the exchange that opens a connection before any payload moves. On the TCP-based inbounds there are two layers, the transport handshake (TLS, the WebSocket upgrade, the HTTP/2 preface of gRPC) and the protocol handshake in which the client authenticates and names its destination; the protocol handshake must finish within 10 seconds. See Limits.
helium
Section titled “helium”helium (kept in English) is a panel with its own node API. katana speaks its node API v2, under /api/node/v2/, with panel_type = "Helium". Its node config is typed and describes the whole inbound, no longer in UniProxy’s fields; its users answer says the limits once for every user, and its reports carry client addresses. See helium.
Hot reload
Section titled “Hot reload”Hot reload (热重载) applies an edited configuration file without restarting the process. The supervisor compares the new configuration with what runs, builds only what changed, and switches new connections to it: a listener whose address and port stay the same keeps its socket, an inbound whose settings changed serves new connections with the new settings, and an outbound that changed gets a new version. Connections the change does not touch keep going. A file that fails to parse or build is logged, and the running configuration stays in place; etemenanki-app also refuses a disruptive change. katana applies each change to the node it concerns; an edit to a node’s routes drops that node’s connections, and an edit to [[outbound]] or [dns] those of every node. See Hot reload and katana hot reload.
Inbound
Section titled “Inbound”An inbound (入站) accepts client connections: a listener, a protocol (socks, http, shadowsocks, trojan, vless, vmess, hysteria2 or tun) and, for some protocols, a transport. In etemenanki-app you write each [[inbound]] yourself; in katana the panel’s description of the node plays that role. See Inbounds.
IP ban
Section titled “IP ban”An IP ban (IP 封禁) turns away, for a while, a client address whose authentications keep failing. katana counts failures per address on TCP nodes when enable_device_limit is on; an IPv6 client’s whole /64 counts and is banned as one address. See The IP ban.
Listener
Section titled “Listener”A listener (监听器) is the bound socket an inbound accepts connections on: a TCP port, a Unix socket path, or a UDP port for Hysteria 2. A tun inbound has no listener, because it owns a network device instead; katana runs one listener per node. See Inbounds.
Lowering
Section titled “Lowering”Lowering (lowering(降为 spec)) turns a configuration file into a spec: etemenanki-app lowers its TOML, katana lowers each node from its file and the panel’s answer. Most errors about settings, keys and files come from this step. See the developer guide.
Masquerade
Section titled “Masquerade”The masquerade (masquerade(伪装响应)) is the fixed HTTP/3 response a Hysteria 2 inbound gives to every request that is not a valid authentication, a wrong credential included. By default it is a plain 404 page not found. See Masquerade.
Matcher
Section titled “Matcher”A matcher (匹配条件) is one condition key inside a routing rule, such as domain_suffix, cidr, port, geosite or inbound_tag. A rule matches when any entry of any of its matchers matches; there is no way to require two conditions at once. See Routing.
mux.cool
Section titled “mux.cool”mux.cool (kept in English) is Xray’s multiplexing protocol, which carries many sub-flows over one VLESS, VMess or Trojan connection. Inbounds accept it automatically, up to 256 sub-flows per carrier; outbounds never send it. See Mux and XUDP.
A node (节点) is one proxy server entry in a panel, identified by its node ID. katana serves each [[node]] in its file on its own supervisor, with its own panel connection, listener, outbounds and routing table. The file sets the node’s type, and the panel decides its port, transport, TLS setting and users (a Hysteria 2 node can take its port from [node.hysteria] instead). listen_ip = "0.0.0.0", the default, serves IPv4 and IPv6 on a dual-stack host. A node that cannot come up keeps trying: katana waits 1 second after the first failure and doubles the wait up to 60 seconds, or update_periodic if that is shorter, and an edit to the node’s entry retries at once. In a subscribe file, a node is a [[proxy_server]] entry, which etemenanki-app turns into an outbound. See Nodes and When a node fails to start.
Node identity
Section titled “Node identity”A node identity (节点身份) is the set of values that name the panel node a [[node]] entry serves: panel_type, api.host, api.node_id, api.key and, on NewV2board and V2board, the node type katana asks the panel for (vless when enable_vless = true on a V2ray, Vmess or Vless node, otherwise node_type in lowercase). Changing any of them in the file replaces the node with a fresh one instead of updating it. Every other edit reaches the running node, including the remaining [node.api] keys such as api.timeout, and an edit to [node.api], to enable_mtls or to [node.hysteria] gives the node a new panel client. See Node identity.
Node tag
Section titled “Node tag”A node tag (节点 tag) is the tag of a katana node’s inbound: the node type, listen_ip as written and the port, joined by underscores, for example V2ray_0.0.0.0_443. It appears in the runtime’s messages about the node’s listener, such as a bind that failed; most other lines name the node by its node ID. Because it contains the port, it changes when the panel moves the node to another port. See Listen address and node tag.
Node type
Section titled “Node type”The node type (節點型別), node_type in [node.api], tells katana what kind of node an Xboard or V2board panel describes: V2ray (VMess, or VLESS with enable_vless = true), Trojan, Shadowsocks, Hysteria2, AnyTLS, Socks or Http. A helium node sets none: its panel describes the protocol. It is compared case-insensitively, and vmess, vless, hysteria, hy2 and socks5 are accepted as aliases; vless alone does not switch on VLESS. See Protocols.
Outbound
Section titled “Outbound”An outbound (出站) is where a flow leaves the proxy. freedom connects directly, blackhole discards, a proxy protocol relays through an upstream server, and wireguard sends through a WireGuard tunnel; each [[outbound]] has a tag that routing refers to. When a reload changes an outbound, it gets a new version, shown as @v<n> after the tag in the reload summary. See Outbounds and, for the protocols katana offers, katana outbounds.
Outbound pool
Section titled “Outbound pool”The outbound pool (出站池) is katana’s name for the outbounds its nodes can route to: the built-in direct, freedom, block and blackhole, plus each top-level [[outbound]]. The file defines them once, and every node builds its own copy of each; so a WireGuard outbound that several nodes route to becomes one tunnel per node, and katana warns about it. An edit to [[outbound]] or [dns] rebuilds every node’s outbounds and drops their connections, and katana logs reload: outbound pool rebuilt. See Every node builds its own outbounds.
Padding scheme
Section titled “Padding scheme”The padding scheme (填充方案) is the list of rules an AnyTLS server sends its clients: how many of a session’s first records to shape, and the sizes, or ranges of sizes, to split and pad each one into. etemenanki-app sends a default scheme unless padding_scheme names another. See AnyTLS.
A panel (面板) is the web application that manages users, plans and nodes, such as Xboard, V2board or helium. katana polls it for node settings and users and reports traffic back to it, over UniProxy or helium’s node API. katana 6 no longer serves SSPanel; see Upgrading to katana 6. See Supported panels.
Permit
Section titled “Permit”A permit (许可(permit)) is one slot of a fixed-size limit, held for as long as the thing it counts exists. A stream inbound (one that accepts TCP or Unix-socket connections) allows 4,194,304 live connections and 204,800 connections still in their handshake. A Hysteria 2 inbound allows 262,144 QUIC connections and 4,194,304 circuits by default. See Limits and Connection guardrails.
A pick (选择) is the entry in [subscribe.routes] that says which node, outbound or balancer a route group uses, or with the key default, which one takes traffic no group matches. A group without a pick uses what it inherits. The REST API changes picks by rewriting this table. See Picking nodes.
Placeholder
Section titled “Placeholder”A placeholder (占位值) is an obviously fake value in an example, such as example.com, an address from 192.0.2.0/24, the UUID 11111111-2222-3333-4444-555555555555 or the password replace-with-a-long-random-password. The guide picks placeholders that the parser accepts, so --test checks the rest of the file, but you must replace each one before you put the configuration into service. See the full example in Configuration file and the katana quick start.
The plane (plane(数据平面)) is the routing state new flows are routed with: the rules, the outbounds and balancers they name, and the DNS resolver. A reload publishes a new plane, and flows opened from then on are routed with it. See the developer guide.
Poll cycle
Section titled “Poll cycle”The poll cycle (轮询周期) is katana’s control loop for one node. Every update_periodic seconds (default 60) the node fetches its settings and users from the panel, refreshes its audit rules, applies any change, and reports traffic. An accepted edit to the node’s [node.api] keys or enable_mtls, or to a local setting its node is built from, such as the certificate or the route, runs one cycle at once instead of waiting for the timer. See The poll cycle.
Port hopping
Section titled “Port hopping”Port hopping (端口跳跃) is a Hysteria 2 client moving its QUIC connection from one server port to another at an interval, over a set of ports the server’s firewall forwards to one listener. The hysteria2 outbound does it with ports and hop_interval. See Port hopping.
Pre-shared key
Section titled “Pre-shared key”A pre-shared key (预共享密钥) is a secret both ends know in advance. Shadowsocks 2022 methods take base64 keys of the cipher’s key length, 16 or 32 bytes, and a shorter key is an error (generate one with openssl rand -base64 32, or 16 for the AES-128 method). A WireGuard outbound can add an optional preshared_key (pre_shared_key in katana). See Generating keys.
Principal
Section titled “Principal”A principal (principal(身份主体)) is the user a connection authenticated as. The inbound’s user set gives it, and the session keeps it for its whole life; traffic counts and speed limits follow it. See the developer guide.
PROXY protocol
Section titled “PROXY protocol”The PROXY protocol (kept in English) is a header a relay sends at the start of a TCP connection to name the client it relays for. katana’s TCP nodes read version 2 when a connection starts with it, so the device limit and the IP ban see the client’s address behind such a relay. See PROXY protocol v2.
Rate limiting
Section titled “Rate limiting”Rate limiting (速率限制) is pacing traffic to a fixed rate. In this guide it is the mechanism behind katana’s speed limits: a token bucket per user on each node, shared by all of that user’s flows there. See Speed limits.
REALITY and XTLS Vision
Section titled “REALITY and XTLS Vision”REALITY and XTLS (both kept in English) come from Xray. REALITY is a security of its own for VLESS over TCP, security = "reality": a TLS 1.3 handshake in which the server passes itself off as a cover site, lets in only clients that know its public key and a shortId, and relays everyone else to that site. XTLS Vision, flow = "xtls-rprx-vision", pads the start of a VLESS connection and, once an inner TLS 1.3 session is under way, carries the rest over the raw connection; it runs only over REALITY. etemenanki-app serves and dials both under VLESS only, and katana serves VLESS nodes with REALITY and Vision. No other XTLS flow exists in either program. See REALITY.
Reconcile
Section titled “Reconcile”To reconcile (调和) is how the supervisor applies a configuration: it plans the difference between the new spec and what runs, prepares everything new, binding new listeners while the old configuration keeps serving, and then commits, switching new connections over. A failure before the commit leaves the running configuration as it was. See The reload, step by step.
The relay (中继) is the stage after the handshake, in which the proxy copies bytes between the client and the outbound in both directions until the connection ends. Payload reaches the destination only from this stage on; everything before it is handshake, sniffing, routing and dialing. See Limits.
REST API
Section titled “REST API”The REST API (kept in English), the optional [api] section of etemenanki-app, is a small HTTP API for a program that manages the client: it switches picks, reloads the file, lists and closes connections, and streams traffic figures. See REST API.
Route group
Section titled “Route group”A route group (路由组) is one [[route_group]] in a subscribe file: a set of matchers, such as geosite lists or domain suffixes, whose traffic goes to the group’s pick, or else to what the group inherits. Route groups are matched in file order and become the routing table. See Route groups.
Routing
Section titled “Routing”Routing (路由) picks an outbound for each flow. Rules (规则) are checked in the order they are written and the first one that matches wins; a flow that matches none takes the default route. A TCP flow is routed once, when it opens, and a UDP association packet by packet. See Routing and katana routing.
Runtime
Section titled “Runtime”The runtime (运行时) is the driver that runs one proxied connection as a single task. It reads the client’s transport, hands the bytes to the protocol core, carries out the effects the core returns, and owns every outbound connection the core opens. See the developer guide.
Salamander
Section titled “Salamander”Salamander (Salamander 混淆) is the Hysteria 2 obfuscation turned on with obfs = "salamander". Every QUIC packet is XORed with a keystream derived from obfs_password and a random per-packet salt, so the traffic no longer looks like QUIC; it hides the protocol but adds no encryption. See Obfuscation (Salamander).
Sans-I/O
Section titled “Sans-I/O”Sans-I/O (kept in English) describes protocol code that performs no input or output: it consumes bytes and returns decisions, while a separate runtime owns the sockets and timers. The kernel’s protocol cores and codecs are written this way, so each can be tested byte by byte without a network. See the developer guide.
Session
Section titled “Session”A session (会话) is one accepted client connection as the supervisor tracks it, from accept until it closes: a TCP or Unix-socket connection, one stream of a gRPC connection, or one Hysteria 2 QUIC connection. It carries the principal once the client authenticates, and holds the flows it opens. Traffic is counted per session. See the developer guide.
Sniffing
Section titled “Sniffing”Sniffing (嗅探) reads a domain name from the first bytes of a flow that was addressed by IP: the SNI of a TLS ClientHello or the Host header of an HTTP request. Domain and geosite rules then match that name too, and so do katana’s audit rules, but the flow is still dialed to the original address. It waits at most 300 ms and reads at most 4 KiB, and it is on by default. See Sniffing and katana sniffing.
A spec (spec(期望状态)) is the complete desired state the supervisor runs: every inbound with its user set, every outbound and balancer, the routes and the DNS setup. Both programs lower their configuration into a spec, and a reload hands the supervisor a new one to reconcile. See the developer guide.
Speed limit
Section titled “Speed limit”A speed limit (限速) is a user’s bandwidth cap, in megabits per second, set by the panel for each user (helium says one limit, in bytes per second, for every user); katana converts 1 Mbps to 125,000 bytes per second, and 0 means no limit. [node.api].speed_limit above 0 replaces every panel limit on that node. A changed limit reaches the user’s open connections too. See Speed limits.
sss (kept in English) is a small stream proxy protocol of the Etemenanki project: one request header with the user’s UUID and the target, then the payload verbatim, with no encryption of its own. Each direction runs through a transform chain that both ends configure the same. etemenanki-app serves and dials it over any transport but REALITY, and katana serves sss nodes from helium. See sss.
Stream settings and transport
Section titled “Stream settings and transport”The stream settings (stream 设置), the [inbound.stream] and [outbound.stream] tables, choose the transport (传输层) a protocol runs over: tcp, tls, ws (WebSocket) or grpc, with security = "tls" adding TLS under WebSocket or gRPC, or security = "reality" putting REALITY under VLESS. Every inbound that listens on TCP accepts a transport on an IP listener: socks, http, trojan, vless, vmess, shadowsocks, anytls (TLS only) and sss; katana takes the transport from the panel. See Transports.
Sub-flow
Section titled “Sub-flow”A sub-flow (子流) is one flow inside a mux.cool carrier: a TCP stream, or with XUDP a UDP session, with its own destination. Each sub-flow is routed and sniffed on its own. See Mux and XUDP.
Subscribe file
Section titled “Subscribe file”A subscribe file (订阅文件) is a TOML file a provider hands out, listing nodes ([[proxy_server]]), a DNS setup and route groups. etemenanki-app reads it when [subscribe] names it, merges it with your own file, and reloads when either changes. See Subscribe files.
Supervisor
Section titled “Supervisor”The supervisor (supervisor(监管器)) is the part of the kernel that runs a spec: it binds the listeners, serves every connection as a session, keeps the plane that routes flows, counts traffic and applies speed limits, and reconciles a new spec on reload. etemenanki-app runs one; katana runs one per node. See the developer guide.
A tag (kept in English) is the name of an inbound, outbound or balancer, used by rules, by default and in log lines. Tags are compared exactly, including case; inbound tags must be unique among inbounds, and outbounds and balancers share one set of tags. See Tags and the default route.
Token bucket
Section titled “Token bucket”A token bucket (令牌桶) is the per-user pacer behind katana’s speed limits. It refills at the user’s speed limit, holds at most one second of that rate, and is shared by all of the user’s flows on that node, in both directions; a transfer larger than the balance runs the bucket into debt. See One bucket per user.
Traffic accounting
Section titled “Traffic accounting”Traffic accounting (流量计费) is katana’s counting of each user’s upload and download bytes. The supervisor counts each session’s protocol stream as it crosses the connection’s transport: the payload together with the protocol’s own handshake, headers and framing, but not TLS records, WebSocket or gRPC framing, or TCP/IP headers. For Hysteria 2 it counts the user’s QUIC connection. This per-user count is the usage (用量) katana reports. See What is counted.
Traffic reporting
Section titled “Traffic reporting”Traffic reporting (流量上报) sends the counted bytes to the panel once per poll cycle, one row per user ID. Users with no traffic are left out, and no request is sent when nobody has any. See Traffic reporting.
Transform chain
Section titled “Transform chain”A transform chain (变换链) is the ordered composition of reversible encodings, such as RFC 4648 text, byte stuffing, zstd compression, record framing, padding, byte maps or block permutations, that sss runs one direction of a stream through. Each direction is one expression, composed right to left with |, or a list of expressions run in order: transform = { up = "baseN()|zstd()", down = ["zstd()"] }. Both ends must write the same chains. See sss.
A TUN inbound (kept in English), protocol = "tun", creates a layer-3 network interface and turns the TCP connections and UDP packets the host routes into it into flows. It exists only in etemenanki-app. See TUN.
UDP association
Section titled “UDP association”A UDP association (UDP 关联) is one client’s UDP session through an inbound: a SOCKS5 UDP ASSOCIATE, a UDP request over VLESS, VMess, Trojan or sss, a UDP-over-TCP stream of AnyTLS, an XUDP sub-flow, or a Hysteria 2 UDP session. It has no single destination, so each packet is routed on its own address, and an association keeps one link per outbound it has routed to, at most 64 at a time. See How UDP reaches an outbound.
UniProxy
Section titled “UniProxy”UniProxy (kept in English) is the node API of Xboard and V2board, under /api/v1/server/UniProxy/. With panel_type = "NewV2board" or "V2board", katana calls config for the node’s settings, user for its users and push to report traffic. katana converts the config answer into the same typed node config helium sends, and refuses by name, as it reads the answer, what it cannot serve. See Xboard and V2board.
User set
Section titled “User set”A user set (用户集) is the list of users an inbound admits, each with the credential it presents and a name: a Trojan, VLESS, VMess, Shadowsocks, AnyTLS or sss user’s email, a Hysteria 2 user’s user, or in katana the panel’s user ID. Names must be unique, and so must credentials. See Users.
Xray-core and XrayR
Section titled “Xray-core and XrayR”Xray-core is the Go proxy whose protocols and configuration model etemenanki-app follows, and XrayR is the Go panel node agent that katana is modelled on; both names are kept in English. Neither program reads their configuration files, which are JSON and YAML; both use TOML. See Migrating from Xray and Migrating from XrayR.
XUDP (kept in English) is the mux.cool extension that lets a UDP sub-flow carry a destination address with every packet, so one sub-flow can talk to several peers. Inbounds accept it; the XUDP global ID is read but not used to resume a session on a new connection. See Mux and XUDP.
Chinese terminology
Section titled “Chinese terminology”The Chinese pages translate every term in the table below exactly as shown, so that one idea always has one name. Configuration keys, values, command-line flags, type names, file paths, error messages and log lines are never translated.
| English | 中文 | Note |
|---|---|---|
| address family | 地址族 | |
| admission | 准入 | |
| audit (rule) | 审计(规则) | |
| backpressure | 背压 | |
| balancer | 负载均衡器 | |
| cancellation | 取消 | |
| carrier connection | 承载连接 | |
| certificate, private key | 证书,私钥 | |
| circuit | circuit | kept in English |
| codec | codec | kept in English |
| configuration check | 配置检查 | |
| connector | connector(连接器) | English word plus gloss |
| core (protocol core) | 协议核心(core) | |
| cover site | 伪装站点 | |
| datagram | 数据报 | |
| debt | 欠额 | |
| default route | 默认路由 | |
| dialer | 拨号器 | |
| disruptive change | 中断性变更 | |
| DNS resolver | DNS 解析器 | |
| drain, drain policy | 排空,排空策略 | |
| fail closed | fail closed(出错即拒绝) | English phrase plus gloss |
| flow | 流 | |
| geodata | 地理数据 | geoip and geosite are kept |
| handshake | 握手 | |
| hot reload | 热重载 | |
| inbound / outbound | 入站 / 出站 | |
| invariant | 不变量 | |
| listener | 监听器 | |
| lowering | lowering(降为 spec) | English word plus gloss |
| masquerade | masquerade(伪装响应) | English word plus gloss |
| matcher | 匹配条件 | |
| node identity | 节点身份 | |
| node tag | 节点 tag | |
| node type | 节点类型 | |
| obfuscation | 混淆 | |
| outbound pool | 出站池 | |
| padding scheme | 填充方案 | |
| panel, node | 面板,节点 | |
| permit (semaphore) | 许可(permit) | |
| placeholder | 占位值 | |
| plane | plane(数据平面) | English word plus gloss |
| poll cycle | 轮询周期 | |
| pre-shared key | 预共享密钥 | |
| principal | principal(身份主体) | English word plus gloss |
| rate limiting | 速率限制 | |
| reconcile | 调和 | |
| relay | 中继 | |
| route group, pick | 路由组,选择 | |
| routing, rule, matcher | 路由,规则,匹配条件 | |
| runtime | 运行时 | |
| session | 会话 | |
| sniffing | 嗅探 | |
| spec | spec(期望状态) | English word plus gloss |
| speed limit | 限速 | |
| sub-flow | 子流 | |
| subscribe file | 订阅文件 | |
| supervisor | supervisor(监管器) | English word plus gloss |
| tag | tag | kept in English |
| token bucket | 令牌桶 | |
| traffic accounting | 流量计费 | |
| traffic reporting | 流量上报 | |
| transform, transform chain | 变换,变换链 | |
| transport, stream settings | 传输层,stream 设置 | |
| UDP association | UDP 关联 | |
| usage | 用量 | |
| user set | 用户集 | |
| user table | 用户表 |
These names are always kept in English: AnyTLS, ETag, mux.cool, REALITY, REST API, Salamander, sans-I/O, sss, SSPanel, TUN, UniProxy, V2board, Vision, Xboard, Xray-core, XrayR, XTLS and XUDP.