Seems like UDP is completely exempt, which would allow UDP-based VPNs, like Wireguard through. SSH is also exempt...
I'd go for ssh if I was trying to bypass it. At least legally I can claim that I'm just sshing to my aws server and not be jailed for using vpn.
How the great firewall of China detects and blocks fully encrypted traffic [pdf]
81–90 of 289 posts
Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#82What kind of websites does China block?
Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#83https://www.virustotal.com/gui/url/f530591ff939e09c1cf8bc534...
Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#84Earlier quoted context omitted.
GFW only looks at connections with destination IPs outside of China, the private fibre line bypasses it entirely.
> the private fibre line bypasses it entirely Well, I'm sure the Chinese are tapping it. ;-) Its more that they are just not actively acting on the content.
Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#85The algorithm found seems so unintuitive that I wonder if it was not found by the AI. " Allow a connection to continue if the first TCP payload (pkt) sent by the client satisfies any of the following exemptions: Ex1: popcount(pkt) len(pkt) ≤ 3.4 or popcount(pkt) len(pkt) ≥ 4.6. Ex2: The first six (or more) bytes of pkt are [0x20,0x7e]. Ex3: More than 50% of pkt’s bytes are [0x20,0x7e]. Ex4: More than 20 contiguous by…
Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#86I’ve done so much experimentation with GFW pre pandemic while staying in China for extended period of times. I was always amazed at how quickly they would catch up on my shadowsocks, random ssh tunnels…etc. 48 hours top before I had to rotate IPs. This report seems to indicate this is now instant? Fwiw My most reliable trick ended up piggie-backing off of a physical line going into Hong Kong from Shenzhen, and when r…
Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#87This paper is nice, but it goes over some finer technical things. So, not about the great wall, but there's projects out there, like this one https://github.com/salesforce/ja3 , which talk about how you can fingerprint fully encrypted traffic(TLS/HTPS). There's a great section in the Readme "How it works" that goes over it. Would be surprising if the great wall doesn't do this, when some open source firewall will.
[1] https://www.fastly.com/blog/a-first-look-at-chromes-tls-clie...
[2] https://gitlab.torproject.org/legacy/trac/-/issues/4744
[3] https://blog.torproject.org/ethiopia-introduces-deep-packet-...
Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#88Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#89The algorithm found seems so unintuitive that I wonder if it was not found by the AI. " Allow a connection to continue if the first TCP payload (pkt) sent by the client satisfies any of the following exemptions: Ex1: popcount(pkt) len(pkt) ≤ 3.4 or popcount(pkt) len(pkt) ≥ 4.6. Ex2: The first six (or more) bytes of pkt are [0x20,0x7e]. Ex3: More than 50% of pkt’s bytes are [0x20,0x7e]. Ex4: More than 20 contiguous by…
It's extremely intuitive. You're trying to filter unusual, encrypted traffic. First rule exploits the IND-CPA property of most encryption. You want to kill traffic that has about 4 bits set to 1 per byte, i.e. traffic that "looks random". The following rules are exemptions for permissible encrypted or compressed traffic (note that compression, while not IND-CPA, results in high entropy and thus will trigger the first…
Re: How the great firewall of China detects and blocks fully encrypted traffic [pdf]
#90The exact reverse engineered algorithm of the GFW is on page 4. It looks very reasonable (given what they are trying to achieve with it). The easiest bypass I can think of would be to tunnel your connections via TLS. For example socks server tunneled via SSH which in turn is tuneled via TLS to your gateway. Or perhaps you can somehow get your SSH client to transmit "GET " at the beginning of the connection, have the…