← Lab /Security & privacy

Shaperd adds negligible throughput overhead while enabling arbitrary traffic shaping for encrypted tools

Shaperd makes fully encrypted protocol tools more resistant to detection with minimal impact on throughput

Security & privacy arXiv 27 Apr 2026 Method Prototype evidence

Published as “Extended Abstract: Shaperd: Easily Adoptable Real-Time Traffic Shaper for Fully Encrypted Protocols”

Why it matters

Shaperd could let existing censorship-circumvention tools evade packet-length and entropy based detection with negligible performance loss, facilitating broader deployment.

Summary

Shaperd can shape packet lengths (and eventually timings) for fully encrypted protocols with only a 4.1% throughput overhead in preliminary tests, though the current prototype only supports TCP and uses a simple entropy constraint; the evidence is limited to a synthetic random-byte workload and the timing component is not yet implemented.

What they found 2

  1. Minimal throughput overhead of 4.1% when applying a simple entropy constraint.

    “Our preliminary results reveal a minimal overhead of 4.1% over the input throughput.”

  2. Overhead increases with additional constraints (5.1% for first, 5.5% for second).

    “the first constraint added an overhead of 5.1% and the second added 5.5% of overhead.”

Caveats 8

  • The timer thread for packet-timing shaping is still a work in progress.
  • Only TCP packets are currently supported.
  • Evaluation used a random byte generator rather than real traffic, limiting external validity.
  • Constraint-agnostic design incurs a performance drawback.
  • Shaperd’s constraint agnostic design is both a strong point of our work and a major performance drawback.
  • The current version of Shaperd only supports shaping TCP packets.
  • Our current evaluation methodology uses a random byte generator as the client.
  • We note that the time thread is currently a work in progress.

What’s new here 4

  • Provides a constraint system that lets users specify arbitrary packet features such as entropy or printable-ASCII ratio.
  • Shapes both packet length and (planned) timing in real time, directly on packet contents.
  • Designed for easy integration with any existing FEP, acting as a stand-alone shaper.
  • Implements length reduction and naive content padding as shaping methods.