betaFeedback

WorksComputer Science

CenShaper: Shaping Proxy Traffic for Censorship Circumvention

Abstract

Modern commodity DPI systems are capable of analyzing packet sizes, directions, and timings to detect circumvention tools even when those tools use sophisticated obfuscation. The anti-censorship community has called for innovation in traffic shaping and built an ecosystem that facilitates the adoption of new shaping techniques. However, a fundamental gap is halting progress: what should circumvention traffic look like? Past experience with traffic shaping has underscored that effective shaping must produce traffic that looks like legitimate Internet traffic while limiting the ability of censors to identify multiple proxies through shared fingerprints. In this paper, we use our access to large-scale real-world TLS traffic at a regional ISP to analyze approximately 12 million connections, finding that individual servers differ substantially from the broader TLS population and that traffic patterns vary across services. Combining these empirical observations with past experience with traffic shaping, we build CenShaper, which shapes each proxy's traffic to look like a selected TLS server. To reproduce these server-specific patterns, CenShaper trains a shared generative model using traffic from TLS connections to many servers and adapts it for each proxy using a small sample of recorded connections to its selected server. Our model evaluation shows that fingerprints learned from known proxies transfer poorly to proxies imitating previously unseen TLS services. In end-to-end testing, CenShaper reduces the detection rate of TLS-over-TLS fingerprinting from over 85% to approximately 3% at a 1% false positive rate. Finally, we show how running CenShaper as a sidecar process simplifies integration with existing circumvention tools, making it a practical defense against increasingly powerful traffic analysis attacks.

Introduction

Deep packet inspection (DPI) devices have become increasingly capable of identifying censorship circumvention traffic through advanced analysis of packet sizes, directions, and timings. China and Russia have blocked a wide range of proxy protocols, and prior reports suggest that these campaigns relied on traffic patterns inherent to tunneling [13], [65]. More recently, leaked code from Geedge Networks, a Chinese DPI company with ties to the Great Firewall, revealed the use of packet sizes and directions to fingerprint circumvention tools [1]. Geedge has exported its products to several countries, including Kazakhstan, Ethiopia, Pakistan, and Myanmar, lowering the barrier to deploying advanced traffic analysis globally. These developments demonstrate that advanced traffic-analysis attacks are no longer a distant possibility, but an increasingly pressing threat to censorship circumvention worldwide.

Luckily, much of the technical groundwork for defending against traffic analysis is already in place: recent work has shown that traffic shaping can operate as a plug-and-play layer on top of existing proxies rather than being built into each protocol [23], [38], [63], and systems such as WATER [8], Outline SDK [39], and Proteus [57] enable rapid distribution and deployment of new shaping strategies. What remains is a more fundamental question: what shape should proxy traffic take? Early solutions such as ScrambleSuit [64] and obfs4 [73] randomize packet sizes and timings to give different proxy servers distinct traffic shapes, aiming to prevent censors from identifying them all using a single fingerprint. However, randomized traffic shapes stand out from ordinary Internet traffic, allowing censors to identify and block them [21], [60], [69].

Another approach is to make proxy traffic mimic ordinary Internet traffic, so that censors cannot block proxies without also disrupting legitimate connections [11], [33], [38]. Yet the anti-censorship community has long held that perfect mimicry is difficult [20]. Indeed, even proxies designed to look like ordinary TLS traffic can be told apart by patterns in packet sizes, directions, and timings [38], including patterns created by TLS handshakes inside the tunnel [70] and by differences between transport- and application-layer round-trip times [72].

Since neither randomization nor mimicry is enough on its own, an effective shaping strategy could combine the two, making proxies more difficult to distinguish from ordinary traffic while limiting the ability of censors to reuse fingerprints learned from individual proxies. What if a proxy provider shaped each proxy to imitate a distinct legitimate TLS server? We call the TLS server a proxy imitates its persona. By assigning each proxy a different persona, such as a particular website or CDN, the provider would end up with proxies that collectively exhibit many distinct traffic shapes. This diversity would make it harder for a censor to learn a single fingerprint that blocks the provider as a whole.

In this paper, we investigate whether this ordinary, but not identical approach is a good defense against traffic analysis. Whether this idea works depends on two sets of questions. The first concerns properties of real-world traffic that are difficult for the community to measure: Do different TLS servers have distinct enough traffic shapes to give proxies meaningful diversity? Do these shapes stay stable over time? And how much traffic must a proxy provider record to represent a persona? The second concerns whether the idea can be built: Can a shaper efficiently learn and generate a server’s traffic shape? Can a client and proxy independently derive the same shape, avoiding the synchronization problems that have long complicated censorship circumvention? And can all of this be packaged as a plug-and-play layer that providers can deploy as one more strategy in their defenses? Answering the first set requires observing many real servers, at scale and over time, from the network’s point of view, a vantage point that proxy providers typically lack. Answering the second requires building and evaluating such a shaper.

To answer the first set of questions, we collaborate with a regional ISP that serves a population of 1 million users to study real-world TLS traffic. In § 4, we show that traffic shapes differ substantially across TLS servers, while servers hosting the same domain exhibit similar shapes across IP addresses. In other words, legitimate traffic offers both a well-defined target for each proxy server and meaningful diversity across the proxy servers. We also find that these shapes remain relatively stable over three days, and that for most busy servers, only 160 recorded flows are enough to represent a server. Together, these measurements provide the empirical foundation on which the ordinary, but not identical approach rests.

To answer the second set of questions, we build CenShaper, a traffic shaper that makes proxy connections look like ordinary connections to a selected persona. At its core, CenShaper uses generative decision forests to learn a general model of TLS traffic from many servers, capturing dependencies among packet sizes, directions, timings, and TLS records. Each proxy then adapts this model to its persona using a small number of the persona’s recorded flows, without retraining the forests. This reduces the load on the provider, who only needs to record connections to a persona, not train a new model. For each proxy connection, the adapted model generates a traffic schedule: the direction, size, delay, and TLS records of each of the first 20 data packets, as a real connection to the persona might produce them. CenShaper then makes the proxy connection follow the shape of the traffic schedule, padding, splitting, and delaying packets as needed. Because the forests are deterministic, the client and proxy can each generate the same synthetic flow from their shared TLS handshake secret. Doing so removes the need for synchronization messages, which could themselves become fingerprints. Lastly, CenShaper runs independently of the proxy and handles its outer TLS connection, allowing it to be integrated with existing proxies without code changes. We implement CenShaper as a WATER transport module, allowing shaping strategies to be updated without any redeployment.

We evaluate CenShaper against classifiers from prior work and known traffic-analysis attacks. First, can a censor identify others? We train classifiers from prior work (Deep Fingerprinting, p-FP, Stacked Denoising Autoencoder, and XGBoost) on the synthetic flow shapes our generator produces and set their false positive rate (collateral damage) to a generous 1%. The best-performing classifier detects only 8.5% of traffic shapes generated using personas drawn from previously unseen TLS servers. When the classifier has seen traffic shapes generated using other servers of the same TLS service, detection rises to 29%. When it has seen traffic shapes from the evaluated persona itself, detection reaches 56%. These results suggest that persona diversity limits what a censor can reuse across proxies. When we build a testbed and use CenShaper to shape the traffic of five popular proxy protocols—VLESS, VMess, VLESS+WS, Trojan, and Shadowsocks. Using the same classifier, a censor detects only 8.2% of flows from unseen TLS servers. However, when the classifier has seen training examples generated using every persona, it detects 77% of proxy traffic. Finally, we find that CenShaper makes proxy traffic harder to distinguish from ordinary TLS: the detection rate of the TLS-over-TLS fingerprinting attack [70] drops from over 85% to about 3%, and TLS Divergence [38] drops by roughly sevenfold.

Traffic-analysis attacks are arriving faster than circumvention tools can prepare for them, and anti-censorship tool developers rarely have the resources to explore defenses before they are needed. This paper aims to fill that gap for traffic shaping. We show that legitimate TLS traffic can give each proxy a realistic and distinct shape, build CenShaper to put the ordinary, but not identical approach into practice, and outline how providers could deploy it. Circumvention developers have kept their tools reachable in censored regions through some of the most aggressive blocking campaigns, adapting to active probing, IP blocking, and protocol fingerprinting as each emerged. We believe CenShaper can become one more tool in that defense, ready before traffic analysis becomes the next widespread threat.

Background and Related Work

Even when their contents are encrypted, proxy connections can exhibit distinctive patterns in packet sizes, directions, and timings. For example, TLS handshakes carried inside proxy tunnels can produce recognizable packet-size and direction patterns [70], while proxies can introduce larger discrepancies between transport- and application-layer round-trip times by acknowledging client packets before receiving responses from their destinations [72]. Traffic shaping seeks to conceal these patterns [23, 63], but systems differ in how they determine the resulting traffic shape.

Random Shape. Several proxies, including ScrambleSuit [64], obfs4 [73], VMess, and XTLS-Vision [70], use randomized padding to obscure traffic patterns. ScrambleSuit and obfs4 can also introduce randomized delays. However, randomness can itself provide a fingerprint: Wu et al. showed that the Great Firewall can identify fully encrypted proxies from their random-looking payloads [66]. Randomizing packet sizes and timing also does not eliminate protocol-agnostic fingerprints inherent to tunneling. Xue et al. demonstrated that packet ordering and direction patterns can expose encapsulated TLS handshakes despite random padding [70]. Similarly, obfs4’s random delays can exacerbate discrepancies between transport- and application-layer round-trip times [72].

Adversarial Perturbation. Adversarial machine learning approaches use information from traffic classifiers to find perturbations to packet sizes and timings that induce misclassification while minimizing changes to the original traffic [17, 29, 30, 56]. Although these perturbations can transfer across classifiers [29, 53], retraining a classifier on adversarial traffic may render them ineffective [29]. Moreover, inducing misclassification does not ensure that the resulting traffic looks like legitimate connections.

Application Mimicry. Another option is to give the tunnel the shape of an application the censor allows, on the premise that the application is too costly (economically or socially) to block. SkypeMorph shapes packet sizes and timing to match Skype video calls [33], CensorSpoofer imitates voice-over-IP traffic [61], and StegoTorus replays the packet sizes and timing of recorded voice calls and imitates HTTP with recorded requests and responses [62]. Marionette also models HTTP traffic, reproducing distributions of response lengths and connection counts measured from visits to a particular website [11]. Faithfully imitating an application’s traffic, however, can be difficult without running the application itself [20].

Some systems instead tunnel data through genuine applications while attempting to preserve their normal traffic characteristics. Facet [27] uses Skype video calls to carry censored videos, DeltaShaper [3] uses them to carry arbitrary data, and CovertCast [31] broadcasts encoded web content through live-streaming services. Protozoa [5] replaces encoded video-frame data in WebRTC calls, and Balboa [47] rewrites application traffic while preserving record lengths. However, these approaches require operating the underlying cover applications, limiting their ability to serve as plug-and-play traffic shapers for existing proxy protocols.

TLS Mimicry. Rather than imitate a particular application, a proxy could shape toward the broader distribution of TLS traffic, taking advantage of its ubiquity and diversity. Ortwein et al. introduced CenKL to model TLS traffic and used it in ProxyShaper to shape the first ten post-handshake TLS records of VLESS and VMess-over-TLS, making both protocols harder for machine learning classifiers to distinguish from ordinary TLS [38]. However, ProxyShaper uses the same population-level model for every proxy, raising questions about its consistency with individual TLS servers and whether fingerprints learned from one proxy could identify others. We investigate these questions by comparing individual servers with the TLS population and evaluating fingerprint transfer across distinct service-specific shaping targets (§ 4 and § 6).

Threat Model and Data

This section establishes our threat model and describes the TLS traffic used throughout the paper. We outline the censor’s capabilities, then explain how we collect and represent traffic. We consider an on-path censor that observes packet sizes, directions, arrival times, and TLS record lengths but cannot decrypt TLS traffic. The censor can become a client of known proxies to learn their traffic patterns and identify others whose addresses are unknown. Because proxy traffic is rare relative to ordinary traffic, detection must operate at a low false positive rate. We assume proxies use uTLS [43] to mimic a browser’s TLS ClientHello. Our analysis focuses on the initial post-handshake packets, consistent with prior observations of early blocking decisions. Active probing of suspected proxies and detection beyond the shaped window are outside our scope.

Data Collection

We collected network traffic at a major point of presence of a regional U.S. ISP, where it was mirrored to an on-site server. We used Zeek to parse TLS traffic on TCP port 443 and assumed that most of the traffic identified by Zeek corresponds to regular Internet traffic rather than proxy traffic [70]. For each packet, we logged its direction, TCP payload size, timestamp, TCP sequence and acknowledgment numbers, and number and lengths of TLS records beginning in it. For each flow, we logged the destination IP address and SNI. Since a single IP address can host multiple domains (e.g., in the case of CDNs), we define a server by its destination IP address and hostname, compared case-insensitively and a service as all servers sharing a hostname. In our dataset, 99.8% of TLS 1.3 flows and 97.7% of TLS 1.2 flows specify the SNI. No packet payloads were logged.

We analyze the first 20 post-handshake data packets of each flow, excluding flows with fewer packets or with TCP sequence number gaps, retransmissions, or unknown TLS record counts within this window. Censors have identified and blocked circumvention tools using only the first data-carrying packet [1, 66], making our analysis window substantially larger than what has been required in practice.

Traffic Representation

We represent each packet using features previously used for traffic identification: direction and TCP payload size [60, 70], timing [72], and the number of TLS records beginning in it [34]. Specifically, we represent packet ii as

zi=(di,si,ci,bi),z_i = (d_i, s_i, c_i, b_i),

where did_i is its direction, sis_i its TCP payload size, cic_i the number of TLS records beginning in it, and bib_i its estimated delay bucket, defined below. We represent each flow by concatenating its packet feature vectors, X=(z1,…,z20)X = (z_1, \ldots, z_{20}). We standardize each feature to zero mean and unit variance across all connections to prevent packet sizes from dominating the distance calculations used in our analysis [19].

Packet Order. When the client and server send packets at nearly the same time, their observed order can depend on the observer’s location. We reconstruct the order as seen by the client, since censors observe traffic close to their users: for 70% of the endpoints behind Russia’s TSPU devices, the device is at most two hops away [71]. Each client packet’s TCP acknowledgment number indicates how much server data the client has received in order. We therefore place each client packet after the last server packet it acknowledges and before any server packets it has not yet acknowledged.

Internal Response Time Estimation. At an on-path observer, such as an ISP, the time between packets can reflect both sending delays and network propagation delay. However, a traffic shaper can only control when packets are sent, not how long they take to traverse the network. We therefore estimate each sending delay by measuring the time difference relative to an appropriate reference packet. Let tit_i be the time packet ii passed the tap. If the preceding packet came from the same sender, we simply measure the time between the two packets. Otherwise, we use TCP acknowledgments (ACKs) to identify incoming traffic that the sender could be responding to. Let jj be the latest packet acknowledged by the sender before sending packet ii. A prompt, standalone ACK of jj provides a reference close to when the sender received jj, allowing us to estimate the delay before sending packet ii. We consider an ACK prompt if it passed the tap within ρ+40\rho+ 40 ms of jj, where ρ\rho is the shortest round trip between the tap and the sender observed in the connection. When such an ACK is available, we measure from its observed time aja_j. The 40 ms threshold corresponds to Linux’s minimum delayed-ACK time [54], the shortest among Windows, macOS, and Linux. In our dataset, delayed ACKs also cluster around 40 ms beyond the observed round-trip time. If the sender has not acknowledged any new packets since its previous packet pp, or if the ACK for jj was not captured, we measure from pp. In the latter case, the estimate may include time before the sender received jj. Otherwise, we measure from jj and subtract ρ\rho to approximate propagation delay, clipping negative estimates to zero:

δi={ti−ti−1,packet i−1 from same side,ti−aj,prompt ACK of packet j,ti−tp,no new ACKs since p,max⁡(0,ti−tj−ρ),otherwise.\delta_i = \begin{cases} t_i - t_{i-1}, & \text{packet } i-1 \text{ from same side,}\\ t_i - a_j, & \text{prompt ACK of packet } j,\\ t_i - t_p, & \text{no new ACKs since } p,\\ \max(0, t_i - t_j - \rho), & \text{otherwise.} \end{cases}

We refer to a packet that directly follows one from the same sender as a continuation. A packet that follows packets from the other sender is a reply if its sender had acknowledged at least one of them, and in flight if it had acknowledged none. Figure 1 illustrates each case for server packets.

Delay estimation diagram

Figure 1. Delay Estimation. Packet labels show type and estimated delay δ\delta. Replies are measured from a prompt ACK (s1) or from the most recently acknowledged packet, accounting for network travel time (s3). Continuations use the preceding packet (s2), while in-flight packets use the preceding same-sender packet (s4). The first packet (c1) is referenced to the TLS handshake.

Because these delays are estimates, we bucket them rather than retain exact values. Delays are also right-skewed [38], so we use base-2 buckets, bi=⌈log⁡2(δi+1)⌉b_i = \left\lceil\log_2(\delta_i + 1) \right\rceil, with δi\delta_i in microseconds. This compresses long delays that would otherwise dominate the feature’s scale.

Empirical Analysis of TLS Across Servers

TLS traffic observed at an ISP combines connections to many servers, each potentially exhibiting different traffic patterns. To understand the diversity of legitimate traffic available to our ordinary, but not identical approach, we compare the traffic distributions of individual servers with the broader TLS population and with one another.

Comparing Distributions

To compare traffic distributions, we use energy distance, denoted as E\mathcal{E} [51]. Energy distance takes twice the average Euclidean distance across the distributions and subtracts the average distance within each. For connections X,X′X, X' drawn independently from a distribution PP and Y,Y′Y, Y' from QQ:

E(P,Q)=2E∥X−Y∥−E∥X−X′∥−E∥Y−Y′∥(1)\mathcal{E}(P,Q) = 2\mathbb{E}\lVert X - Y \rVert- \mathbb{E}\lVert X - X' \rVert- \mathbb{E}\lVert Y - Y' \rVert \tag*{(1)}

Because E\mathcal{E} has no upper bound, we normalize it by twice the average distance between flows of the two populations:

H=E(P,Q)2E∥X−Y∥(2)H = \frac{\mathcal{E}(P,Q)}{2\mathbb{E}\lVert X - Y \rVert} \tag*{(2)}

The resulting energy coefficient [12] HH ranges from 0 for identical distributions to at most 1. We report HH as a percentage to make small values easier to read.

In order to reduce the influence of small sample sizes, we require a minimum of 40 flows per server which retains 90% of traffic for both TLS 1.2 and TLS 1.3. Additionally, to limit the computational cost of calculating pairwise energy distance we consider at most 1,024 flows per server.

Server Against Population. We compare each server against a random sample of 2,000 flows from other addresses meeting the 40-flow minimum. The broader TLS population differs from nearly every server: the median server’s HH against the population is 14% for TLS 1.3 and 19% for TLS 1.2, and only a tenth of servers have an HH below 7%.

We next examine how reliably connections to an individual server can be distinguished from other TLS traffic using only a few observed flows. To do so, we evaluate a simple classifier based on energy distance. For each server, we created two reference groups: half of the server’s flows and the 2,000-flow sample. We then built a separate test set using the remaining server flows and an equal number of ISP flows, ensuring no overlap with the reference groups.

Finally, we classified each test flow as either a “server flow” or “population flow” based on which reference group had a lower HH value. Based on this rule, the median classification accuracy for a single flow is 90%. When classifying ten flows together, accuracy is above 95% for 99.5% of servers.

Server Against Server. The median energy coefficient between two randomly selected servers is 29%, but drops to just 0.36% for servers of the same service at different IP addresses. We visualize these similarities in Figure 2, where addresses hosting the same service (e.g., Netflix and Snapchat) form distinct clusters near the edges. In contrast, addresses whose traffic most closely resembles the broader TLS population are predominantly CDNs. The median HH against the population is 5.9% for Akamai, 8.6% for Fastly, and 10.2% for Cloudflare. Across these CDNs, greater similarity to the population corresponds to more domains hosted per IP address: Akamai hosts a median of 16 distinct domains, compared with 8 for Fastly and 3 for Cloudflare.

Traffic shapes across destination addresses

Figure 2. Traffic shapes across destination addresses. Each point is a destination address with at least 40 recorded TLS 1.2 and TLS 1.3 flows combined. We use t-SNE [55] to place addresses using the square root of their pairwise energy distance. Darker points have a larger energy coefficient HH against the sampled population. Solid outlines mark selected areas dominated by an observed service name; dashed outlines mark selected operator-dominated areas or Tor relays.

Recording Personas

A proxy’s persona is the TLS server whose traffic it imitates. The proxy learns that traffic from a sample of the server’s recorded flows, its persona flows, and imitates the server only as well as these flows represent its traffic. This raises two questions: how stable is a server’s traffic distribution over time, and how many persona flows are needed to represent it?

Temporal Stability. To assess temporal stability, we compare traffic from the first four hours of capture with traffic from the same four-hour period 24, 48, and 72 hours later, considering only servers observed in all four periods. As shown in Table 1, the median HH ranges from 0.12% to 0.20% for TLS 1.3 and from 0.25% to 0.39% for TLS 1.2. These differences are small compared with the median HH of 29% between randomly selected servers, suggesting that a server’s traffic distribution remains relatively stable over several days.

ServersFlowsMedian HH after
24 h48 h72 h
TLS 1.33,5165,310,1150.12%0.20%0.19%
TLS 1.2495720,8620.25%0.32%0.39%

Table 1. Median HH between flows of a server captured during the same four hour of the day on different days.

Number of Flows. We select each server’s nn persona flows greedily to approximate a server’s traffic distribution. Starting with no flows, we repeatedly add the flow that minimizes the energy distance between the selected flows and the server’s full set of recorded flows. To assess how closely nn persona flows approximate its server’s traffic distribution, we calculate HH between the persona flows and at least nn other recorded flows from the same server, requiring at least 2n2n flows in total. We use the median temporal variation across servers as a benchmark: persona flows should differ from its server’s held-out flows by no more than the median change in a server’s traffic over a set period of time (Table 1).

We test n=5,10,15,…,500n = 5, 10, 15, \ldots, 500, restricting our analysis to servers with at least 1,000 flows in our 24-hour capture so that the same servers are compared across values of nn. Figure 3 shows the fraction of servers whose persona flows meet each threshold as nn increases. Although the number of flows required varies across servers, 160 persona flows meet the 24-hour threshold for at least 50% of servers and the 48- and 72-hour thresholds for at least 90% of servers, for both TLS versions. We therefore choose 160 flows per persona for our model.

Figure 3. Fraction of nn flow personas within threshold. Evaluated over servers with at least 1,000 flows in our 24 hour capture and are present in all four windows. Each threshold is set based on servers change over time as reported in Table 1.

Restricting our analysis to servers with at least 1,000 flows favors busier servers. To examine this limitation, we repeat the analysis using all servers with at least 2n2n flows for each nn, rather than imposing a fixed minimum of 1,000 flows. The results show similar trends, as shown in Appendix Figure 6.

Design Goals

Our analysis shows that traffic patterns differ substantially across TLS services, that servers of the same service have similar patterns, and that a server’s traffic can be represented by a small number of flows that remain representative for days. These findings motivate our ordinary, but not identical approach: each proxy imitates a legitimate TLS service, while different proxies use distinct services. Based on this approach, we define three design goals for CenShaper:

Goal 1: Server Coherence. A proxy’s flows should follow the traffic distribution of the service it imitates, both individually and collectively (§ 4.1). Switching between service-specific traffic patterns within a flow could expose an imitation, even if individual packets appear realistic [20]. Consistency also matters across flows: in our data, addresses with mixture-like traffic distributions tend to host many domains, such as CDNs, whereas flows to a single service exhibit similar patterns. Since a proxy presents a single SNI at its address, its flows should consistently follow that service’s distribution.

Goal 2: Compartmentalization. A censor can train a classifier on traffic to a known proxy (e.g., by becoming a client). Since servers hosting the same service have similar traffic distributions (§ 4), imperfections in imitation [20] could produce fingerprints transferable to other proxies imitating that service. Like polymorphic systems including ScrambleSuit [64], obfs4 [73], and UPGen [58], we require that each proxy’s traffic differs from every other proxy’s to limit this transfer.

Goal 3: Limited Data. Like previous traffic analysis studies [38], [60], [70], our analysis relies on a large-scale dataset collected through a partnership with an ISP. However, operators of circumvention services may not have access to such data, so CenShaper should not depend on it. We therefore require that CenShaper can learn realistic TLS traffic patterns from relatively little data. Our analysis suggests that this is achievable for an individual server, whose traffic can be represented by 160 flows (§ 4.2).

CenShaper

In this section, we present CenShaper, a traffic shaper which sits between the endpoint’s application layer and the proxy process running on it. We implement CenShaper with a generator that produces server-specific traffic shapes and a shaper that transmits proxy traffic according to that shape.

Generator

To satisfy G1, CenShaper must first generate traffic shapes that follow the distribution of a real TLS server. We call the component that produces these shapes the generator and the generated shape a traffic schedule. It has two parts: (1) a base model of generative decision forests, grown once from the flows of many servers and shared by every proxy, and (2) a profile, one per proxy, which makes the forests produce flows similar to that of its selected persona. Although TLS servers have distinct traffic distributions (§ 4), their connections share structural constraints and recurring patterns. For example, TLS records can span multiple packets, while replies typically follow requests after longer delays than packets within a burst. The forests learn these relationships from thousands of flows, while each profile supplies server-specific frequencies from just 160 persona flows (G3).

Why Decision Forests. Recent generators of traffic shapes for evasion and defense use neural networks [15], [29], [59]. However, floating-point computations in neural networks can produce different results across hardware and software implementations, even with identical models and inputs [42], [48]. Existing neural-network-based shapers instead use additional messages or shared state to coordinate their traffic shapes. For instance, Surakav’s [15] client generates the packet shape and tells the proxy exactly how many bytes to send back, while Raven [59] sends parameters of its generator in the handshake. Amoeba [29] generates flow profiles in advance and stores them in a database kept in sync at both ends. Each of these tools adds messages or shared state that a censor could observe or that must be distributed.

We instead use generative decision forests [2] for two reasons: First, a tree generates a value by drawing from integer counts stored at its nodes, so a client and a proxy that start from the same random seed generate exactly the same traffic schedule without exchanging any messages. Second, these counts can be replaced without changing the trees, which lets us adapt the generator to a single server using a small number of its flows.

Traffic Schedule. For comparing flows of real servers (§ 4) we only required the number of TLS records beginning in a packet and the bucket of its delay. However, a CenShaper also requires the length of each record and the exact delay from its traffic schedule. For a traffic schedule, we therefore describe each data-carrying TCP packet xix_i by:

xi=(di,si,ℓi,δi).x_i = (d_i, s_i, \ell_i, \delta_i).

Here, did_i and sis_i are the packet’s direction and TCP payload size as in § 3.2 (sizes reach a maximum segment size of 1,460 bytes), ℓi\ell_i the lengths of all TLS records beginning in the packet, and δi\delta_i the delay relative to an earlier reference packet in milliseconds. The generator first draws the delay’s base-2 bucket (§ 3.2) and then a specific delay within it. To do so, we subdivide each bucket into equal-width intervals. The number of intervals follows Sturges’ rule [50] for the nn training delays observed in that bucket, up to at most 32. The generator samples an interval according to its observed frequency, then selects a delay uniformly at random within that interval.

We also introduce two symbolic encodings for recurring patterns we observe in how TLS records align with packet boundaries. These reduce model complexity by allowing observations with different byte counts to contribute to the same learned pattern, rather than treating each size as a separate outcome. Approximately 17% of packets that continue a TLS record from an earlier packet end with the record; we encode the sizes of these packets as TAIL rather than as absolute byte counts. Similarly, 65% of TLS records span an entire packet, and their lengths are encoded as FILL.

Reference Packet. A packet’s delay is measured from a reference that depends on whether the packet is a continuation, a reply, or in-flight (§ 3.2). To reproduce these timing relationships, our model includes each packet’s type kik_i and reference rir_i, expressed as the number of packets back from the current one. The first data packet instead uses the TLS handshake at its reference. Our full packet representation is therefore:

xi=(di,si,ℓi,δi,ki,ri).x_i = (d_i, s_i, \ell_i, \delta_i, k_i, r_i).

Packet Generation. Given sequence of packets generated so far, h=(x1,…,xi−1)h = (x_1, \ldots, x_{i-1}), our generator calculates the probability of shape for next packet xix_i as:

P(xi∣h)=P(di∣h) P(si∣h,di) P(ki,ri∣h,di,si)P(x_i \mid h) = P(d_i \mid h) \, P(s_i \mid h,d_i) \, P(k_i,r_i \mid h,d_i,s_i)
P(ℓi∣h,di,si) P(δi∣h,di,si,ki,ℓi)P(\ell_i \mid h,d_i,s_i) \, P(\delta_i \mid h,d_i,s_i,k_i,\ell_i)

Each factor is modeled by a forest, with separate delay forests for client and server packets, yielding six forests in total. The packet-type forest only generates output for a server packet that opens the connection or follows a client packet, since a continuation and client packets are always timed from the previous packet. ℓi\ell_i holds the lengths of all records that begin in a packet, so the record forest draws one length at a time, in a loop, until the packet is covered. A packet filled entirely by a record that began in an earlier packet starts no new records.

We chose this order of feature generation based on the dependencies between packet features. Direction comes first because packet type and the TAIL size symbol depend on the sender. TLS record lengths follow packet size because FILL depends on the space available in the packet. Delay comes last because its reference packet depends on the packet type, which also strongly influences the delay distribution. In our training data, the median delay is 5.3 ms for replies but only 30 μ\mus for continuations.

Training Forests. Each of the six forests contains four trees, each grown on a different bootstrap sample of the training data [6] so that the trees partition it differently. A tree predicts the next value in a packet sequence. At each node, we choose the feature and threshold that minimize the entropy of the predicted value in the resulting partitions. For sufficiently long packet sequences, evaluating every feature at each node would be computationally expensive, so we randomly select ⌈p⌉\lceil\sqrt{p}\rceil of the pp possible features [28], [40]. In addition, every node considers the packet position, features of the preceding packet, and features of the current packet that precede the predicted value in the generation order described above. For each candidate feature, we evaluate up to 16 thresholds at evenly spaced quantiles of its values among the training examples at that node [7]. A tree stops growing when it reaches its maximum depth or a split would leave too few training examples in a child node. During generation, both endpoints use their shared secret to select the same tree. We report the tested hyperparameter values and the basis for each in Table 7 in the Appendix.

Setting (our value)AlternativeHH
Our model0.29%
other generation seeds0.24%
Hyperparameters
Maximum depth (14)100.36%
180.22%
Minimum examples per child (16; 8 for delays)8; 40.28%
16; 160.24%
32; 160.26%
128; 640.33%
Trees per forest (4)20.27%
80.24%
160.26%
Thresholds per feature (16)80.24%
Split criterion (entropy)Gini0.39%
Training flows (8,000)32,0000.25%
Ablation Runs
Always-considered featuresdrawn at random0.85%
same, 2p2\sqrt{p}0.37%
Per-position countspooled0.81%
TAILsizes in bytes0.58%
FILLlengths in bytes0.57%

Table 7. Effect of changing one setting of the model at a time: median HH between generated and held-out flows over the 60 selection servers.

Adapting to Personas. The forests are grown from flows of many servers, so sampling from their original counts would produce traffic representative of the broader TLS population. Instead, each proxy keeps the tree structure unchanged to preserve patterns learned across servers, but uses flows from its persona to generate traffic schedules specific to its selected server, which we call its profile. To build each profile, we pass the selected server’s flows down every tree and count, at each node they reach, the value that came next, separately for each of the 20 packet positions, so that packet ii is drawn from what the persona’s flows produced at packet ii. Because profile flows are few compared with the training flows (160 vs 8,000), many deep nodes may hold none of them. For a draw that finds no count at its node, we use the nearest node above it that has one. Since our architecture does not require training a new model of traffic, a proxy operator can give blocked servers profiles built from different persona servers with IP address rotation. Moreover, a profile does not store exact flows of a server but a compact representation of them.

Shaper Design and Implementation

We implemented CenShaper as a WATER transport module [8]. WATER allows a host application to load network transports as WebAssembly modules at runtime. These modules can be updated without modifying the host application and run on any operating system the host supports. Our host runs alongside the proxy, similar to a Tor pluggable transport [52]. To shape proxy traffic, CenShaper must control the outer TLS connection. Proxies such as Xray [68] and GOST [14] can be configured to disable their existing TLS layer, allowing CenShaper to provide TLS instead without modifying the proxies. This approach does not support protocols such as REALITY [67], which do not offer this configuration option.

Module and Host. The host provides the flow generator, socket control, and AES-GCM encryption. The generator runs as a separate process and holds the forest (5.7 MB on disk) and the persona profile. Socket control allows CenShaper to read TCP timestamps in use, which changes the largest packet an endpoint can send (see Practical Adjustments), and to set Linux’s MSG_EOR flag, which stops Linux from appending later data to a queued write. AES-GCM is done inside the host for efficiency: WebAssembly cannot use the processor’s AES instructions, and the host encrypts a record that fills one packet about seven times faster than the module. The module performs the TLS1.3 handshake, using a fork of uTLS [43] that mimics Chrome’s ClientHello and can encrypt records of predetermined lengths. It also derives the seed using TLS handshakes and sends the proxy’s data according to the shape it receives from the generator.

Shape Synchronization. To generate the same shape, both ends need a shared seed (unknown to on path observer). CenShaper derives 32 bytes from the TLS 1.3 handshake secret by HKDF-Expand-Label [45]. Unlike the exporter’s secret [44] used by ProxyShaper [38], which is available only after the server’s Finished message, the handshake secret is known to both ends as soon as the ServerHello is processed, so both can generate the shape during the handshake. The generator also rejects invalid traffic schedules before they are transmitted.

What to Send. Each end keeps a buffer of unsent bytes per direction. For each of its packets, it seals the records that the shape says begin there, fills each with as much pending tunnel data as fits, and writes exactly the packet’s size from the front of the buffer. A long record leaves in pieces over later packets, and several short records can share a packet, as they do from real servers. The rest of each record is TLS 1.3 padding [45] which gets removed by the receiver’s TLS stack and is invisible to an observer. Shaping thus adds no message or field to the flow, but it requires TLS 1.3.

CenShaper’s Shaping Process

Figure 4. CenShaper’s Shaping Process. Once the ServerHello is known, each end derives the connection’s seed from the TLS handshake secret, and its host requests the shape from the Generator while the handshake continues. After the handshake, the WATM fetches the shape and sends the proxy’s data in packets of the shape’s sizes and delays, with the host encrypting each record. The figure shows one shaped packet; after the first 20, data is relayed unshaped. Dashed lines are TCP connections, solid lines function calls, dotted lines return values, and dash-dotted lines pipes.

When to Send. A packet leaves once its predetermined delay has passed since its reference packet. For the first packet, the client measures delay from when it sends out the Finished message of the handshake while the proxy measures it after receiving the message. Finally, we cap delays at 5 s to prevent excessively long delays from holding back tunnel data.

Recognizing Packet Boundaries. The shaper sits above TCP, which delivers a stream of bytes, so it does not see packet boundaries. Since both ends know the shape of the flow in advance, each knows the byte offset at which the other’s ii-th packet ends, and the arrival of that byte counts as the arrival of the packet.

The End of the Window. We consider a window complete only if each sender has sent out its own packets and received the other end’s last one. A close requested during the window is held until the window is complete, because a window cut short is itself recognizable. A record left unfinished by the window’s last packet leaves with the first data packet after the window, or with the TLS close message if the flow ends first.

Practical Adjustments. To allow the proxy header to travel in the first packet, the client waits up to 1 ms for the application’s first bytes. Moreover, some proxy protocols, such as Trojan, refuse headers that arrive in pieces. For such protocols, the first bytes of the flows are sealed into records that can carry at least 64 bytes and any smaller records before them only carry padding. The first adjustment affects delay slightly for the first packet while the second does not impact the shape of the flow in any capacity.

Moreover, on connections that use timestamps, a packet of size 1460 bytes will be split into two packets of 1448 bytes and 12 bytes. In such cases, we cut every generated packet size down to 1,448 bytes and shorten the record that covers its last byte by the same amount. We also disable session tickets and automatic record sizing, so that the TLS stack does not add records of its own.

Evaluation

We first evaluate whether CenShaper generates traffic schedules consistent with individual TLS servers and whether classifiers trained on known proxies can identify those using unseen personas. We then test CenShaper with five proxy protocols, measuring detection by known traffic-analysis attacks, divergence from ordinary TLS, and implementation overhead.

Generator Evaluation

We build and evaluate CenShaper’s generator using only the TLS 1.3 flows of our capture, as CenShaper relies on its zero-padding. We randomly divide the flows into five sets for growing the trees (30%), building profiles (10%), training classifiers (25%), calibrating detection thresholds (10%), and testing (25%).

Training Data. We train the forests using 8,000 randomly selected flows from the training set, excluding traffic from servers sharing an SNI or IP address with any of the 355 servers selected for building profile. Training on larger samples may improve performance (Appendix § 14), but we found 8,000 flows, combined with a persona profile, were sufficient to build a forest that generates traffic schedules consistent with real flows of the selected server (§ 6.2).

Selecting Personas. We select servers with at least 320 flows, allowing us to construct profiles from 160 flows and evaluate their generated traffic schedule against real held-out flows from the same server. We also exclude servers with traffic gaps exceeding 10 s, since reproducing such delays would introduce excessive latency. This leaves 355 servers, of which we reserve 60 for model hyperparameter tuning (Appendix § 14) and use the remaining 295 (177 SNIs at 239 IP addresses) for evaluation.

Classifiers. We evaluate four classifiers from prior work on traffic classification and proxy detection. We reproduce their published implementations and training procedures as closely as possible, adapting input representations or architectural parameters where necessary for our 20-packet observation window.

  • Deep Fingerprinting (DF) [49] Following Wails et al. [58, 60], we use signed packet sizes to encode size and direction. We retain the published training settings and architecture, except for kernel and pooling sizes, which we tune to accommodate our 20-packet inputs.

  • p-FP [34] We use signed TLS record lengths, one of the representations evaluated by Oh et al. We retain their CNN architecture and use HyperOpt’s TPE to tune filter and pooling sizes for inputs of 40 record lengths.

  • Stacked Denoising Autoencoder (SDAE) [46] Following Wails et al. [60], we use signed packet sizes without modifying the original architecture.

  • eXtreme Gradient Boosting (XGBoost) [7] Tree-based classifiers have been used to detect proxy traffic [4, 24, 38], and their modest memory and computational requirements make them plausible for censors. Unlike the CNNs above, XGBoost supports our full feature set without architectural changes. We evaluate it using packet sizes and directions alone, as in [38], and with delays and TLS record lengths added.

Transferability Settings. A classifier is useful for identifying proxies whose addresses are unknown, otherwise a censor can directly block them. To evaluate whether fingerprints learned from known proxies transfer to others (G2), we consider three settings:

  1. Seen: The classifier is trained on traffic schedules from every test profile.

  2. Unseen-Server: The classifier has not seen traffic schedules from the test profile, but may have seen traffic schedule from other profiles sharing its SNI.

  3. Unseen-Service: The classifier has not seen traffic schedules from the test profile or any other profile sharing its SNI. This distinction matters because servers of the same service tend to exhibit similar traffic patterns (Figure 2).

For the first setting, we use 150,000 held-out flows per class for evaluation while using five-fold cross validation (30,000 per class, per fold) for each of the unseen settings. The detection threshold is calibrated using the shapes of additional 30,000 real flows excluded from training, validation, and testing. We report the AUC and true positive rate at a 1% false positive rate for evaluation.

Results

Profile Fidelity. § 4.2 showed that 160 recorded flows can represent a server’s traffic. Here, we test whether our generator produces traffic schedules consistent with that traffic. For each of 295 servers, we build profiles using 20, 40, 80, 160, and 320 flows and generate 300 traffic schedules per profile. We compute HH between these traffic schedules and 300 held-out flows from the corresponding server, excluded from profile construction. The median HH decreases from 0.56% with 20 flows to 0.27% with 80, then changes little at 160 (0.26%) and 320 (0.24%) flows (Table 2). These distances are small compared with the median 29% between randomly selected servers, indicating that generated traffic schedules follow their target servers’ traffic distributions (G1). The diminishing improvements beyond 80 flows further support our conservative choice of 160 flows per persona. Since the forests were trained without flows from these servers or others sharing their SNI or IP address, the results also show that the shared model can be adapted to servers absent from its training data.

Flows (nn)204080160320
File Size65 KB91 KB125 KB173 KB230 KB
Energy Coefficient (HH)0.56%0.36%0.27%0.26%0.24%

Table 2. Median file size and HH (to held-out flows) of 295 evaluated servers for nn number of flows. After 80 flows we see very little reduction in HH which is consistent with our conservative threshold selection for persona size.

Classifier Results. Table 3 shows that classifiers evaluated on traffic schedules generated using unseen services perform near random guessing (≈ 0.5 AUC). At a 1% false-positive rate, the best-performing classifier (highest AUC) detects only 8.5% of traffic shapes generated using profiles of unseen TLS services. The detection rises to 29% when the classifier has seen the TLS service at a different IP address and 56% for a classifier that has been trained on every profile. The AUC, similarly, increases from 0.59 to 0.79 and then to 0.97. These results suggest that diversity of profile built from different TLS servers limits what a censor can reuse across proxies (G2). A censor that observes less than 20 packets performs even worse (Appendix Table 8).

ClassifierSeen AUCSeen TPRUnseen Server AUCUnseen Server TPRUnseen Service AUCUnseen Service TPR
XGBoost0.9447%0.7427%0.5511.2%
all features0.9756%0.7929%0.598.5%
DF0.8213%0.646.6%0.442.1%
p-FP0.674.5%0.581.5%0.460.8%
SDAE0.613.0%0.572.1%0.480.5%

Table 3. Classifiers trained against real traffic and traffic schedules generated using 295 personas (177 SNIs). TPR shows how many generated traffic schedules were correctly flagged by the classifier with an FPR of 1%. An AUC of 0.5 represents classifiers performing near chance.

CenShaper on the Wire

To test CenShaper end-to-end, we run a client and proxy server with CenShaper on two x86-64 Linux machines with a handshake RTT of 124 ms. An automated Firefox client, driven by Playwright, visits 2,000 randomly sampled domains from the top 10,000 in the Chrome UX Report [16], one at a time, through five Xray protocols: VLESS, VMess, Trojan, Shadowsocks, and VLESS over WebSocket (VLESS+WS). These visits produced a total of 146,263 flows. Although a deployed proxy will use a single persona’s profile, we evaluate profiles built from 100 personas by loading them into the generators at both endpoints before the first connection and selecting one per connection using its shared secret. On average, each profile was used for approximately 1,460 flows.

We evaluate XGBoost, the best-performing classifier from § 6.2, on real and shaped traffic for each of the three settings defined in § 6.1. To isolate the timing patterns introduced by CenShaper, we measure packet delays from their reference packets to when the shaper hands them to the TCP stack. This excludes TCP congestion control [9] and the testbed’s longer round-trip time, which could otherwise allow the classifier to distinguish the testbed’s network conditions from those of the ISP traffic rather than detect artifacts of the shaper. We evaluate timing precisions of 1, 10, and 50 ms, as well as a classifier without timing features (Table 4). Even at 1 ms precision and a 1% false positive rate, the classifier detects only 8.2% of flows shaped using profiles of unseen TLS services. As in Table 3, detection increases when the classifier has seen other profiles of the same service (42%) or the test profile itself (77%).

Delay precisionSeen AUCSeen TPRUnseen Server AUCUnseen Server TPRUnseen Service AUCUnseen Service TPR
1 ms0.9977%0.9142%0.778.2%
10 ms0.9860%0.8527%0.684.0%
50 ms0.9858%0.8626%0.684.1%
No delays0.9856%0.8627%0.693.2%

Table 4. XGBoost trained on real and shaped flows, with delays given at decreasing precision. TPR (Detection) is reported at 1% FPR (Collateral).

TLS-over-TLS Fingerprinting

Xue et al. [70] demonstrated that proxies tunneling user TLS traffic through TLS-encrypted connections can still be detected from packet sizes and timing indicative

of encapsulated TLS handshakes. Their method uses χ2\chi^{2} and Mahalanobis-distance tests trained to distinguish TLS from non-TLS traffic using the first 25 data packets. After removing the outer TLS handshake, they flag connections whose remaining traffic is still classified as TLS, indicating an encapsulated handshake. We evaluate whether CenShaper hides this fingerprint in traffic captured on the wire. We implement the same tests but tune them using unshaped proxy traffic instead of non-TLS traffic, allowing the classifiers to learn differences in proxy traffic and normal TLS traffic. Since we are directly comparing traffic from CenShaper against proxy traffic and normal TLS traffic, we do not strip the outer handshake.

To collect baseline proxy data, we repeat the experiment described in § 6.3 without CenShaper. Any connections with fewer than 25 packets is excluded which leaves a total of 113,438 unshaped proxy flows. We sample an equal number of TLS 1.3 flows from our ISP capture as all our proxies use TLS 1.3 for the outer tunnel. Evaluation is done using five-fold cross-validation, allocating two folds to classifier training, two to threshold calibration, and one to testing in each round. The trained classifiers are then evaluated on the shaped flows from § 6.3—subject to the same 25-packet minimum—to compare detection rates between shaped and unshaped proxy traffic.

Table 5 reports detection rates for shaped and unshaped proxy traffic at false positive rates of 1% and 5% on ordinary TLS flows. At a 1% false positive rate, the classifier only detects ≈\approx3% of the flows shaped by CenShaper while correctly flagging 85% of unshaped proxy flows. Even at a 5% false positive rate, detection remains below 17% for shaped traffic while exceeding 97% for unshaped traffic.

ProtocolUnshaped FlowsUnshaped 1% FPRUnshaped 5% FPRShaped FlowsShaped 1% FPRShaped 5% FPR
VMess24,20689.1%97.9%28,6403.1%16.6%
VLESS19,98887.7%97.6%28,6242.9%16.7%
VLESS+WS24,15385.6%97.1%29,3052.9%16.7%
Trojan22,44988.8%97.9%29,4103.0%16.5%
Shadowsocks22,64289.7%97.9%30,2832.9%16.4%

Table 5. Percentage of proxy flows detected at 1% and 5% collateral damage using classifiers adapted from Xue et al. [70]. Flows are evaluated using five-fold cross-validation.

VMessVLESSVLESS/WSTrojanShadowsocks
Unshaped14.414.819.714.914.9
Shaped1.91.921.901.901.93
Reduction7.6×7.7×10.4×7.8×7.72×

Table 6. TLS Divergence (nats) [38] of proxy flows from real TLS 1.3 flows before and after shaping.

Similarity to Real-World TLS

Our classifier experiments demonstrate that CenShaper reduces detection by specific attacks, but do not establish how similar shaped traffic is to packet timing, directions, and sizes of real TLS. We therefore use TLS Divergence [38], an approximation of KL divergence, to compare on-wire proxy traffic with real TLS traffic. For each protocol, we compare shaped and unshaped proxy traffic separately against 150,000 TLS 1.3 flows sampled from our ISP dataset. Across all five protocols, our on-wire datasets contain 113,439 unshaped flows and 146,263 shaped flows. We analyze each flow’s first 20 post-handshake data packets.

Table 6 shows the divergence for each protocol. Unshaped traffic has a divergence of 14.4 to 19.7 nats, with VLESS+WS exhibiting the highest divergence. Its WebSocket upgrade, also identified by Ortwein et al. [38] as a major source of early-packet divergence, consists of a deterministic 618-byte request followed by a 151-byte response in our setup. The first three packets contribute 5.5 nats of divergence, compared with 3.4 nats for the other protocols. With shaping, divergence falls to ≈1.9\approx1.9 nats across all five protocols, a reduction of approximately sevenfold or more.

Performance

CenShaper’s base model ships in less than 6 MB and a persona’s profile in a median of just 173 KB. On our client machine, loading a single profile took about 0.3 s. The memory peaked at 112 MB, with a stable value of 62 MB after loading. Generating a single traffic shape takes about 0.25 ms on a single core, well within the time duration of handshake between client and proxy server. One remaining source of observable overhead is the TLS handshake, which runs in WebAssembly. The client sent its ClientHello 10.8 ms after the TCP handshake and its Finished message 10.1 ms after the server’s reply arrived, against 1.3 ms and 1.0 ms for Xray’s own TLS on the same path. The proxy answered a ClientHello after 8.9 ms, against 1.7 ms without shaping. This can be fixed by moving the outer handshake’s public-key operations to the host, as we did for AES-GCM (§ 5.2).

Deployment Considerations

Figure 5 shows how CenShaper could be integrated into circumvention tools, based on our analysis and discussions with developers whose tools serve millions of users [10], [25]. We describe each stage of the pipeline below:

What to Collect. CenShaper requires relatively little data. In our evaluation, 8,000 flows were sufficient to train the base model, and 160 flows from its selected persona to build profile. Although these sample sizes do not guarantee resistance to every censor, our evaluation shows that they suffice to generate traffic that more closely matches ordinary TLS and evade the classifiers evaluated in § 6. We collect only packet and TLS metadata, along with the information needed to identify individual servers, without recording packet payloads or client IP addresses. We release the Zeek script used to extract this information at the point of capture (Figure 5 ①–②).

Deployment of CenShaper

Figure 5. Deploying CenShaper. ① Flow metadata for the base model and personas is collected by volunteers. ② The metadata is sent to the central broker, which ③ trains the model, ④ sends it to the proxies, and ⑤ assigns each proxy a different persona. ⑥ Clients receive the model with the proxy code and ⑦ their proxy’s persona out-of-band. ⑧ The tunnel connection is then shaped according to the persona.

We recommend selecting personas that censors cannot afford to block. Some censors make this set explicit. During mobile internet shutdowns, Russia keeps a list of sites that remain reachable, which its Digital Ministry compiles from the most popular resources in the country and updates weekly [22]. Recording only flows to such allowed servers also limits what a recording can reveal about its contributor.

Where to Collect. A key takeaway from § 6.1 is that each proxy should imitate a different server to prevent a censor’s knowledge from scaling. Since profiles can be built independently of the base model, the model can be trained once and new profiles added later, potentially using flows recorded elsewhere. However, profiles recorded outside a region may share artifacts of the network from which they were recorded, and a censor that learned such artifacts could potentially block multiple profiles at once. Therefore, we recommend that at least the profiles be recorded inside the region where they are used. Figure 5 therefore shows two sources of flow metadata: flows for the model, which may come from any network, and flows for profiles, which volunteers record inside the region (①) and send to the broker (②).

Who Collects Data. Existing measurement platforms already operate through volunteers inside censored regions. In October 2026, volunteers submitted OONI Web Connectivity measurements from 48 networks in Iran, 19 in China and 556 in Russia [36]. Each of these measurements opens connections to the websites of a test list, and OONI’s probes already record the size and time of every read and write on those connections [35]. Recording the same at the level of packets and TLS records would make these connections a source of profiles and help provide useful data to counter traffic analysis. Such requests have precedent: OONI started monitoring STUN servers on request from the community after Google’s STUN server was blocked in China [37]. Alternatively, volunteers could collect and contribute traffic metadata independently of existing measurement platforms, but would need administrator rights to capture traffic on desktop devices or root access on mobile devices.

Building Model & Persona. Training and distribution can be handled by a central broker, such as the configuration service of a circumvention app, from which Lantern’s and Psiphon’s clients fetch their servers [26], [41]; a bridge distributor, such as Tor’s rdsys [32]; or the subscription server of a commercial proxy service [18]. The broker trains the base model (§ 5.1, ③) and builds a profile for each server that meets the following criteria: it supports TLS 1.3, its profile matches held-out traffic, its traffic distribution is relatively stable over time (Table 1), and its sending delays are not excessively long. The broker distributes the shared model to proxy servers (④), and clients receive it with the proxy code (⑥). Each proxy receives its own profile (⑤), and no two proxies receive profiles built from the same service. A client obtains its proxy’s profile and IP address through the same out-of-band channel (⑦). The broker must therefore keep the profiles, the flows they are built from, and their assignment to proxies as confidential as the proxies’ addresses; otherwise a censor could generate the traffic shapes of undiscovered proxies and train a classifier against each, undermining the benefits of compartmentalization (G2).

Communication. Once the client and proxy have the model and profile, the client can reach blocked domains through the shaped tunnel (⑧). Since profiles are built using stable persona, the broker only needs to rebuild them when they no longer match fresh traffic from their servers. If a proxy is blocked, it can be redeployed with a new IP address and profile without retraining the model or affecting other proxies. A proxy server can also use different profiles depending upon the region of the clients, as the allowed domains may vary between regions.

Limitations

A key contribution of this work is grounding traffic shaping in measurements of millions of real-world TLS connections. However, our dataset comes from a single regional U.S. ISP, and we lack comparable measurements from networks in censored regions. The dataset does, however, include globally popular services, such as Akamai, Google, Tencent, TikTok, and Apple (Figure 2). More, we find that different IP addresses hosting the same service exhibit similar traffic shapes. While the ideal approach is to record persona profiles in the regions where they are used (§ 7), the fact that a service’s traffic shape is largely driven by the service itself gives us confidence in the design.

A censor could potentially create a mapping between traffic shapes of popular services and their IP addresses, allowing the censor to detect a proxy if there is mismatch between the shape of a flow and its corresponding IP address. But without knowing the selected persona, which CenShaper requires to be kept confidential, the censor must first identify the imitated service from observed traffic shapes. This means that the censor would need to collect ground-truth traffic from many TLS services, train a classifier to identify services from their traffic shapes, and keep its training data up-to-date as those services change. In contrast, the broker can select a new persona and distribute its profile without retraining the model. This asymmetry favors the proxy provider: rotating a persona is cheap, while keeping up with every possible persona is not.

CenShaper shapes the first 20 data packets of each connection. Censors have blocked circumvention tools based on the first data packet alone [1], [66], and 20 packets gives us a wide margin beyond that. The window is not a limit of the design: providers can shape fewer packets with the same model and persona profile, or extend shaping to later traffic by retraining the model on longer flows, should censors begin analyzing it. Keeping the window short keeps shaping and the job of broker inexpensive. Extending shaping to the entire connection would require selecting a persona whose traffic shape matches the application’s workload to avoid excessive performance degradation. While the broker could select personas based on expected workloads, adapting to individual applications would require closer integration with the proxy, sacrificing CenShaper’s ability to run without changes to existing proxies.

Conclusion

Traffic analysis is no longer a distant threat to circumvention, and providers need shaping defenses they can deploy today. CenShaper draws on real-world traffic to decide what shape proxy traffic should take. In our measurements, TLS services had distinct traffic shapes that stayed relatively stable over three days. CenShaper gives each proxy a distinct traffic shape drawn from a real TLS server. Across proxies, the resulting traffic is ordinary, but not identical. CenShaper is built for how proxy providers actually operate. Creating a persona profile takes a small recording rather than retraining, there is no need for coordination between client and proxy, and providers can deploy it without changing their proxies or workflow. Across five popular proxy protocols, it largely defeats TLS-over-TLS fingerprinting, and fingerprints learned from known proxies transfer poorly to proxies imitating unseen services. CenShaper does not make proxies invisible, but it changes what a censor must do: learn the service each proxy imitates, not one fingerprint for an entire provider. We hope it gives circumvention developers one more practical layer of defense, and researchers a foundation to build on.

References

Appendix A: Ethics Considerations

Handling real user data, especially at the scale of an ISP, requires important ethical considerations. Although our IRB categorized this research project as “Not Regulated,” we still took extensive precautionary measures to ensure user anonymity and data privacy. We received formal approval from the ISP for the information collected during this project and followed their established guidelines for handling sensitive data. We also restricted our data collection and analysis to the minimum amount of information required for our analysis. We monitor only TCP port 443 and use Zeek’s TCP and TLS analyzers to log, for every packet of a connection, its timestamp, direction, TCP flags, payload size, and sequence and acknowledgment numbers; for every TLS record, its content type (e.g., handshake or application data) and length; and for each connection, the negotiated TLS version, the server’s address and its SNI. No payload is written to disk, and the client’s address is not logged. The raw data was never moved from the network tap, and any analysis which required server’s address and SNI was performed on the ISP operated machine solely. In our post-analysis stage, we move only the metadata of packets (direction, size of payload, packet delay, and lengths of TLS records) to a separate university-owned machine equipped with a GPU to evaluate our model of TLS traffic against advanced machine learning classifiers.

Appendix B: Persona Budget on All Servers

Figure 6 repeats the analysis of §4.2 without the 1,000-flow minimum: at each persona size nn, it includes every server with at least 2n2n flows. The curves keep the same shape and order, but more flows are needed. Half of TLS 1.3 servers meet the 24-hour threshold at 220 flows and 90% at 499, compared with 156 and 441 for servers with at least 1,000 flows. For TLS 1.2, the corresponding values are 95 and 231. Because the set of servers shrinks as nn grows, from 19,872 TLS 1.3 servers at n=5n = 5 to 1,131 at n=640n = 640, each point is the fraction of servers tested at that size, not a distribution of the flows each server needs.

Figure 6. Fraction of nn flow personas within threshold, all servers. Evaluated over every server with at least $2n$ flows, so the set of servers shrinks as nn grows (TLS 1.3: 19,872 servers at n=5n = 5 and 4,200 at $n = 160). Thresholds and step size are the same as in Figure 3.

Appendix C: Classifier Details

Configurations. Table 9 lists the configuration of each classifier in §6.1. We keep the published architectures and training settings wherever our 20-packet inputs allow, and tune only the settings that depend on input length: the kernel and pooling sizes of DF and the filter and pooling sizes of p-FP. For XGBoost, the original paper does not specify the exact hyperparameters tested [38], hence we select the depth, learning rate, and minimum leaf weight by grid search on validation AUC, and stop adding trees once validation AUC no longer improves.

Fewer Packets. Table 8 evaluates classifiers using fewer packets from each connection. Detection falls with fewer packets in all three settings. With five packets, the classifier detects 27% of traffic schedules from seen profiles and 2.3% from unseen services, compared with 56% and 8.5% with 20 packets.

Packet CountSeen AUCSeen TPRUnseen Server AUCUnseen Server TPRUnseen Service AUCUnseen Service TPR
50.9127%0.6611%0.402.3%
100.9440%0.7117%0.473.4%
150.9649%0.7524%0.556.1%
200.9756%0.7929%0.598.5%

Table 8. XGBoost on all features, given only the first nn data packets of each flow and the TLS records that begin in them: AUC, and share of generated flows detected (true-positive rate) at a 1% false-positive rate.

Appendix D: Forest Parameters

We select the generative forest’s hyperparameters on the 60 servers reserved in §6.1, none of which is used for evaluation. For each alternative, we change one setting, regrow the trees if the setting affects them, build a persona of 160 flows for each server, and compute HH between its generated flows and held-out real flows of the same server, with at most 1,024 flows on each side. We compare each alternative with our model using the 60 server set aside for validation. Table 7 shows that removing any component of the model makes generated flows significantly less similar to their server. Among the hyperparameters, maximum depth of 10 and Gini perform significantly worse. The other alternatives differ from our model by about as much as generating traffic schedules using different seeds. The number of random candidate features and the sample of training flows for each tree follow the literature [6, 28] and were not varied.

SettingValueBasis
XGBoost [7]
Inputdirections and sizes; or directions, sizes, delay buckets and 40 record lengthsdirections and sizes as Ortwein et al. [38]; delays and record lengths added by us
Depth; rate; leaf weight9; 0.2; 1grid of {3, 5, 7, 9} × {0.03, 0.08, 0.2} × {1, 3, 10}, highest validation AUC with all features; reused for directions and sizes
Treesset per task; 1,233–1,995 in Table 3early stopping: at most 2,000, stop after 50 without a higher validation AUC
Otherlogistic loss, L2 weight 1, histogram splitslogistic loss for two classes; the others are XGBoost defaults
DF [49]
Input20 signed packet sizesWails et al. [60]
Layers4 blocks of 2 convolutions (32 to 256 filters), batch normalization, ELU then ReLU, max pooling, dropout 0.1; 2 dense layers of 512, dropout 0.7 and 0.5; 2 outputsSirinam et al.
Kernel; pool; stride3; 2; 2kernel and pool in {2, 3} with stride 2, the sizes whose windows fit 20 packets; Sirinam et al. searched 2–16 for 5,000 packets
TrainingAdamax, rate 0.002, batch 128, 30 epochsSirinam et al.
p-FP [34]
Inputup to 40 signed TLS record lengths, zero-paddedOh et al.’s record representation
Layers2 convolutions of 128 filters, tanh, max pooling, local response normalization; dense layer of 256, dropout 0.2; 2 outputsOh et al.’s table; their code uses ReLU and a keep probability of 0.8
Filter; pool14; 3TPE, 30 trials, filter up to min(16, ⌈40/pool⌉\lceil40/\mathrm{pool}\rceil), pool 2–6; Oh et al. searched filter 2–16, pool 2–50
TrainingSGD, rate 0.05 decayed by 0.96 per 1,000 steps, batch 30, L2 weight 0.001 on convolutionsOh et al.; decay and L2 from their code
Epochsat most 50, stop after 3 without a gain of 0.001 in validation AUC, keep the bestOur Setting
SDAE [46]
Input20 signed packet sizesWails et al. [60]
Layers3 tanh layers of 1,000, 500, 300, dropout 0.1; 2 outputsRimmer et al.
Pretrainingper layer: 10% of inputs set to zero, linear decoder, squared error; SGD, rate 0.1; 50, 10, 10 epochs, batch 128Rimmer et al.; epochs and batch from their example configuration
TrainingSGD, rate 0.001, Nesterov momentum 0.9, batch 32, 30 epochsRimmer et al. and their configuration

Table 9. Settings of the classifiers and the basis of each value. Searched settings were chosen once, on the validation flows of the seven setting, and kept for every fold. Before training neural networks, packet sizes are divided by 1,460 and record lengths by 16,406.

References

  1. [1]Anna Ablove, Johnnie Walker, Ben Wolin, Niklas Niere, Felix Lange, Aaron Ortwein, Armin Heumannig, Richa Priyanka, Ali Zohaib, Jade Sheffey, Nico Heitmann, J. Alex Halderman, Juraj Somorovsky, Amir Houmansadr, Roya Ensafi, Mingshi Wu, and Eric Wustrow. Technical analysis of the Geedge Networks firewall source code leak. In 35th USENIX Security Symposium (USENIX Security 26). USENIX Association, 2026.
  2. [2]L.R. Bahl, P.F. Brown, P.V. de Souza, and R.L. Mercer. A tree-based statistical language model for natural language speech recognition. IEEE Transactions on Acoustics, Speech, and Signal Processing, 1989.
  3. [3]Diogo Barradas, Nuno Santos, and Luís Rodrigues. DeltaShaper: Enabling unobservable censorship-resistant TCP tunneling over videoconferencing streams. Proceedings on Privacy Enhancing Technologies, 2017.
  4. [4]Diogo Barradas, Nuno Santos, and Luís Rodrigues. Effective detection of multimedia protocol tunneling using machine learning. In Proceedings of the 27th USENIX Security Symposium (USENIX Security 18). USENIX Association, 2018.
  5. [5]Diogo Barradas, Nuno Santos, Luís Rodrigues, and Vítor Nunes. Poking a hole in the wall: Efficient censorship-resistant Internet communications by parasitizing on WebRTC. In ACM SIGSAC Conference on Computer and Communications Security (CCS), pages 35–48, 2020.
  6. [6]Leo Breiman. Random forests. Machine Learning, 2001.
  7. [7]Tianqi Chen and Carlos Guestrin. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’16, pages 785–794. ACM, 2016.DOI
  8. [8]Erik Chi, Gaukas Wang, J. Alex Halderman, Eric Wustrow, and Jack Wampler. Just add WATER: WebAssembly-based circumvention transports, 2024.
  9. [9]Jerry Chu, Nandita Dukkipati, Yuchung Cheng, and Matt Mathis. RFC 6928: Increasing TCP’s Initial Window, 2013.
  10. [10]dcf. Snowflake bridge metrics: 2023 year in review, 2024.
  11. [11]Kevin P. Dyer, Scott E. Coull, and Thomas Shrimpton. Marionette: A programmable network traffic obfuscation system. In 24th USENIX Security Symposium (USENIX Security 15). USENIX Association, August 2015.
  12. [12]Mengchen Fan, Baocheng Geng, Roman Sterenber g, Joseph A. Casey, Zhong Chen, and Keren Li. Measuring heterogeneity in machine learning with distributed energy distance. arXiv preprint arXiv:2501.16174, January 2025.
  13. [13]gfw-report. Large scale blocking of TLS-based censorship circumvention tools in China. https://github.com/net4people/bbs/issues/129, 2022.
  14. [14]go-gost. GOST: GO simple tunnel. https://github.com/go-gost/gost, 2026.
  15. [15]Jiajun Gong, Wuqi Zhang, Charles Zhang, and Tao Wang. Surakav: Generating realistic traces for a strong website fingerprinting defense. In 2022 IEEE Symposium on Security and Privacy (SP), pages 1558–1573, 2022.
  16. [16]Google. Chrome UX Report. https://developer.chrome.com/docs/cr ux. Accessed: 2026-11-12.
  17. [17]Alonso Granados, Mohammad Sujan Miah, Anthony Ortiz, and Christopher Kiekintveld. A Realistic Approach for Network Traffic Obfuscation Using Adversarial Machine Learning. In Decision and Game Theory for Security, 2020.
  18. [18]Rumaisa Habib, Mingshi Wu, Shiva Shahandeh, Min Ni, Eric Wustrow, and Zakir Durumeric. Understanding the ”Airport” Censorship Circumvention Ecosystem in China. arXiv preprint arXiv:2606.18427, June 2026.
  19. [19]Trevor Hastie, Robert Tibshirani, and Jerome Friedman. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer, second edition, 2009.
  20. [20]Amir Houmansadr, Chad Brubaker, and Vitaly Shmatikov. The parrot is dead: Observing unobservable network communications. In Symposium on Security & Privacy, 2013.DOI
  21. [21]Yutong Huang, Qiang Zhang, and Cheng Huang. CTS-OD: A cascaded two-stage framework for high-throughput Obfs4 detection. Cybersecurity, 2026.
  22. [22]Interfax. Russia’s digital ministry to weekly update list of sites accessible under mobile Internet restrictions. Interfax News Agency, 2025.
  23. [23]Aaron Johnson and Rob Jansen. Modular traffic shaping for censorship evasion. In Workshop on Privacy in the Electronic Society. ACM, 2026.DOI
  24. [24]Sina Kamali and Diogo Barradas. Huma: Censorship circumvention via web protocol tunneling with deferred traffic replacement. In Network and Distributed System Security Symposium (NDSS), 2026.
  25. [25]Lantern. Lantern: Open Internet for Everyone, 2026.
  26. [26]Lantern. Radiance: Lantern Client Backend. GitHub repository, 2026. Accessed: 2026-11-16.
  27. [27]Shuai Li, Mike Schliep, and Nick Hopper. Facet: Streaming over videoconferencing for censorship circumvention. In Workshop on Privacy in the Electronic Society, 2014.
  28. [28]Andy Liaw and Matthew Wiener. Classification and regression by randomForest. R News, 2(3):18–22, 2002.
  29. [29]Haoyu Liu, Alec F. Diallo, and Paul Patras. Amoeba: Circumventing ML-supported network censorship via adversarial reinforcement learning. Proc. ACM Netw., 2023.
  30. [30]Likun Liu, Haining Yu, Shilin Yu, and Xiangzhan Yu. Network traffic obfuscation against traffic classification. Security and Communication Networks, 2022.DOI
  31. [31]Richard McPherson, Amir Houmansadr, and Vitaly Shmatikov. CovertCast: Using live streaming to evade Internet censorship. Proceedings on Privacy Enhancing Technologies, 2016.DOI
  32. [32]meskio. New release: Rdsys 1.0. Tor Project blog, https://blog.torproject.org/new-release-rdsys-1-0/, February 2025.
  33. [33]Hooman Mohajeri Moghaddam, Baiyu Li, Mohammad Derakhshani, and Ian Goldberg. SkypeMorph: Protocol obfuscation for Tor bridges. In Proceedings of the 2012 ACM Conference on Computer and Communications Security, CCS ’12, pages 97–108. Association for Computing Machinery, 2012.
  34. [34]Se Eun Oh, Saikrishna Sunkam, and Nicholas Hopper. p1-FP: Extraction, classification, and prediction of website fingerprints with deep learning. Proceedings on Privacy Enhancing Technologies, 2019(3):191–209, 2019.
  35. [35]OONI. OONI network events data format and probe implementation. OONI Specifications and Source Code. See also https://github.com/ooni/probe-cli/blob/master/internal/measurerxilite/trace.go. Accessed November 2026.
  36. [36]OONI. OONI API: Aggregation Endpoint. https://api.ooni.io/api/v1/aggregation, 2026.
  37. [37]OONI Contributors. STUN servers reachability: Feature request and subsequent specification. GitHub issue and pull request, 2019. Feature requested July 18, 2019; specification added via https://github.com/ooni/spec/pull/192 (merged June 1, 2020).
  38. [38]Aaron Ortwein, Armin Huremagić, Shabbir Hussain, Holly Bergen, Joshua J. Daymude, Diwen Xue, Jedidiah R. Crandall, and Roya Ensafi. CenKL: Information-theoretic visibility into censorship circumvention traffic patterns. In IEEE Symposium on Security and Privacy, 2027. https://censoredplanet.org/papers/cenkl.pdf.
  39. [39]Outline Foundation. Outline, 2026.
  40. [40]Philipp Probst, Marvin N. Wright, and Anne-Laure Boulesteix. Hyperparameters and tuning strategies for random forest. WIRES Data Mining and Knowledge Discovery, 9(3):e1301, 2019.DOI
  41. [41]Psiphon Inc. Psiphon Tunnel Core: Remote Server List. GitHub repository, 2026. Accessed: 2026-11-16.
  42. [42]PyTorch. Numerical accuracy. PyTorch documentation, version 2.14, 2026. https://docs.pytorch.org/docs/stable/notes/numerical_accuracy.html.
  43. [43]Refraction Networking. uTLS: Fork of the Go standard TLS library. https://github.com/refraction-networking/utls, 2026.
  44. [44]Eric Rescorla. Keying Material Exporters for Transport Layer Security (TLS). RFC 5705, 2010.DOI
  45. [45]Eric Rescorla. The Transport Layer Security (TLS) Protocol Version 1.3. RFC 8446, August 2018.
  46. [46]Vera Rimmer, Davy Preuveneers, Marc Juarez, Tom Van Goethem, and Wouter Joosen. Automated website fingerprinting through deep learning. In Network and Distributed System Security Symposium (NDSS 2018). Internet Society, 2018.DOI
  47. [47]Marc B. Rosen, James Parker, and Alex J. Malozemoff. Balboa: Bobbing and weaving around network censorship. In Proceedings of the 30th USENIX Security Symposium (USENIX Security). USENIX Association, 2021.arxiv.org/abs/2104.05871
  48. [48]Alexander Schlögl, Nora Hofer, and Rainer Böhme. Causes and effects of unanticipated numerical deviations in neural network inference frameworks. In Proceedings of the 37th International Conference on Neural Information Processing Systems, 2023.DOI
  49. [49]Payap Sirinam, Mohsen Imani, Marc Juarez, and Matthew Wright. Deep fingerprinting: Undermining website fingerprinting defenses with deep learning. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, 2018.
  50. [50]Herbert A. Sturges. The choice of a class interval. Journal of the American Statistical Association, 21, 1926.
  51. [51]Gábor J. Székely and Maria L. Rizzo. Energy statistics: A class of statistics based on distances. Journal of Statistical Planning and Inference, 143(8):1249–1272, 2013.DOI
  52. [52]The Tor Project. Pluggable transport specification (version 1). https://spec.torproject.org/pt-spec/, 2026.
  53. [53]Florian Tramèr, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick McDaniel. The Space of Transferable Adversarial Examples. https://arxiv.org/abs/1704.03453, 2017.
  54. [54]Viet-Hoang Tran and Olivier Bonaventure. Beyond socket options: making the Linux TCP stack truly extensible. In 2019 IFIP Networking Conference (IFIP Networking), 2019.
  55. [55]Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-SNE. Journal of Machine Learning Research, 2008.
  56. [56]Gunjan Verma, Ertugrul Ciftcioglu, Ryan Sheatsley, Kevin Chan, and Lisa Scott. Network Traffic Obfuscation: An Adversarial Machine Learning Approach. In 2018 IEEE Military Communications Conference, 2018.DOI
  57. [57]Ryan Wails, Rob Jansen, Aaron Johnson, and Micah Sherr. Proteus: Programmable protocols for censorship circumvention. In Workshop on Free and Open Communication on the Internet, 2023.
  58. [58]Ryan Wails, Rob Jansen, Aaron Johnson, and Micah Sherr. Censorship evasion with unidentified protocol generation. In 34th USENIX Security Symposium (USENIX Security 25). USENIX Association, August 2025.DOI
  59. [59]Ryan Wails, Andrew Stange, Eliana Troper, Aylin Caliskan, Roger Dingledine, Rob Jansen, and Micah Sherr. Learning to behave: Improving covert channel security with behavior-based designs. Proceedings on Privacy Enhancing Technologies, 2022(3), 2022.DOI
  60. [60]Ryan Wails, George Arnold Sullivan, Micah Sherr, and Rob Jansen. On precisely detecting censorship circumvention in real-world networks. In Network and Distributed System Security. The Internet Society, 2024.DOI
  61. [61]Qiyan Wang, Xun Gong, Giang T.K. Nguyen, Amir Housmansadr, and Nikita Borisov. CensorSpoofer: asymmetric communication using IP spoofing for censorship-resistant web browsing. In Proceedings of the 2012 ACM Conference on Computer and Communications Security, CCS ’12, page 121–132, 2012.DOI
  62. [62]Zachary Weinberg, Jeffrey Wang, Vinod Yegneswaran, Linda Briesemeister, Steven Cheung, Frank Wang, and Dan Boneh. StegoTorus: a camouflage proxy for the Tor anonymity system. In Proceedings of the 2012 ACM Conference on Computer and Communications Security, CCS ’12, page 109–120, 2012.DOI
  63. [63]Sarah Wilson, Stella Tjan, and Sina Kamali. Extended abstract: Shepherd: Easily adoptable real-time traffic shaper for fully encrypted protocols. In Free and Open Communications on the Internet (FOCI 2025), 2025.arxiv.org/abs/2604.25069
  64. [64]Philipp Winter, Tobias Pulls, and Juergen Fuss. ScrambleSuit: A Polymorphic Network Protocol to Circumvent Censorship. In Workshop on Privacy in the Electronic Society, 2013.DOI
  65. [65]wkrp. Blocking of fully encrypted protocols (Shadowsocks, VMess) in Russia, targeting HTTPS traffic fingerprints. https://github.com/net4people/bbs/issues/363, 2024.
  66. [66]Mingshi Wu, Jackson Sippe, Danesh Sivakumar, Jack Burg, Peter Anderson, Xiaokang Wang, Kevin Bock, Amir Housamsadr, Dave Levin, and Eric Wustrow. How the Great Firewall of China detects and blocks fully encrypted traffic. In 32nd USENIX Security Symposium (USENIX Security 23), 2023.
  67. [67]XTLS Project. REALITY. https://github.com/XTLS/REALITY, 2026.
  68. [68]XTLS Project. Xray-core. https://github.com/XTLS/Xray-core, 2026.
  69. [69]Wenliang Xu and Futai Zou. Obfuscated Tor traffic identification based on sliding window. Security and Communication Networks, 2021.DOI
  70. [70]Diwen Xue, Michalis Kallitsis, Amir Housamsadr, and Roya Ensafi. Fingerprinting obfuscated proxy traffic with encapsulated TLS handshakes. In USENIX Security Symposium, 2024.
  71. [71]Diwen Xue, Benjamin Mixon-Baca, ValdikSS, Anna Ablove, Beau Kujath, Jedidiah R. Crandall, and Roya Ensafi. TSPU: Russia’s decentralized censorship system. In Proceedings of the 22nd ACM Internet Measurement Conference, 2022.DOI
  72. [72]Diwen Xue, Robert Stanley, Piyush Kumar, and Roya Ensafi. The discriminative power of cross-layer RTTs in fingerprinting proxy traffic. In Network and Distributed System Security Symposium (NDSS 2025), 2025.DOI
  73. [73]Yawning Angel. obfs4. https://gitlab.com/yawning/obfs4, 2019.

Paper details

vlnc:W_vv7ryap3
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents