[Paper Review] The Anatomy of Web Censorship in Pakistan
This study investigates the mechanisms, evolution, and circumvention techniques of web censorship in Pakistan using five domestic networks as vantage points. It reveals that DNS injection and HTTP-level blocking (including fake 200 responses) are the primary methods, with a shift from ISP-level to centralized IXP-level filtering; CDNs and search engine caches are effective, underused bypass methods, while public VPNs and proxies are the most common user circumvention tools.
Over the years, the Internet has democratized the flow of information. Unfortunately, in parallel, authoritarian regimes and other entities (such as ISPs) for their vested interests have curtailed this flow by partially or fully censoring the web. The policy, mechanism, and extent of this censorship varies from country to country. We present the first study of the cause, effect, and mechanism of web censorship in Pakistan. Specifically, we use a publicly available list of blocked websites and check their accessibility from multiple networks within the country. Our results indicate that the censorship mechanism varies across websites: some are blocked at the DNS level while others at the HTTP level. Interestingly, the government shifted to a centralized, Internet exchange level censorship system during the course of our study, enabling our findings to compare two generations of blocking systems. Furthermore, we report the outcome of a controlled survey to ascertain the mechanisms that are being actively employed by people to circumvent censorship. Finally, we discuss some simple but surprisingly unexplored methods of bypassing restrictions.
Motivation & Objective
- To analyze the cause, mechanism, and effect of web censorship in Pakistan, a country with rising internet restrictions.
- To compare two generations of censorship systems—ISP-level and centralized IXP-level—during a transition period.
- To evaluate the effectiveness of common circumvention techniques used by citizens to bypass blocked content.
- To explore underutilized but viable alternatives such as CDNs and search engine caches for accessing censored content.
- To provide a comprehensive, empirically grounded understanding of internet filtering in a developing country context with state-led censorship.
Proposed method
- Collected a publicly available list of 307 blocked websites in Pakistan and tested their accessibility from five distinct networks within the country.
- Used DNS resolution via online services and custom HTTP headers to distinguish between hostname-based and IP-based blocking, avoiding confusion from shared IPs.
- Monitored for DNS injection (e.g., NXDOMAIN responses) and HTTP-level interference (e.g., 302 redirects or fake 200 responses) to detect multi-layered blocking.
- Conducted a controlled survey to assess the prevalence of public VPNs and web proxies as circumvention tools among users.
- Evaluated access to blocked websites via CoralCDN (by appending .nyud.net) and search engine caches (e.g., Google’s cache: prefix).
- Tracked changes in censorship mechanisms before and after April 2013, when Pakistan transitioned to an IXP-level filtering system reportedly supplied by Netsweeper Inc.
Experimental results
Research questions
- RQ1What are the primary technical mechanisms used to block websites in Pakistan, and how do they differ across networks and time?
- RQ2How has the centralization of censorship at the Internet Exchange Point (IXP) level changed the nature and scalability of web filtering in Pakistan?
- RQ3To what extent are websites blocked at both DNS and HTTP levels, and what does this imply for circumvention strategies?
- RQ4Which circumvention tools—such as public VPNs, proxies, CDNs, or search caches—are most commonly used and effective in bypassing censorship?
- RQ5How do content distribution networks and search engine caches serve as viable, yet underutilized, alternatives for accessing censored content?
Key findings
- DNS injection is the dominant method of blocking, affecting both local and public DNS resolvers such as Google DNS and OpenDNS.
- The government transitioned from ISP-level blocking (using HTTP 302 redirects) to a centralized IXP-level system (using fake HTTP 200 responses) in April 2013.
- Websites blocked at the DNS level are also consistently blocked at the HTTP level, indicating multi-layered filtering.
- All 307 blocked websites in the study were accessible via CoralCDN by appending .nyud.net to their URLs, demonstrating the effectiveness of CDNs as bypass tools.
- All 307 websites were also accessible through Google’s cache (using the cache: prefix), with similar results from Bing and the Internet Archive.
- A controlled survey found that public VPN services and web proxies are the most widely used methods for circumventing censorship among Pakistani internet users.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.