Core & Protocols
Full protocol & transport stack, compiled in.
Every dialer supports both TCP streams and UDP datagram relaying (native UDP, QUIC datagrams, or UDP-over-TCP v2) plus composable multi-hop chains.
SIGNAL TRANSPORT PIPELINE · IN-PROCESS GO STACK
TCP + QUIC + UDP-over-TCP v2
Outbound Protocol Matrix
| Protocol | Transports | UDP Relay | Security & Spec Highlights |
|---|---|---|---|
| Shadowsocks 2022 | TCP / UDP | AES-ECB SepHdr / XChaCha20 | SIP022 / SIP023 (2022-blake3-aes-128/256-gcm, chacha20), replay window check, request salt binding, multi-user EIH |
| VLESS | TCP / TLS / REALITY / WS / HTTPUpgrade / gRPC | VLESS Cmd 0x02 | XTLS Vision (raw/tcp), REALITY (X25519 + uTLS + ShortID), ALPN h2 for gRPC |
| Hysteria2 | QUIC | QUIC Datagram | QUIC brutal congestion adaptation, multi-port hopping (mport), Salamander obfuscation, dynamic datagram retry |
| AnyTLS | TLS (uTLS + Pool) | SagerNet UoT v2 | Session multiplexing pool, SHA-256 cert pin, uTLS fingerprint, SagerNet UoT v2 UDP tunnel |
| VMess | TCP / TLS / WS / HTTPUpgrade / gRPC | Mux / UDP | AEAD header encryption, TLS/WS/HTTPUpgrade/gRPC transports, JSON & Shadowrocket URI parsing |
| Trojan | TLS / WS / HTTPUpgrade / gRPC | Trojan UDP-over-TCP | SHA224 credential over TLS/WS/HTTPUpgrade/gRPC, UDP-over-TCP encapsulation |
| SOCKS5 / HTTP(S) / SS | TCP / TLS | UDP Associate / SS AEAD | SOCKS5 & HTTP(S) inbound/outbound, HTTP Basic auth, multi-hop dialer chaining |
Rule-Set & Takeover Capabilities
| Subsystem | Supported Formats / Modes | Implementation Detail |
|---|---|---|
| Rule-Set & Inline Engine | Mihomo .mrs (domain/ipcidr) · Clash type: inline · List / YAML · no-resolve | Zstd + LOUDS Succinct Trie & sorted netip closed-range binary search, 16MB safety cap, disk cache preload |
| Native Proxy Chains | Strict multi-hop relay · Failover · Load Balance | Recursive dialer resolution mixing subscription nodes and standalone custom servers |
| Traffic Takeover & Attribution | PAC Smart Bypass · System Proxy · macOS utun · Windows WinTun · Mixed :2333 | Async PTR backfill, process attribution, local DNS DoH/Fake-IP & optional MITM interception |