FINDING · DETECTION
Iran's DPI infrastructure performs full TCP reassembly and stateful inspection on the fly, nullifying TCP fragmentation (10–30 byte fragments with 10–20ms delays) applied to VLESS+WebSocket behind Cloudflare CDN in full-strict mode. Domains are blocked within 24 hours despite the CDN layer and rotation of clean Cloudflare IPs. Fragmentation was applied to the first 5 packets and verified correct on the client side with tcpdump; the setup used port 443 with a randomized WebSocket path.
From 2026-pooribitwise-iran-advanced-dpi — [Iran] Advanced DPI is reassembling TCP fragments to extract SNI on VLESS/WS + CDN · Issue body — Description / The Issue · 2026 · net4people/bbs
Implications
- Do not rely on TCP fragmentation alone to defeat SNI extraction against Iran — stateful TCP reassembly renders fragment-based obfuscation ineffective; combine with SNI encryption (ECH) or a protocol that never exposes the target domain in cleartext.
- CDN fronting (Cloudflare) does not prevent blocking once the censor can extract the SNI from reassembled TCP streams — migrate to protocols where the target domain is structurally hidden (ECH+QUIC, Reality with a non-targeted masquerade).
Tags
Extracted by claude-sonnet-4-6 — review before relying.