FINDING · DETECTION

The GFW detects Shadowsocks by flagging apparently high-entropy connections that are not TLS or HTTP, but this detection is brittle: connections are explicitly allowed if the first 6 bytes of the first packet of a flow are all printable ASCII characters (range 0x20–0x7E). Adding a 6-byte alphanumeric preamble to the Shadowsocks message definition is sufficient to bypass this heuristic and requires only a short patch to the protocol specification file.

From 2023-wails-proteusProteus: Programmable Protocols for Censorship Circumvention · §3.2 · 2023 · Free and Open Communications on the Internet

Implications

Tags

censors
cn
techniques
random-payload-detectfully-encrypted-detectdpi
defenses
shadowsocksrandomization

Extracted by claude-sonnet-4-6 — review before relying.