Skip to content

在启用TCP Timestamp(TCP时间戳)后,GFW对obfs4的审查无效 / After enabling TCP Timestamp, GFW's censorship of obfs4 is rendered ineffective #442

Description

@ThEWiZaRd0fBsoD

(我太兴奋了,重写一下,之前有大量错误,并且重新进行实验)

在之前我看到这么一篇博客文章,提到TCP时间戳选项会影响河南省墙的判断。

我对这个说法保持怀疑,但想到如果头部多出十个字节的明文,那么应该可以干扰GFW对obfs4的判断(众所周知,obfs4在中国已经被屏蔽很长一段时间)。

于是我自己配置了一个obfs4 iat-mode=2的网桥,将Windows设置为同时启用TCP窗口和TCP时间戳。
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Tcp1323Opts(设置为3)

很有趣的是:obfs4网桥就此恢复正常使用,就好像GFW从来没有侦测到过它一样。

这里是抓包文件,其他人能很明显地发现,到达网桥的通信(TCP 17120端口)从未被干扰/阻止。

即使在我已经在听歌,这段通信依旧未被阻止。

20250101-144152

网桥地址:obfs4 172.236.211.247:17120 126E14CC2C03133E70FBBF306D76D75AA96D47EB cert=ubysetrGTVF+eux3IDgjC/w9u6xjGGNUnz89U2zkuDFCF3lQsWb0FuB9qfG6TzN1AL73HA iat-mode=2


(I'm so excited, I've rewritten it, there were a lot of mistakes before, and I've done the experiment again)

Previously, I read a blog post that mentioned the TCP timestamp option would affect the Henan Province wall's judgment.

I was skeptical of this claim, but thought that if there were ten more bytes of plaintext in the header, it should be able to interfere with the GFW's judgment of obfs4 (as we all know, obfs4 has been blocked in China for a long time).

So I configured an obfs4 iat-mode=2 bridge myself, and set Windows to enable both TCP window and TCP timestamp.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Tcp1323Opts (set to 3)

It's interesting: the obfs4 bridge then returned to normal use, as if the GFW had never detected it.

Here is the packet capture file, and it is obvious to anyone else that the communication to the bridge (TCP port 17120) has never been interfered with/blocked.

Even when I was already listening to music, this communication was still not blocked.

bridge line: obfs4 172.236.211.247:17120 126E14CC2C03133E70FBBF306D76D75AA96D47EB cert=ubysetrGTVF+eux3IDgjC/w9u6xjGGNUnz89U2zkuDFCF3lQsWb0FuB9qfG6TzN1AL73HA iat-mode=2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions