You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exposing and Circumventing SNI-based QUIC Censorship of the Great Firewall of China (USENIX Security 2025) #505
Despite QUIC handshake packets being encrypted, the Great Firewall of China (GFW) has begun blocking QUIC connections to specific domains since April 7, 2024. In this work, we measure and characterize the GFW’s censorship of QUIC to understand how and what it blocks. Our measurements reveal that the GFW decrypts QUIC Initial packets at scale, applies heuristic filtering rules, and uses a blocklist distinct from its other censorship mechanisms. We expose a critical flaw in this new system: the computational overhead of decryption reduces its effectiveness under moderate traffic loads. We also demonstrate that this censorship mechanism can be weaponized to block UDP traffic between arbitrary hosts in China and the rest of the world. We collaborate with various open-source communities to integrate circumvention strategies into Mozilla Firefox, the quic-go library, and all major QUIC-based circumvention tools.
The SNI-slicing feature (implemented through client Initial Fragmentation) was included in the Neqo v0.12.0 release on January 27, 2025 [24, 50]. Mozilla Firefox has since integrated this feature and shipped it as a default feature in version 137 on April 30, 2025 [24, 47] (configurable via the network.http.http3.sni-slicing parameter in the about:config page).
As of June 2025, we are working with the Mozilla Neqo and Firefox team to integrate a complementary circumvention technique (prepending dummy payload before the handshake) in Mozilla Firefox for more resilience against the GFW [72].
My goddess, you have turned Mozilla Firerox a wall-climbing browser?
Is this the reason why Mozilla's Beijing branch, Mouzhi announced shutting down 1 week later after the version 137?
On May 8, 2025, Mozilla and Beijing (Mouzhi) Firefox reached an agreement that Beijing (Mouzhi) Firefox will no longer operate the Firefox browser and any Firefox-related business in mainland China. www.firefox.com.cn (archived)
I believe that adding functionality solely for anti-censorship purposes to general-purpose libraries like quic-go is questionable.
I agree that everyone in the field should ask themselves questions like these. I agree that the outcome of an experiment like this is uncertain, and that there are tactical considerations behind what circumvention ideas to try and when. (You can see some thinking along these lines in "Censorship Resistance: Let a Thousand Flowers Bloom?".)
But the argument cuts both ways. It is equally a debatable ethical claim that one should try to anticipate what the state will want from you, and fit yourself into that mold before even being asked. Carrying out the will of the state is not an ethically neutral act—if you decide to do it, it should be with proper forethought and evaluation of alternatives. And consider that you have more power than you think. The fact that QUIC is not blocked outright is not only by grace of the censors—even governments are subject to practical constraints on what they may accomplish.
Most of the power of authoritarianism is freely given. In times like these, individuals think ahead about what a more repressive government will want, and then offer themselves without being asked. A citizen who adapts in this way is teaching power what it can do.
Reacted by Isaac, Behnam, Myles Horton, Zuji Zhou and kxjstpcm
If our tools are only for bypassing censorship, it’s easy to block and politically costly to defend.
If our protocol carries everything — from political speech to cute cat pics — we create the Dictator’s Dilemma:
Block it, and they break the internet for everyone, costing themselves.
Leave it, and the information they want to suppress still gets through.
It's how Cute Cat Theory in action: make free expression ride along with the everyday things people love and need. The goal isn’t to hide activism — it’s to make it part of the internet’s ordinary operation, so censorship always comes with a heavy economy.
From what I have tested, WARP client initiates a QUIC connection to its ingress proxy with the SNI consumer-masque.cloudflareclient.com. This specific SNI in the initial QUIC packet triggers blocking, causing subsequent packets to be dropped temporarily, which leads to disruptions for WARP connections that use MASQUE.
user reports began to suggest that the Great Firewall of China (GFW) had started blocking QUIC connections for specific domains [33] in April 2024
Chrome (since version 124 [12]) ... fragments the QUIC client Initial into multiple UDP datagrams due to the larger key size exceeding the maximum QUIC packet size ... bypass the GFW’s QUIC censorship.
Activity
Cuthead commentedon Aug 1, 2025
My goddess, you have turned Mozilla Firerox a wall-climbing browser?
Is this the reason why Mozilla's Beijing branch, Mouzhi announced shutting down 1 week later after the version 137?
UjuiUjuMandan commentedon Aug 12, 2025
It would be more questionable if project owner had a good guanxi (relations) with an evil government.
Ghost? Don't even dare to keep your account after defending for Beijjng.
Beijing Mouzhi is not a respectful company anyway, their version of Firefox is always shipped with closed-source extensions and found with affiliate hijacking malware in 2013 (they even stated it as "do some evil here" themselves in code comments).
The top result is how to avoid downloading chinese edition searching Mouzhi Firefox in Google.
UjuiUjuMandan commentedon Aug 12, 2025
wkrp commentedon Aug 12, 2025
I agree that everyone in the field should ask themselves questions like these. I agree that the outcome of an experiment like this is uncertain, and that there are tactical considerations behind what circumvention ideas to try and when. (You can see some thinking along these lines in "Censorship Resistance: Let a Thousand Flowers Bloom?".)
But the argument cuts both ways. It is equally a debatable ethical claim that one should try to anticipate what the state will want from you, and fit yourself into that mold before even being asked. Carrying out the will of the state is not an ethically neutral act—if you decide to do it, it should be with proper forethought and evaluation of alternatives. And consider that you have more power than you think. The fact that QUIC is not blocked outright is not only by grace of the censors—even governments are subject to practical constraints on what they may accomplish.
On Tyranny says:
immartian commentedon Aug 12, 2025
If our tools are only for bypassing censorship, it’s easy to block and politically costly to defend.
If our protocol carries everything — from political speech to cute cat pics — we create the Dictator’s Dilemma:
It's how Cute Cat Theory in action: make free expression ride along with the everyday things people love and need. The goal isn’t to hide activism — it’s to make it part of the internet’s ordinary operation, so censorship always comes with a heavy economy.
UjuiUjuMandan commentedon May 3, 2026
A late response. I find that you state in section 8 that,
@alizohaib said the similar in #418 (comment)
In 2025-01-19_quic_blocklist.txt I can only find a
cloudflare-dns.com, clearly not this one.And I cannot reproduce it will curl, either.
UjuiUjuMandan commentedon May 3, 2026
Another funny thing is that,
So...Chrome released PQC for QUIC, defeating the inspection, and the GFW,
at the same time, deployed the QUIC inspection. Are they suckers?Edit: Okay saw it,
The first user report link (https://t.me/c/1166154022/909198) is for private Telegram group/channel, I can't look up it and confirm the actual date.
Chrome 124 was released on 16 April 2024, 9 days after the QUIC inspection deployment.