Extended Abstract: Shaperd: Easily Adoptable Real-Time Traffic Shaper for Fully Encrypted Protocols Volume: YYYY X DOI: XXXXXXX.XXXXXXX

Sarah Wilson, Stella Tian, Sina Kamali · 2026

Read Extended Abstract: Shaperd: Easily Adoptable Real-Time Traffic Shaper for Fully Encrypted Protocols Volume: YYYY X DOI: XXXXXXX.XXXXXXX by Sarah Wilson, Stella Tian, Sina Kamali (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-25069.txt.

Introduction

Wilson, Tian and Kamali propose Shaperd, an easily adopted real-time traffic shaper for encrypted protocols. Encrypted protocol tools help circumvent censorship in restrictive regions and are valued for speed and security. Censors block them via passive traffic analysis and active probing. Shaperd operates on packet contents in real time. A novel constraint system lets users generate traffic flows with desired features. Early results show Shaperd adds minimal overhead to system throughput. The abstract presents Shaperd as a practical aid making censorship tools harder to detect.

Catalog record

CREATORSarah Wilson, Stella Tian, Sina Kamali
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE13893
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2604.25069

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Extended Abstract: Shaperd: Easily Adoptable Real-Time Traffic Shaper for Fully Encrypted Protocols Volume: YYYY X DOI: XXXXXXX.XXXXXXX Sarah Wilson, Stella Tian, Sina Kamali Abstract . Fully encrypted protocol-based tools (FEPs) are tools commonly used to circumvent censorship in restrictive regions, valued for their performance and security. However, in recent years, censors have been able to block them using an array of attacks based on passive traffic analysis and active probing. We propose Shaperd, an easily adoptable and real-time traffic shaper designed specifically to aid FEPs become more resilient to detection. Shaperd operates directly on packet contents in real time, using a novel constraint system to allow its users to generate traffic flows with any desired features. Our preliminary results reveal Shaperd introduces minimal overhead to the underlying system’s throughput. † † Extended abstract presented at Free and Open Communications on the Internet (FOCI 2025), held in conjunction with the 25th Privacy Enhancing Technologies Symposium (PETS 2025). 1. Introduction Over time, more countries are resorting to internet censorship in times of political unrest, protests, or elections ( 7 ; 2 ) . This restriction on the information flow results in the censor’s complete control over the public’s perception of ongoing events, which could strongly impact the outcome of the situation. To thwart internet censorship attempts, users have to resort to censorship circumvention (CC) systems. Many CC systems have been proposed over the years, with various degrees of practicality, effectiveness, and performance ( 16 ; 10 ) . These tools range from solutions such as decoy routing ( 3 ) , which are potentially effective and resilient, but are hard to deploy, to data embedding solutions such as multimedia protocol tunneling ( 11 ; 6 ; 9 ) , which are considered secure, but lack the required performance for daily activities. One of the most used and widely adopted CC systems are tools based on fully encrypted protocols (FEPs) ( 5 ; 8 ) . FEPs function by encrypting the entirety of the traffic payload, making the traffic appear as random bytes. This approach allows FEPs to effectively hide traffic metadata, such as the underlying protocol and data length, which enables them to avoid censoring tactics that rely on protocol or domain blocklisting ( 15 ) as the censor cannot recognize them. Doing so effectively makes the data sent by FEPs "look random" ( 4 ) . There are many examples of FEPs, with varying security guarantees, including Shadowsocks ( 12 ) and VMess-based ( 18 ) systems. Even though FEPs seem robust, they are easily recognizable when used without additional security measures, as "looking like nothing" is a standout feature. Recently, censors have been using a variety of methods ranging from statistical analysis to active probing to detect and block commercial FEPs such as Shadowsocks. Alice et al. ( 1 ) demonstrated how Shadowsocks can be detected using the packet length and entropy. Later on, Wu et al. ( 22 ) highlighted the extent of the detectability of FEPs, and were able to shed light on specific rules upon which FEPs are detected. They reveal that packets are blocked based on ad-hoc rules such as the number of printable ASCII characters, or the fact that the entropy of normal encrypted TLS packets is considerably lower than FEPs. These rules are subject to frequent changes, so the rigid design of older FEPs is unable to adapt to the updated detection rules. Additionally, Fenske et al. ( 5 ) deliver an extensive study on available FEPs and their features, highlighting their shortcomings, and revealing how packet lengths and protocol inconsistencies can be a main source of detection. They focus on fixing packet lengths using some primitive packet length shaping but leave the how to shape the traffic or shaping packet timings for future work. Although none of the aforementioned work discusses the effects of packet timings on the detection of FEPs, Wails et al. ( 21 ) showcase the general importance of packet timings in detecting CC tools. Fortunately, a solution for the challenges outlined above exists, a FEP-specific traffic shaper. Traffic shapers exist in other domains (e.g., IoT) to add a layer of privacy to the data in transit ( 23 ) . A FEP-specific traffic shaper could in theory shape data so it evades rule-based detection, helps normalize packet lengths, and control packet timings to thwart all previously mentioned attacks. Some prior work such as Proteus ( 20 ) discusses how traffic shaping could help improve their tool’s privacy guarantees, and some such as Fenske et al. ( 5 ) implement their own traffic shaper, but lack packet timing shaping and are not designed for integration with other solutions. Nevertheless, to the best of our knowledge, no prior stand-alone FEP traffic shaper exists that can address our concerns. In this paper, we introduce Shaperd, a real-time traffic-shaping tool that can easily be integrated with any existing FEP. Shaperd provides a novel constraint system, enabling its users to define the features of the generated traffic, shaping both the packets lengths and timings of a given traffic flow. Shaperd aims to be an independent traffic shaper that is compatible with all prior FEPs, thus addressing unobservability challenges highlighted by Wu et al. ( 22 ) . The generality of Shaperd’s constraint system enables users to generate traffic flows with any desired features, such as particular values for a packet’s entropy, to circumvent detection systems. Moreover, this allows integration with previous FEPs detected using such methods while incurring minimal performance overheads. Our main contributions are as follows: a) Shaperd, a traffic-shaping system that can easily be adopted by previous CC systems, allowing them to overcome detection techniques, and b) a novel constraint system that enables users to describe how they want to shape their traffic, resulting in a flexible traffic flow. 2. Technical Details In this section, we introduce Shaperd and its inner workings. Shaperd is designed to be easily integrated with any existing or future FEP, such as Shadowsocks ( 8 ) . Shaperd relies on its constraint system to allow users to adapt to the ever-changing detection systems used by the adversaries, such as the ad-hoc rules used by the censor analyzed by Wu et al. ( 22 ) . Shaperd uses two simple but effective methods to shape a packet’s content, which was designed with constraint agnosticism in mind. Workflow. The overall workflow of Shaperd is as follows. Alice, a Shaperd user, has a set of constraints outlining her desired traffic flow. This constraint set can either be created by her, received from trusted sources (e.g., how bridge information is distributed ( 17 ) ), or a mix of both. Then, Alice starts a Shaperd instance with the constraint set and routes her FEP through Shaperd. Data received by Shaperd is stored in a traffic buffer prior to being shaped according to the defined constraints. As a part of this process, the input traffic goes through two separate systems before being sent out: the shaper and timer threads. The shaper thread constantly monitors the traffic buffer, directly inspecting the contents of the buffered packets to generate new valid packets as soon as the contents either exceed the maximum capacity of a

Read the complete text