NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SWEET: Serving the Web by Exploiting Email Tunnels

Amir Houmansadr, Wenxuan Zhou, Matthew Caesar, Nikita BorisovIEEE/ACM Trans. Networking 2017

TL;DR

SWEET is a novel censorship circumvention system that leverages public email services to tunnel web traffic, offering high availability by making it difficult for censors to block. Experiments show it provides sufficient performance for web browsing, downloading regular websites within seconds.

What Problem Does This Paper Address?

In countries with repressive regimes, the internet is heavily monitored and censored. While various tools exist to bypass these restrictions, many suffer from low availability. This is because censors can often identify and block the traffic patterns associated with these circumvention systems, even with advanced techniques like Deep Packet Inspection (DPI). This paper addresses the critical need for a censorship circumvention system that is not only effective but also highly available, meaning it's difficult for censors to disrupt.

Methods

SWEET's core innovation lies in its use of email as a transport mechanism for circumventing censorship. A user's web traffic is encapsulated within email messages, which are then sent via public email providers (like Gmail or Yahoo Mail) to a SWEET server. This server acts as a proxy, forwarding the traffic to its intended destination. The key idea is that blocking all email traffic to circumvent SWEET would be infeasible for a censoring regime, as email is a fundamental part of internet communication.

SWEET employs a client-server architecture. The SWEET server has components for:

  • Email Agent: Handles sending and receiving emails.
  • Converter: Extracts network packets from email attachments and vice-versa, encrypting/decrypting them using a shared secret key with the client.
  • Proxy Agent: Forwards the decrypted traffic to the intended destination and handles responses.
  • Registration Agent: Manages client registration, preventing denial-of-service attacks and establishing the shared secret key.

The SWEET client can be implemented in two ways:

  • Protocol-based: Uses standard email protocols (IMAP, POP3, SMTP) to communicate with the email provider.
  • Webmail-based: Leverages the webmail interface of the email provider, essentially automating browser interactions.

Datasets

Not discussed in the paper. The evaluation uses real-world web destinations from Alexa's top ten ranking.

Key Insights and Ideas

  • Email as a Stealthy Tunnel: The fundamental insight is that the ubiquity and essential nature of email make it an excellent, albeit unconventional, channel for hiding circumvention traffic. Censors are unlikely to block all email services.
  • Availability Through Infeasibility: By relying on a service that cannot be easily blocked without crippling general internet use, SWEET achieves high availability. This is a significant advantage over systems that rely on specific IP addresses or protocols that are easier to target.
  • User Convenience and No Secrets: SWEET aims for ease of use, requiring no secret information to be shared between the client and server beyond publicly known details. This contrasts with some other systems that require complex secret key management.
  • Trade-off Between Unobservability and Latency: Users can choose between highly unobservable (using encrypted email) or more performant (using plaintext email) modes, allowing them to balance privacy needs with connection speed.

Key Results

  • Performance: Regular websites were downloaded within a couple of seconds. The median Time to First Appearance (TFA) was around 5 seconds, and the Total Browsing Time (TBT) was also found to be sufficient for interactive web browsing.
  • Email Latency: SWEET emails took less than 3 seconds to reach the SWEET server approximately 90% of the time, with most of the delay attributed to the email provider (Gmail) rather than network latency.
  • Client Registration: Over 90% of client registrations completed in under 8 seconds.
  • Traffic Analysis: For most websites, browsing required fewer than three SWEET emails in each direction. The average number of emails per direction was around 4. This is comparable to or better than typical email usage.

Limitations and Future Work

  • Latency: While sufficient for web browsing, SWEET's latency is higher than direct connections or some other circumvention tools like Tor. The authors suggest further optimizations to the SWEET server's proxy and standard web latency improvement techniques (caching, compression) could mitigate this.
  • Traffic Analysis: While email traffic is voluminous, sophisticated censors could still attempt traffic analysis. Users concerned about unobservability might need to mimic normal email traffic patterns, which can reduce bandwidth.
  • Email Provider Dependence: Although designed to work with any public email provider, the performance and unobservability can be influenced by the chosen provider's characteristics (e.g., encryption support, spam filtering).
  • Future Work: The authors suggest that further optimizations to the SWEET server's proxy and standard web latency improvement techniques could enhance performance. They also note that the system's ease of deployment allows individuals or organizations to set up their own SWEET servers.

Summary updated

BibTeX
@article{houmansadr2017sweet,
  author = {Amir Houmansadr and Wenxuan Zhou and Matthew Caesar and Nikita Borisov},
  title = {{SWEET: Serving the Web by Exploiting Email Tunnels}},
  journal = {IEEE/ACM Trans. Networking},
  year = {2017},
  url = {https://openreview.net/forum?id=jsDgRjHN9CW},
}
Figure