← All projects

Network Security · DPI

Xray REALITY Censorship Circumvention

Technical write-up and tooling from operating a self-hosted, censorship-resistant proxy service. Models national filtering as eight detection layers and ships a TLS-record-splitting proxy that defeats ServerHello-based blocking.

Highlights

  • Modelled the filtering system as eight detection layers and mapped circumvention to each
  • Built a pure-stdlib TCP proxy that splits TLS records, tested against the observed ServerHello-based blocking
  • Self-hosted operation with diversified REALITY inbounds provisioned via the 3x-ui API
  • No server addresses, keys or user data in the repo; credentials come from env or are generated at runtime

A hands-on study of deep-packet-inspection evasion. The repository documents how a national firewall detects and blocks circumvention traffic, layer by layer, and which mechanism answers each layer, including a small TCP proxy (pure Python standard library) that sits in front of Xray REALITY and splits the TLS record to defeat ServerHello-based blocking.