Skip to main content
QUICK REVIEW

[Paper Review] How Great is the Great Firewall? Measuring China's DNS Censorship

Nguyen Phong Hoang, Arian Akhavan Niaki|arXiv (Cornell University)|Jun 3, 2021
Internet Traffic Analysis and Secure E-votingComputer Science32 references11 citations
TL;DR

This paper introduces GFWatch, a large-scale, longitudinal measurement platform that tests hundreds of millions of domains daily to monitor China's Great Firewall (GFW) DNS censorship. Over nine months, GFWatch detected 311,000 censored domains and identified 3,580 forged IPv4 and IPv6 IP addresses—including globally routable ones from U.S. companies—while revealing widespread pollution of public DNS resolvers like Google and Cloudflare.

ABSTRACT

The DNS filtering apparatus of China's Great Firewall (GFW) has evolved considerably over the past two decades. However, most prior studies of China's DNS filtering were performed over short time periods, leading to unnoticed changes in the GFW's behavior. In this study, we introduce GFWatch, a large-scale, longitudinal measurement platform capable of testing hundreds of millions of domains daily, enabling continuous monitoring of the GFW's DNS filtering behavior. We present the results of running GFWatch over a nine-month period, during which we tested an average of 411M domains per day and detected a total of 311K domains censored by GFW's DNS filter. To the best of our knowledge, this is the largest number of domains tested and censored domains discovered in the literature. We further reverse engineer regular expressions used by the GFW and find 41K innocuous domains that match these filters, resulting in overblocking of their content. We also observe bogus IPv6 and globally routable IPv4 addresses injected by the GFW, including addresses owned by US companies, such as Facebook, Dropbox, and Twitter. Using data from GFWatch, we studied the impact of GFW blocking on the global DNS system. We found 77K censored domains with DNS resource records polluted in popular public DNS resolvers, such as Google and Cloudflare. Finally, we propose strategies to detect poisoned responses that can (1) sanitize poisoned DNS records from the cache of public DNS resolvers, and (2) assist in the development of circumvention tools to bypass the GFW's DNS censorship.

Motivation & Objective

  • To provide continuous, large-scale monitoring of China’s DNS filtering behavior over an extended period.
  • To identify the true scope of GFW’s DNS censorship, including censored domains and forged IP addresses.
  • To analyze the impact of GFW’s DNS filtering on global DNS resolvers, particularly public ones like Google and Cloudflare.
  • To reverse-engineer GFW’s filtering rules and detect overblocking of innocuous domains.
  • To develop detection and mitigation strategies for poisoned DNS responses to aid circumvention and resolver sanitization.

Proposed method

  • Deployed GFWatch, a measurement platform using dedicated machines on both sides of the GFW to test DNS resolution at scale.
  • Conducted daily testing of an average of 411 million distinct domains over a nine-month period.
  • Used probing techniques to reverse-engineer GFW’s blocklist by analyzing DNS responses to known censored domains.
  • Identified forged IP addresses in DNS responses by comparing expected vs. actual responses, focusing on globally routable IPs.
  • Correlated censored domains with authoritative name server locations and geographic routing to detect geoblocking effects.
  • Proposed detection strategies for poisoned DNS records based on observed patterns in forged responses and resolver pollution.

Experimental results

Research questions

  • RQ1How many domains are censored by China’s GFW DNS filter over a long-term period?
  • RQ2What are the characteristics and distribution of forged IP addresses injected by the GFW in DNS responses?
  • RQ3To what extent does GFW’s DNS censorship pollute public DNS resolvers like Google and Cloudflare?
  • RQ4How do geographic restrictions and authoritative name server locations contribute to DNS pollution in external resolvers?
  • RQ5What detection mechanisms can effectively identify and mitigate poisoned DNS responses from the GFW?

Key findings

  • GFWatch tested 534 million distinct domains over nine months, detecting 311,000 domains censored by the GFW’s DNS filter.
  • The GFW injected 1,781 unique IPv4 and 1,799 unique IPv6 addresses in forged DNS responses, including globally routable IPs from U.S. companies like Facebook, Dropbox, and Twitter.
  • 41,000 of the 311,000 censored domains were innocuous and matched GFW’s regular expression filters, indicating overblocking.
  • 77,000 censored domains were found to have polluted DNS records in public resolvers such as Google and Cloudflare due to GFW’s filtering.
  • Geographic restrictions and the presence of authoritative name servers in China were significant contributors to DNS pollution in external resolvers.
  • The study identified 593 common forged IPs with OONI and 1,600 with Censored Planet, highlighting platform differences due to resolver policies and measurement scope.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.