Wind¶
Wind is a modular proxy framework and standalone proxy binary written in Rust (Edition 2024). It provides shared async transport abstractions, protocol codecs, routing, DNS, ACME, and traffic accounting components for projects such as TUIC and Breeze, while also shipping a ready-to-run standalone CLI.
This documentation targets the wind workspace (0.2.0) and is maintained in both English and 简体中文. Use the language switcher in the top header to switch languages on any page.
User Guide¶
For users building, configuring, or running the standalone wind binary:
- Getting Started: Build
windfrom source, initialize a config file, and verify proxying. - CLI and Configuration: Command-line flags, YAML/TOML discovery order,
WIND_environment overrides, and strict validation. - Inbounds and Outbounds: Complete field references for
socks,http,mixed,tunnelinbounds andsocks,tuic,naive,load-balanceoutbounds. - Chained Proxies: Combine pinned inbound outbounds,
tunnelinbounds, and SOCKS5 UDP outbounds to build multi-hop transports. - Transports and Building: Quinn vs. Quiche QUIC backends, ECH, Cronet dynamic/static linking, and
SocketPolicy.
Architecture¶
For developers integrating Wind crates or contributing to the workspace:
- Architecture and Crates:
App/Plugin/Dispatcherabstractions and an overview of all 13 workspace crates and feature flags. - Routing and Services: Capabilities and current boundaries of
wind-acl,wind-rule,wind-geodata,wind-dns,wind-acme, andwind-base. - Runtime State Machines: State transitions across connections, streams, authentication, reconnects, certificate rotation, and troubleshooting.
- Formal Verification: Verus-proved concurrency, routing, and protocol invariants, Vest wire-format codecs, and local verification commands.
Specifications¶
Chinese and English editions share identical section numbering and normative requirements:
- Protocol Specifications: TUIC v5 · AnyTLS v2 · NaïveProxy · Hysteria 2
- Design Specifications: ACL IR · Config DSL v6 · RFC Template
Source repository · Documentation repository · TUIC Documentation