As of mid-2024, the deployment of Encrypted Client Hello (ECH) and its predecessor Encrypted Server Name Indication (ESNI) is still ongoing, and information about country-level blocking is somewhat limited and evolving. However, based on public reports, research, and community observations, here’s what is known:
Countries Known or Suspected to Block ECH/ESNI
1. China
Status:Blocks ESNI and is actively working to block ECH.
Details:
The Great Firewall of China (GFW) has been observed to block connections using ESNI since 2020.
There is evidence (see Censored Planet, GFW Report) that the GFW is experimenting with blocking ECH traffic as well, though ECH is harder to detect and block than ESNI.
The GFW typically blocks by resetting connections or dropping packets when it detects ESNI/ECH handshakes.
2. Russia
Status:Suspected to block or degrade ESNI/ECH traffic.
Details:
Russia has increased its internet censorship capabilities, and there are reports of DPI (Deep Packet Inspection) being used to block or throttle encrypted protocols, including ESNI and possibly ECH.
No large-scale, confirmed, systematic ECH blocking as of June 2024, but monitoring is ongoing.
3. Iran
Status:Possible blocking or throttling.
Details:
Iran is known for aggressive internet censorship and has the technical capability to block new encrypted protocols.
There are anecdotal reports of issues with ESNI/ECH, but no comprehensive studies confirming systematic blocking.
Other Countries
Turkey, Egypt, India, and others: These countries have advanced censorship infrastructure, but as of now, there are no confirmed reports of systematic ECH/ESNI blocking. However, this could change as ECH adoption increases.
ECH is designed to be more resistant to blocking than ESNI, but as adoption grows, more countries may attempt to block or degrade it.
The situation is dynamic; for the latest, check resources like Censored Planet or OONI.
If you need more technical details or up-to-date research, let me know!
User
Which countries use SNI for censorship?
Assistant
Server Name Indication (SNI) is a TLS extension that reveals the hostname a client is connecting to during the TLS handshake, in plaintext. Many countries use SNI-based filtering for censorship because it allows censors to block access to specific websites, even over HTTPS, without decrypting the entire connection.
Countries Known to Use SNI for Censorship
1. China
How: The Great Firewall (GFW) inspects SNI fields to block access to specific domains (e.g., Google, Facebook, Wikipedia).
Method: If the SNI matches a blocked domain, the connection is reset or dropped.
2. Russia
How: Russian ISPs use SNI filtering to block access to banned websites, especially after the 2019 "Sovereign Internet" law.
Method: DPI appliances inspect SNI and block connections to blacklisted domains.
3. Iran
How: Iran uses SNI filtering to block access to social media, news, and other restricted sites.
Method: DPI systems inspect SNI and block or throttle connections.
4. India
How: Indian ISPs have been observed using SNI-based filtering to block access to pornographic and other government-blacklisted sites.
Method: SNI inspection and connection reset or redirection.
5. Turkey
How: Turkey uses SNI filtering to block access to sites like Wikipedia, Twitter, and others during periods of unrest.
Method: DPI and SNI inspection.
6. Kazakhstan
How: Kazakhstan has used SNI filtering to block access to social media and news sites.
Method: DPI and SNI inspection.
7. Egypt
How: Egypt uses SNI filtering to block access to news, VPN, and circumvention tools.
Method: DPI and SNI inspection.
Other Countries
Pakistan, UAE, Saudi Arabia, Ethiopia, and others have also been reported to use SNI-based filtering, especially for blocking adult content, political opposition, or circumvention tools.
Note:
SNI-based censorship is increasingly common because it is easy to implement and effective against HTTPS sites that do not use ECH or similar privacy enhancements. As ECH adoption grows, SNI-based censorship may become less effective.
If you need more technical details or country-specific reports, let me know!