Design Principle of Inbound Pull: Inbound Pull is a highly covert network technique. Its core idea is to allow an overseas server to actively access a domestic proxy node, rather than having domestic users initiate connections to the outside. From the firewall’s perspective, the traffic appears as “foreign accessing domestic,” which is considered normal communication and thus not blocked. The user’s request is first sent to the cloud server, which then instructs the overseas node to fetch data. The data is returned through this “legitimate” reverse tunnel. This method skillfully disguises the traffic source, greatly enhancing stealthiness—though it is complex to implement and introduces higher latency, making it suitable for scenarios requiring extreme security.
阅读代表你以知晓法律,后果自负,请确保你的所在地允许使用VPN
By reading this, you acknowledge the legal implications and assume full responsibility. Please ensure that the use of VPNs is permitted in your jurisdiction.
Objective: To maximally prevent detection of proxy traffic by the GFW (Great Firewall of China). This proposal presents a highly complex, multi-layered network architecture designed to circumvent network censorship through technical means. Based on publicly available technical literature and network protocol analysis.
本文已经是本人绞尽脑汁的的几乎最终策略
This article represents nearly my final strategy after exhaustive effort.
参考文献References
Tang, C. (2016). In-depth analysis of the Great Firewall of China. [ctang.pdf]
Wu, M., et al. (2023). How the Great Firewall of China Detects and Blocks Fully Encrypted Traffic. USENIX Security Symposium.
在当今全球化的信息时代,互联网已成为人们获取知识、交流思想、开展业务不可或缺的平台。然而,不同国家和地区基于其法律法规、文化背景和安全考量,对互联网内容的访问实施了不同程度的管理与限制。在中国,为了维护网络空间的清朗环境、防范网络攻击和信息泄露,保障公民的合法权益,国家依法设立了网络防火墙(GFW)。这一举措有效地过滤了大量包含违法不良信息、网络诈骗和恶意攻击的境外内容,为国内用户提供了一个相对安全、稳定的网络环境。
In today’s globalized information age, the internet has become an indispensable platform for acquiring knowledge, exchanging ideas, and conducting business. However, different countries and regions implement varying degrees of regulation and restriction on internet content based on their laws, cultural backgrounds, and security concerns. In China, the state has legally established a network firewall (GFW) to maintain a clean cyberspace, prevent cyberattacks and data leaks, and protect citizens’ legal rights. This measure effectively filters out vast amounts of illegal, harmful, fraudulent, and malicious foreign content, providing domestic users with a relatively safe and stable online environment.
GFW并非单一设备,而是一个由深度包检测(DPI)系统、DNS污染系统和BGP路由控制系统构成的庞大、多层次的审查网络。根据Tang (2016)的研究,GFW是一个“on-path”(旁路)系统,它通过分光技术从骨干路由器上复制流量,进行分析和干预,但无法直接丢弃正在传输的数据包。其核心封锁方式包括:
The GFW is not a single device, but a large, multi-layered censorship network composed of Deep Packet Inspection (DPI) systems, DNS poisoning systems, and BGP routing control systems. According to Tang (2016), the GFW is an “on-path” system that uses optical splitting to copy traffic from backbone routers for analysis and intervention, but cannot directly drop in-transit packets. Its core blocking methods include:
DNS污染:返回虚假的IP地址。
DNS Poisoning: Returning forged IP addresses.
TCP RST注入:向连接的两端发送伪造的重置包,强制中断连接。
TCP RST Injection: Sending forged reset packets to both ends of a connection to forcibly terminate it.
IP黑洞:通过BGP路由策略,将特定IP地址的流量引向“黑洞”。
IP Blackholing: Using BGP routing policies to redirect traffic from specific IP addresses into a “black hole.”
SNI阻断:对TLS握手过程中的明文SNI字段进行DPI检测和阻断。
SNI Blocking: DPI detection and blocking of the plaintext SNI field during the TLS handshake.
与此同时,部分用户因学术研究、跨境商务、国际交流等合法合规的需求,希望安全、稳定地访问特定的国际互联网资源。这催生了对高效、安全网络代理技术的探索。本方案旨在构建一个高度隐蔽、抗审查、出口IP可自定义的多跳代理系统,其核心目标是实现全链路HTTPS流量伪装、路径动态随机化、并确保最终出口为用户指定的静态住宅IP,从而有效规避平台封号风险,满足用户在严格监管环境下安全访问国际互联网的需求。
Meanwhile, some users, due to legitimate needs such as academic research, cross-border business, or international communication, wish to securely and stably access specific international internet resources. This has driven the exploration of efficient and secure proxy technologies. This proposal aims to build a highly covert, censorship-resistant, multi-hop proxy system with customizable exit IPs. Its core objectives are to achieve end-to-end HTTPS traffic obfuscation, dynamically randomize routing paths, and ensure the final exit uses a user-specified static residential IP, effectively avoiding account bans on external platforms and meeting the demand for secure international internet access under strict regulatory environments.
需要郑重声明的是,任何规避国家网络监管的行为都属于违法行为,严重违反了《中华人民共和国计算机信息网络国际联网管理暂行规定》和《中华人民共和国网络安全法》。本设计书所阐述的技术方案,仅用于技术探讨和知识分享,旨在分析现有技术的原理与局限,其最终目的并非鼓励或支持任何非法活动。我们强烈建议所有网络活动都应在法律法规的框架内进行。本方案的实施应严格限定于境外服务器,并且其用途必须符合当地法律。
It must be clearly stated that any act of circumventing national network regulations is illegal and violates the Provisional Regulations on the Administration of International Networking of Computer Information Networks of the P.R.C. and the Cybersecurity Law of the P.R.C. The technical solutions described in this document are intended solely for technical discussion and knowledge sharing, aiming to analyze the principles and limitations of existing technologies. They are not meant to encourage or support any illegal activities. We strongly recommend that all network activities comply with applicable laws and regulations. Implementation of this system should be strictly limited to servers located outside China and must comply with local laws.
本系统采用“客户端 → 全球分布式跳板 → 商业中继网络 → 固定家宽出口”的四级架构。v7.0版本在此基础上,创新性地引入了“入境拉取代理技术”模式,通过云端调度,由境外跳板主动向境内跳板发起请求,从根本上改变流量在审查系统眼中的“身份”和“来源”,实现了从“主动出站”到“被动入站”的范式转变,将系统的隐蔽性提升至全新高度。
The system adopts a four-tier architecture: “Client → Global Distributed Jump Nodes → Commercial Relay Network → Fixed Residential Exit.” Version 7.0 innovatively introduces the “Inbound Pull” mode. Through cloud orchestration, an overseas jump node actively initiates a request to a domestic node, fundamentally changing the perceived “identity” and “source” of traffic from the censor’s viewpoint. This shifts the paradigm from “active outbound” to “passive inbound,” elevating the system’s stealthiness to a new level.
2. 系统架构
2. System Architecture
本系统的整体架构设计如下:
The overall system architecture is designed as follows:
本系统由四个核心逻辑层级和一个创新的“入境拉取代理技术”模式构成。
The system consists of four core logical layers and one innovative “Inbound Pull” mode.
第一层:客户端 (Client Layer)
Layer 1: Client Layer
客户端是系统的交互界面,负责发起网络请求。在标准模式下,它直接连接跳板网络。在入境拉取代理技术模式下,它仅需向云端调度服务器发送访问请求,后续所有操作由云端和跳板网络自动完成,客户端的本地风险降至最低。
The client is the user-facing interface responsible for initiating network requests. In Standard Mode, it directly connects to the jump network. In Inbound Pull Mode, it only sends an access request to the cloud server; all subsequent operations are handled automatically by the cloud and jump nodes, minimizing local risk on the client side.
第二层:全球跳板网络 (Global Jump Network)
Layer 2: Global Jump Network
该网络包含两类节点:
This network includes two types of nodes:
标准跳板节点 (20+):如v5.0所述,用于标准代理模式。
Standard Jump Nodes (20+): As described in v5.0, used for standard proxy mode.
Inbound Pull Dedicated Nodes: A pair of nodes—one overseas (Node A), one within China (Node B)—specifically used to establish and maintain the Inbound Pull connection.
第三层:商业中继网络 (Commercial Relay Network)
Layer 3: Commercial Relay Network
与v5.0相同,负责处理高风险目标,确保最终访问的稳定性和匿名性。
Same as v5.0, responsible for handling high-risk targets and ensuring stability and anonymity for final access.
第四层:固定出口层 (Fixed Exit Layer)
Layer 4: Fixed Exit Layer
与v5.0相同,确保最终访问IP为用户指定的静态住宅IP。
Same as v5.0, ensuring the final exit IP is a user-specified static residential IP.
第五层:云端调度服务器 (Cloud Orchestration Server)
Layer 5: Cloud Orchestration Server
v7.0的核心升级。它不仅负责健康检查和智能调度,现在还新增了入境拉取代理技术协调引擎,能够根据策略或用户选择,动态启用“入境拉取代理技术模式”。
The core upgrade in v7.0. It not only handles health checks and intelligent scheduling but now includes an Inbound Pull Orchestration Engine, capable of dynamically enabling “Inbound Pull Mode” based on policy or user selection.
3. 核心技术实现
3. Core Technical Implementation
3.1 绕过GFW SNI阻断
3.1 Bypassing GFW SNI Blocking
根据 https://www.2x.nz/posts/bypass-gfw/ 的深入分析,GFW对加密流量的封锁主要依赖于SNI(Server Name Indication)阻断技术。在TLS(传输层安全)握手阶段,客户端会向服务器发送一个名为 Client Hello 的明文报文,其中通常包含 server_name 扩展,用于告知服务器它想要访问的具体域名(如 discord.com)。GFW正是通过深度包检测(DPI)技术,扫描并识别这些明文的 server_name 字段,从而对不在“白名单”内的域名进行精准阻断。其典型表现为,服务器会向客户端发送一个 RST(重置)报文,导致连接被强制中断。
According to in-depth analysis from https://www.2x.nz/posts/bypass-gfw/, the GFW primarily relies on SNI (Server Name Indication) blocking to censor encrypted traffic. During the TLS (Transport Layer Security) handshake, the client sends a plaintext Client Hello message containing the server_name extension, indicating the target domain (e.g., discord.com). The GFW uses Deep Packet Inspection (DPI) to scan and identify this plaintext server_name field, thereby precisely blocking domains not on its “whitelist.” A typical symptom is the server sending an RST (reset) packet, forcibly terminating the connection.
目前,主流的SNI阻断绕过技术有三种:空SNI、SNI伪造 和 ECH。本方案将根据目标网站的特性,灵活采用这些技术。
Currently, three mainstream techniques bypass SNI blocking: Empty SNI, SNI Spoofing, and ECH. This proposal flexibly employs these techniques based on the characteristics of the target website.
技术一:空SNI (Empty SNI)
Technique 1: Empty SNI
这是本方案当前的核心规避技术。其原理是:在 Client Hello 报文中,不包含 server_name 扩展。当GFW检测到一个没有明确目标的加密连接请求时,由于无法确定其访问意图,通常会选择放行,以避免误伤正常流量。此时,目标服务器(即我们的跳板节点)会返回其默认的SSL证书。客户端收到证书后,便可以使用该证书的公钥对后续的通信内容进行加密,从而建立起一条安全的隧道。
This is the current core obfuscation technique in this proposal. Its principle is to exclude the server_name extension in the Client Hello message. When the GFW detects an encrypted connection request without a clear destination, it often allows it to pass to avoid disrupting legitimate traffic. The target server (our jump node) responds with its default SSL certificate. The client then uses the certificate’s public key to encrypt subsequent communications, establishing a secure tunnel.
Dedicated Proxy Tools: Use tools like Accesser or bypass-GFW-SNI/proxy, which can automatically intercept and modify the Client Hello message to remove the SNI field.
Client Development: In a custom client, use the utls library to manually construct a Client Hello without the server_name extension.
适用场景:跳板节点本身支持域前置(即配置了默认证书)。
Use Case: Jump nodes support domain fronting (i.e., configured with a default certificate).
技术二:SNI伪造 (SNI Spoofing/Faking)
Technique 2: SNI Spoofing
这是一种更主动的伪装技术。其原理是:不发送真实的SNI,而是发送一个GFW白名单内的、或无关的SNI。例如,当访问 discord.com 时,将SNI伪装成 baidu.com。
This is a more proactive obfuscation technique. Its principle is to send a fake SNI instead of the real one, such as a domain on the GFW whitelist or an unrelated domain. For example, when accessing discord.com, spoof the SNI as baidu.com.
这会将对 discord.com 的SNI请求映射为 baidu.com,并将 baidu.com 解析到一个可用的IP(如微软的IP)。由于证书不匹配,浏览器会显示安全警告。
This maps the SNI request for discord.com to baidu.com and resolves baidu.com to a functional IP (e.g., Microsoft’s). Due to certificate mismatch, the browser will show a security warning.
专用工具:使用 SNIBypassGUI 等图形化工具,它们可以简化SNI伪造的配置过程,降低使用门槛。
2. Dedicated Tools: Use GUI tools like SNIBypassGUI to simplify SNI spoofing configuration and lower the barrier to entry.
适用场景:目标服务器支持SNI,且GFW对伪装的SNI域名不进行阻断。常用于浏览器直连访问。
Use Case: The target server supports SNI, and the GFW does not block the spoofed domain. Commonly used for direct browser access.
技术三:ECH (Encrypted Client Hello)
Technique 3: ECH (Encrypted Client Hello)
这是目前最先进、最安全的规避技术。其原理是对整个 Client Hello 报文中的SNI字段进行加密。这意味着,即使GFW能够截获流量,也无法解密出用户想要访问的具体域名,从而在协议层面实现了完美的隐私保护。
This is currently the most advanced and secure bypass technique. Its principle is to encrypt the SNI field within the entire Client Hello message. This means that even if the GFW intercepts the traffic, it cannot decrypt the intended domain, achieving perfect privacy at the protocol level.
“空SNI”和“SNI伪造”都是在现有协议框架下的“技巧性”规避,而 ECH 是IETF(互联网工程任务组)制定的正式标准,代表着未来的发展方向。
“Empty SNI” and “SNI Spoofing” are “trick-based” circumventions within the existing protocol framework, whereas ECH is a formal standard by the IETF (Internet Engineering Task Force), representing the future direction.
根据 https://geneva.cs.umd.edu/zh/posts/china-censors-esni/esni/ 的研究,尽管GFW有能力干扰ECH连接,但其部署成本高,且容易误伤正常流量,因此目前对ECH的干扰并不普遍。
According to research from https://geneva.cs.umd.edu/zh/posts/china-censors-esni/esni/, although the GFW has the capability to interfere with ECH connections, the deployment cost is high and risks disrupting legitimate traffic, so interference with ECH is currently uncommon.
实现路径:
Implementation Path:
客户端:使用支持ECH的网络库(如 utls)来构造加密的 Client Hello。
Client: Use ECH-capable libraries (e.g., utls) to construct encrypted Client Hello.
Server Side: The target site must be hosted on an ECH-supporting CDN (e.g., Cloudflare). Test support at https://www.cloudflare-cn.com/ssl/encrypted-sni/#results.
Browser: Enable --enable-features=EncryptedClientHello in browsers like Edge.
一旦ECH部署成功,系统将从根本上规避SNI阻断,安全性将得到质的飞跃。
Once ECH is successfully deployed, the system will fundamentally bypass SNI blocking, achieving a qualitative leap in security.
实现细节
Implementation Details
实现空SNI和SNI伪造技术的关键在于客户端的开发。必须使用能够精细控制TLS握手过程的低级网络库,例如Go语言的 utls 库或C语言的 curl-impersonate 库。这些库允许开发者手动构造每一个TLS报文,从而精确地移除或修改 server_name 扩展。标准的浏览器或操作系统TLS库通常会自动填充SNI,因此无法满足此需求。
The key to implementing Empty SNI and SNI Spoofing lies in client development. Low-level networking libraries that allow fine-grained control over the TLS handshake—such as Go’s utls or C’s curl-impersonate—must be used. These libraries enable developers to manually construct TLS messages, precisely removing or modifying the server_name extension. Standard browser or OS TLS libraries automatically populate SNI, making them unsuitable for this purpose.
Chinese Nodes (10+): Deploy VPS instances across multiple Tier-1 cities in mainland China (e.g., Shanghai, Beijing, Guangzhou). The primary advantage of these nodes is extremely low network latency, providing users with an optimal initial connection experience. Additionally, the multi-node deployment ensures that if network fluctuations or IP blocks occur in one city, nodes in other cities can continue to operate normally.
Overseas Nodes (10+): Deploy nodes in Asia (Japan, Singapore), Europe (Germany, Netherlands), and North America (USA). These nodes serve as backup entry points, enabling seamless failover when domestic Chinese connections face severe interference, ensuring global accessibility of the system.
软件栈多样化
Software Stack Diversification
为了避免所有跳板节点使用相同的软件栈而形成可被识别的“集群指纹”,我们采用多样化的部署策略:
To prevent all jump nodes from forming a recognizable “cluster fingerprint” due to identical software stacks, we employ a diversified deployment strategy:
Chinese Nodes: Primarily use Nginx as the reverse proxy due to its high adoption rate in the Chinese community, making its behavioral characteristics more similar to ordinary websites. Additionally, some nodes use the Caddy server to increase software stack diversity.
海外节点:主要使用 Caddy 或 Apache,避免与国内节点的软件栈完全重合。
Overseas Nodes: Primarily use Caddy or Apache, avoiding complete overlap with the software stacks used by domestic nodes.
安全配置
Security Configuration
所有跳板节点的配置都必须支持域前置:
All jump node configurations must support domain fronting:
Default SSL Certificate: Configure each server with a valid default SSL certificate (this can be a Let’s Encrypt certificate for any domain, or even a self-signed certificate). When an empty SNI Client Hello is received, the server will return this default certificate.
Diversified Certificate Sources: Obtain certificates from multiple different Certificate Authorities (CAs) such as Let’s Encrypt and ZeroSSL, avoiding the use of certificates from a single CA across all nodes.
Diversified TLS Configuration: Configure different cipher suites (ssl_ciphers) and protocol versions (ssl_protocols) for different nodes. For example, some nodes enable TLS 1.3, while others support only up to TLS 1.2. This differentiated configuration makes the “fingerprint” of each node unique, making it difficult for the system to be classified as a unified proxy network.
4. 客户端行为伪装
4. Client Behavior Obfuscation
为了让系统流量在行为层面也达到“以假乱真”的效果,必须对客户端的每一个行为进行深度伪装。
To make the system’s traffic appear “indistinguishable from legitimate traffic” at the behavioral level, every client action must be deeply obfuscated.
4.1 随机延迟
4.1 Randomized Delay
真实用户在浏览网页时,其操作是不规律的,包含思考、阅读、点击等环节。而自动化系统往往表现出极高的连接频率和规律性,这是被行为分析系统识别的关键特征。为此,我们在每次建立新连接前,引入一个随机的延迟。
Real users browse the web with irregular patterns, including thinking, reading, and clicking. Automated systems, however, often exhibit high connection frequency and regularity, a key characteristic detectable by behavioral analysis systems. To counter this, we introduce a randomized delay before establishing each new connection.
Duration: 0-1 second. This range precisely simulates the thinking, scrolling, and clicking intervals of real users browsing the web. Modern users operate quickly, and a delay within 1 second is entirely consistent with human behavior. It effectively breaks the pattern of automated requests while minimizing perceived latency, greatly enhancing the browsing experience.
实现:在客户端代码中,使用随机函数生成一个0到1秒之间的浮点数,并在发起网络请求前暂停相应的时间。
Implementation: In the client code, use a random function to generate a floating-point number between 0 and 1 second, and pause for that duration before initiating a network request.
Python
import time
import random
time.sleep(random.uniform(0, 1)) # 优化为0-1秒
make_request()
Python
import time
import random
time.sleep(random.uniform(0, 1)) # Optimized to 0-1 seconds
make_request()
【增强建议】区分场景的延迟策略[Enhancement Suggestion] Context-Aware Delay Strategy
0-1秒的延迟是系统延迟的主要来源,对实时应用仍有影响。建议实现场景化延迟策略:
The 0-1 second delay is the primary source of system latency and still impacts real-time applications. It is recommended to implement a context-aware delay strategy:
高风险场景(登录、支付):启用完整的 0-1秒 延迟。
High-Risk Scenarios (login, payment): Enable the full 0-1 second delay.
低风险场景(浏览公开网页):可缩短至 0-0.5秒 或关闭。
Low-Risk Scenarios (browsing public web pages): Reduce to 0-0.5 seconds or disable.
直连场景(国内网站):完全绕过,延迟为0。
Direct Connection Scenarios (domestic websites): Completely bypass, delay is 0.
4.2 长连接与会话复用
4.2 Long Connections and Session Reuse
真实用户通常会保持一个浏览器标签页长时间打开,而代理连接往往是短暂的、一次性的。这种“用完即走”的模式非常可疑。
Real users typically keep a browser tab open for extended periods, whereas proxy connections are often short-lived and one-time. This “use-and-leave” pattern is highly suspicious.
Long Connection: After startup, the client establishes a long-lived, low-bandwidth heartbeat connection with a randomly selected jump node. This connection remains active, sending an empty HTTP request every minute to keep the connection alive.
Session Reuse: On top of the long connection, enable TLS session resumption. This avoids frequent full TLS handshakes within the same session, reducing the number of handshake messages and lowering the risk of being flagged by behavioral analysis systems.
4.3 TLS指纹伪装
4.3 TLS Fingerprint Spoofing
即使使用了空SNI,客户端发出的 Client Hello 报文本身也携带了丰富的“指纹”信息,如加密套件列表、扩展顺序、TLS版本等。不同的软件(Chrome, Firefox, Curl)发出的报文结构各不相同,形成了独特的“指纹”。
Even with empty SNI, the Client Hello message sent by the client carries rich “fingerprint” information, such as the cipher suite list, extension order, and TLS version. Different software (Chrome, Firefox, Curl) produce messages with distinct structures, forming unique “fingerprints.”
工具:使用 utls (Go) 库,它允许开发者完全自定义TLS握手包的每一个字节。
Tool: Use the utls (Go) library, which allows developers to fully customize every byte of the TLS handshake packet.
Strategy: Instead of mimicking a single browser, maintain a list of fingerprints from multiple mainstream browsers (e.g., Chrome 120, Chrome 125, Edge 125, Safari 17). Each time the client needs to establish a new connection, randomly select a fingerprint from the list to spoof.
Effect: From the GFW’s perspective, your traffic no longer originates from a single “proxy software,” but from a diverse network of ordinary users using various browsers and versions, achieving maximum stealth.
【增强建议】客户端选择[Enhancement Suggestion] Client Selection
建议基于 Clash Meta 开发或配置客户端。Clash Meta 支持 client-fingerprint 功能,能直接实现TLS指纹伪装,且社区活跃,更新及时,远胜于从零开发。
It is recommended to develop or configure the client based on Clash Meta. Clash Meta supports the client-fingerprint feature, enabling direct TLS fingerprint spoofing. Its active community and timely updates make it far superior to building from scratch.
5. 商业中继网络
5. Commercial Relay Network
5.1 Oxylabs Web Unblocker API
5.1 Oxylabs Web Unblocker API
Oxylabs是业界公认的顶级代理服务提供商,其 Web Unblocker API 是本方案的核心中继。
Oxylabs is a widely recognized top-tier proxy service provider, and its Web Unblocker API is the core relay in this proposal.
Advantages: This is an AI-driven “anti-blocking” API. It can not only automatically handle complex challenges like CAPTCHAs and JavaScript rendering but also intelligently select the most suitable proxy IP and access strategy. It is backed by a vast network of 175 million real residential IPs, covering 195 countries.
集成:通过其提供的简单Python代码即可轻松集成。
Integration: Can be easily integrated using the simple Python code they provide.
Python
【增强建议】依赖风险与降级策略[Enhancement Suggestion] Dependency Risk and Fallback Strategy
商业服务存在被封锁或API变更的风险。建议增加服务可用性监控与自动降级:
Commercial services carry risks of being blocked or having their API changed. It is recommended to add service availability monitoring and automatic fallback:
当Oxylabs不可用时,自动切换到备用的Smartproxy。
When Oxylabs is unavailable, automatically switch to the backup Smartproxy.
再次降级,可切换到自建的V2Ray节点作为保底。
If that fails, fall back to a self-hosted V2Ray node as a last resort.
5.2 Smartproxy Datacenter Proxies
5.2 Smartproxy Datacenter Proxies
Smartproxy作为Oxylabs的有力补充,提供高性价比的数据中心代理服务。
Smartproxy serves as a powerful complement to Oxylabs, offering high-cost-performance datacenter proxy services.
角色:作为备用中继,用于访问反爬要求不高的常规目标,或在Oxylabs服务出现波动时提供冗余。
Role: Serve as a backup relay for accessing regular targets with less stringent anti-bot requirements, or provide redundancy when the Oxylabs service experiences fluctuations.
Advantages: Datacenter proxies typically offer extremely high speed and stability, with good cost-effectiveness, making them ideal for handling large-scale data collection tasks where high anonymity is not required.
This is the cornerstone of system stability. The orchestration server scans all jump nodes at a high frequency (e.g., every 5 minutes): 1. Port Connectivity: Test if port 443 is open. 2. Empty SNI Handshake Test: Simulate a client by sending an empty SNI Client Hello to verify if the server correctly returns a certificate. 3. Proxy Connectivity Test: Use the node as a proxy to access an external target (e.g., ip.oxylabs.io) to verify its availability as a relay.
This is a key optimization for improving user experience. The orchestration server periodically (e.g., every 10 minutes) checks the accessibility of a batch of common domestic websites (e.g., baidu.com, taobao.com). If a website is found to be accessible without a proxy, its traffic rule in the generated client configuration is set to DIRECT, bypassing all proxy nodes and providing the user with the fastest possible access speed.
This is the core intelligent decision-making function of the orchestration server: • Prioritize Idle Nodes: Avoid overloading a single node. • Idle Judgment: Define “busy” as having a new connection within the last 5 seconds, ensuring load balancing. • Fast Availability Check: Perform a real-time, lightweight availability check on candidate nodes when a user requests configuration, ensuring the node returned to the user is 100% available.
Dynamically generate and provide a dedicated config.yml file for each client via a secure RESTful API. Clients obtain their configuration through this API, ensuring real-time updates and security.
This is the core feature of v7.0. After the orchestration server receives an access request from a client: 1. Command Generation: Generate a command packet containing the target address and an encrypted token. 2. Tunnel Initiation: Instruct the overseas jump node (A) to initiate an HTTPS request to the domestic jump node (B), carrying a whitelisted SNI (e.g., baidu.com). 3. Command Delivery: The command is passed to the domestic jump node (B) via the request path or an HTTP header. 4. Data Return: Coordinate the domestic jump node (B) to obfuscate the retrieved data as an HTTPS response and send it back through the established reverse tunnel.
6.2 工作流程
6.2 Workflow
标准模式工作流程
Standard Mode Workflow
持续监控:调度服务器像一个永不疲倦的哨兵,持续不断地对所有跳板节点和国内网站进行健康检查。
Continuous Monitoring: The orchestration server, like an indefatigable sentinel, continuously performs health checks on all jump nodes and domestic websites.
客户端请求:当用户启动客户端时,客户端会向调度服务器的API发起一个“获取配置”的请求。
Client Request: When the user starts the client, it sends a “get configuration” request to the orchestration server’s API.
Intelligent Decision: Upon receiving the request, the orchestration server immediately selects an optimal jump node from all healthy nodes based on the “idle-first” and “fast check” strategies, using the latest health data.
Generate Configuration: The orchestration server generates a new config.yml file containing the selected jump node information and the latest domestic direct access rules.
分发与执行:调度服务器将生成的配置文件返回给客户端。客户端使用此配置文件,开始其网络访问之旅。
Distribution and Execution: The orchestration server returns the generated configuration file to the client. The client then uses this file to begin its network access journey.
【增强建议】引入“实时按需探测”机制[Enhancement Suggestion] Introduce “Real-Time On-Demand Probing” Mechanism
为了进一步提升响应速度,建议在客户端层面增加实时按需探测功能:
To further improve response speed, it is recommended to add real-time on-demand probing functionality at the client level:
触发时机:当客户端需要访问一个未在缓存直连规则中的新域名时。
Trigger Condition: When the client needs to access a new domain not in the cached direct access rules.
探测方法:发起一次轻量级的HTTP(S)请求(如HEAD请求),并设置超时时间(如3秒)。
Probing Method: Initiate a lightweight HTTP(S) request (e.g., a HEAD request) with a timeout (e.g., 3 seconds).
判断逻辑:如果请求成功(收到200, 301, 302等状态码),则判定该网站可直连。
Judgment Logic: If the request succeeds (receiving status codes like 200, 301, 302), the website is deemed accessible via direct connection.
缓存机制:将探测结果缓存一段时间(如30分钟),避免重复探测。
Caching Mechanism: Cache the probing result for a period (e.g., 30 minutes) to avoid redundant probes.
此优化与调度服务器的定时检测形成互补,确保用户在任何时刻都能获得最优的访问路径。
This optimization complements the orchestration server’s periodic checks, ensuring users always get the optimal access path.
【v7.0新增】入境拉取代理技术模式工作流程
[v7.0 New] Inbound Pull Mode Workflow
客户端请求:用户在客户端选择“入境拉取代理技术模式”并输入目标网址。
Client Request: The user selects “Inbound Pull Mode” in the client and inputs the target URL.
云端调度:客户端将请求发送给云端服务器。
Cloud Orchestration: The client sends the request to the cloud server.
境外主动发起:云端服务器指令一个海外跳板(A),主动向一个国内跳板(B)发起HTTPS连接。
Overseas Initiation: The cloud server instructs an overseas jump node (A) to actively initiate an HTTPS connection to a domestic jump node (B).
境内代理执行:国内跳板(B)解析指令,通过商业中继网络访问目标网站。
Domestic Proxy Execution: The domestic jump node (B) parses the command and accesses the target website through the commercial relay network.
Reverse Data Transmission: The domestic jump node (B) encapsulates the result data into an HTTPS response to the overseas jump node (A), sending it back along the “overseas → domestic” connection path.
数据交付:海外跳板(A)将数据发回云端服务器,最终送达客户端。
Data Delivery: The overseas jump node (A) sends the data back to the cloud server, which finally delivers it to the client.
7. 系统延迟分析与性能优化
7. System Latency Analysis and Performance Optimization
Inbound Pull Mode: Approximately 500ms - 3 seconds. Due to the longer path (client → cloud → overseas jump → domestic jump → target → … → client) and the need to establish and maintain the Inbound Pull connection, latency is significantly increased.
7.2 对不同应用场景的影响
7.2 Impact on Different Application Scenarios
网页浏览/社交媒体:
Web Browsing / Social Media:
标准模式:体验良好,0-1秒的随机延迟与真实用户行为高度吻合。
Standard Mode: Good experience; the 0-1 second random delay closely matches real user behavior.
Daily Browsing, Speed-Priority Scenarios: Use “Standard Mode”.
实时应用:使用独立的、低延迟的代理通道或直连。
Real-time Applications: Use a separate, low-latency proxy channel or direct connection.
8. 总结与展望
8. Summary and Outlook
本方案 (v7.0) 在v5.0的基础上实现了质的飞跃。通过引入“入境拉取代理技术”模式,系统不再仅仅是“规避”审查,而是从根本上“欺骗”审查系统,将流量伪装成合法的“境外访问境内”请求。这一创新使得系统在GFW的监控视角下近乎“隐形”。
This proposal (v7.0) represents a qualitative leap from v5.0. By introducing the “Inbound Pull” mode, the system moves beyond merely “evading” censorship to fundamentally “deceiving” the censoring system, disguising traffic as a legitimate “foreign accessing domestic” request. This innovation makes the system nearly “invisible” from the GFW’s monitoring perspective.
核心价值在于其无与伦比的隐蔽性,特别适用于对审查规避要求达到极致的场景。
The core value lies in its unparalleled stealthiness, making it especially suitable for scenarios requiring the highest level of censorship evasion.
主要代价是“入境拉取代理技术模式”带来的高延迟,使其不适用于对实时性要求高的应用。
The main trade-off is the high latency introduced by the “Inbound Pull mode,” making it unsuitable for applications with high real-time requirements.
未来展望:
Future Outlook:
完善规避策略库:持续集成和测试Geneva等研究发现的新型规避策略。
Enhance the Bypass Strategy Library: Continuously integrate and test new bypass strategies discovered by research (e.g., Geneva).
Automated Mode Switching: Allow the cloud orchestration server to automatically select the optimal proxy mode (standard or Inbound Pull mode) based on the target website, network conditions, and censorship intensity.
探索协议层创新:研究将入境拉取代理技术概念与QUIC等新协议结合的可能性。
Explore Protocol-Level Innovation: Research the possibility of combining the Inbound Pull concept with new protocols like QUIC.
通过结合 多模式代理、智能分流 和 动态规避策略,v7.0系统构建了一个立体化、多层次的网络隐身体系,代表了当前自建代理系统设计的前沿水平。
By combining multi-mode proxying, intelligent traffic splitting, and dynamic bypass strategies, the v7.0 system constructs a three-dimensional, multi-layered network invisibility framework, representing the cutting edge of current self-hosted proxy system design.
“空SNI”和“SNI伪造”都是在现有协议框架下的“技巧性”规避,而 ECH 是IETF(互联网工程任务组)制定的正式标准,代表着未来的发展方向。
“Empty SNI” and “SNI Spoofing” are “trick-based” circumventions within the existing protocol framework, whereas ECH is a formal standard by the IETF (Internet Engineering Task Force), representing the future direction.
根据 https://geneva.cs.umd.edu/zh/posts/china-censors-esni/esni/ 的研究,尽管GFW有能力干扰ECH连接,但其部署成本高,且容易误伤正常流量,因此目前对ECH的干扰并不普遍。
According to research from https://geneva.cs.umd.edu/zh/posts/china-censors-esni/esni/, although the GFW has the capability to interfere with ECH connections, the deployment cost is high and risks disrupting legitimate traffic, so interference with ECH is currently uncommon.
实现路径:
Implementation Path:
客户端:使用支持ECH的网络库(如 utls)来构造加密的 Client Hello。
Client: Use ECH-capable libraries (e.g., utls) to construct encrypted Client Hello.
Server Side: The target site must be hosted on an ECH-supporting CDN (e.g., Cloudflare). Test support at https://www.cloudflare-cn.com/ssl/encrypted-sni/#results.
Browser: Enable --enable-features=EncryptedClientHello in browsers like Edge.
一旦ECH部署成功,系统将从根本上规避SNI阻断,安全性将得到质的飞跃。
Once ECH is successfully deployed, the system will fundamentally bypass SNI blocking, achieving a qualitative leap in security.
【2025年8月28日12:25新增内容】基于最新研究的深度分析与高级规避策略[Added on Aug 28, 2025, 12:25] In-Depth Analysis and Advanced Bypass Strategies Based on Latest Research
根据 https://geneva.cs.umd.edu/zh/posts/china-censors-esni/esni/ 的实证研究,GFW对加密SNI的审查机制已被精确识别,这为我们的系统设计提供了宝贵的优化方向。
According to empirical research from https://geneva.cs.umd.edu/zh/posts/china-censors-esni/esni/, the GFW’s censorship mechanism for encrypted SNI has been precisely identified, providing valuable optimization directions for our system design.
关键发现:
Key Findings:
Blocking Mechanism Clarified: The GFW blocks ESNI connections by dropping packets from the client to the server, triggered by detecting the specific extension identifier 0xffce in the TLS Client Hello message.
New Standard as a Breakthrough: The research confirms that handshake requests using the new ECH standard’s extension values (0xff02, 0xff03, 0xff04) do not trigger GFW blocking. This is a crucial bypassing opportunity.
Existence of Advanced Bypass Techniques: The research team, using a genetic algorithm (Geneva), discovered multiple effective bypass techniques, proving that the GFW’s censorship is not foolproof.
高级实现与优化建议:
Advanced Implementation and Optimization Suggestions:
Adopt New Extension Values: When implementing ECH, prioritize configuring the client to use new extension values like 0xff02 instead of the old 0xffce, to directly bypass fingerprint-based blocking.
探索协议层规避:可研究将Geneva发现的策略集成到客户端,作为ECH的补充或降级方案。例如:
Explore Protocol-Level Bypass: Research integrating the strategies discovered by Geneva into the client as a supplement or fallback to ECH. For example:
四字节分割:将TLS Client Hello 的前4个字节单独发送,利用GFW的TCP重组缺陷。
Four-Byte Splitting: Send the first 4 bytes of the TLS Client Hello separately, exploiting the GFW’s TCP reassembly flaw.
TCB Teardown:注入一个校验和错误的 RST 包,欺骗GFW使其认为连接已中断。
TCB Teardown: Inject an RST packet with an incorrect checksum to deceive the GFW into believing the connection has been terminated.
三重SYN:发送三个 SYN 包,扰乱GFW的连接状态跟踪。
Triple SYN: Send three SYN packets to disrupt the GFW’s connection state tracking.
Strategic Significance: The GFW’s censorship relies on static rules. Our system should be designed to support a variety of dynamic bypass techniques, forming a “bypass strategy library.” The cloud orchestration server should dynamically push the optimal strategy to the client based on real-time detection results, enabling continuous resistance against censorship mechanisms.
9.安全建议:
9.Security Suggestions:
“蜜罐伪装”是第一道防线:
“Honey Pot Camouflage” is the First Line of Defense:
Your goal is to make the server appear, for the vast majority of the time, as an ordinary, harmless website. When the GFW’s automated scanning programs (crawlers) probe it, they will only see a static blog page, greatly reducing the likelihood of it being flagged as a “high-risk proxy node.”
Key Point: This “camouflage website” must be sufficiently realistic. A “personal blog” with only a homepage, no content, and no visitors will instead appear suspicious. You can consider:
部署一个真实的博客CMS(如WordPress),并定期发布一些无关紧要的内容。
Deploy a real blog CMS (e.g., WordPress) and regularly publish some trivial content.
使用robots.txt和sitemap.xml来模仿真实网站。
Use robots.txt and sitemap.xml to mimic a real website.
记录一些伪造的访问日志,模拟正常流量。
Record some forged access logs to simulate normal traffic.
“自毁开关”是最后的保险:
2. “Self-Destruct Switch” is the Last Resort:
Even with “honey pot” camouflage, there’s no 100% guarantee of not being discovered. If an attacker successfully logs into your server through some means (e.g., a 0day vulnerability), the “self-destruct switch” is your final recourse.
Specific HTTP Request: Access an extremely obscure URL path that normal users would never visit (e.g., /.well-known/secret-kill-switch); upon receiving this request, the server immediately executes a cleanup script.
特定的SSH命令:在SSH登录后,执行一个只有你知道的、看起来像乱码的命令。
Specific SSH Command: After logging in via SSH, execute a command that only you know, which looks like gibberish.
Scheduled Heartbeat: Your orchestration server periodically sends a “heartbeat” to the domestic jump node. If it fails to receive a response for N consecutive times, it can automatically trigger a remote self-destruct command (but this requires a secure channel independent of the main system, making implementation complex).
一个更现实的“自毁”策略
A More Realistic “Self-Destruct” Strategy
完全的“格式化系统”虽然彻底,但可能过于极端,而且一旦触发就无法挽回。一个更优雅的策略是分层销毁:
Completely “formatting the system” is thorough, but may be too extreme and irreversible once triggered. A more elegant strategy is layered destruction:
第一级:清除敏感数据(立即执行)
First Level: Clear Sensitive Data (Execute Immediately)
删除所有与代理系统相关的配置文件、日志文件、源代码。
Delete all configuration files, log files, and source code related to the proxy system.
清除内存中的敏感信息。
Clear sensitive information from memory.
这可以让你的核心架构和调度信息不被泄露。
This prevents your core architecture and orchestration information from being leaked.
第二级:伪装成系统故障(可选)
2. Second Level: Simulate System Failure (Optional)
不要立刻让服务器宕机。可以修改Web服务器配置,让它返回503 Service Unavailable或404 Not Found。
Do not immediately shut down the server. Instead, modify the web server configuration to return 503 Service Unavailable or 404 Not Found.
这样看起来像是服务器出了问题,而不是被人为销毁,可以避免引起更大的怀疑。
This makes it appear as if the server has failed, rather than being deliberately destroyed, avoiding greater suspicion.
第三级:物理隔离(终极手段)
3. Third Level: Physical Isolation (Ultimate Measure)
如果情况危急,最终可以通过API调用VPS提供商的接口,直接删除整个虚拟机实例。
In a critical situation, ultimately use an API call to the VPS provider’s interface to directly delete the entire virtual machine instance.
如何判断一个节点是否已经被“入侵”?How to Determine if a Node Has Been “Compromised”?
这不仅仅是简单的“检测”,而是一个需要多维度、持续监控的复杂过程。我们可以从以下几个层面来构建一个“入侵检测与响应”(IDS/IR)系统:
This is not just simple “detection,” but a complex process requiring multi-dimensional, continuous monitoring. We can build an “Intrusion Detection and Response” (IDS/IR) system from the following levels:
1. 行为异常检测 (Behavioral Anomaly Detection)
1. Behavioral Anomaly Detection
这是最直接、也是最有效的手段。一个被入侵的服务器,其行为模式会与正常状态有显著差异。
This is the most direct and effective method. A compromised server will exhibit significantly different behavioral patterns from its normal state.
CPU/内存使用率飙升:
CPU/Memory Usage Spike:
正常:作为跳板节点,它会处理大量请求,但负载应该是平稳或周期性的。
Normal: As a jump node, it handles a large number of requests, but the load should be stable or periodic.
Abnormal: If CPU or memory usage suddenly reaches over 95% during non-peak hours and remains high, it is highly likely that an attacker is running mining software, DDoS tools, or other malware.
网络流量突变:
Network Traffic Anomalies:
正常:流量主要集中在443端口,且方向是“境外→境内”的反向隧道。
Normal: Traffic is primarily concentrated on port 443, with the direction being “overseas → domestic” reverse tunnel.
异常:
Abnormal:
新端口开放:突然出现80、22、21等端口的大量连接,尤其是来自未知IP的连接。
New Ports Opened: Sudden appearance of massive connections on ports like 80, 22, 21, especially from unknown IPs.
Outbound Traffic Surge: Although your system has outbound traffic (returning data), if total outbound traffic far exceeds inbound traffic, or there is a large amount of UDP broadcast packets, it is likely being used to launch a DDoS attack.
非预期协议:开始传输FTP、SSH、Telnet等非HTTP/HTTPS的协议。
Non-Expected Protocols: Transmission of non-HTTP/HTTPS protocols such as FTP, SSH, Telnet.
日志文件异常:
Log File Anomalies:
正常:Nginx/Apache的日志记录的是正常的代理请求。
Normal: Nginx/Apache logs record normal proxy requests.
异常:
Abnormal:
大量失败登录尝试:/var/log/auth.log 或 secure 日志中出现成百上千条 Failed password for root 的记录,这是典型的暴力破解攻击。
Massive Failed Login Attempts: Hundreds or thousands of Failed password for root records in /var/log/auth.log or secure logs, indicating a typical brute-force attack.
可疑的命令执行:/var/log/syslog 中出现 su, sudo, wget, curl, nc, python 等命令的调用,特别是这些命令被执行后没有立即退出,而是长时间运行。
Suspicious Command Execution: Calls to commands like su, sudo, wget, curl, nc, python in /var/log/syslog, especially if these commands run for a long time after execution.
In your “decoy website,” create virtual, seemingly important files or directories (e.g., /admin/config.php, /backup/secret.db). These files are actually empty or contain a special marker.
如果有人试图访问这些文件,你的监控脚本就应该立刻触发警报。
If someone attempts to access these files, your monitoring script should immediately trigger an alarm.
利用“自毁开关”进行验证:
Use the “Self-Destruct Switch” for Validation:
你可以编写一个测试脚本,模拟“入侵者”的行为,比如尝试写入一个特定的文件或执行一个特定的命令。
You can write a test script to simulate “intruder” behavior, such as trying to write a specific file or execute a specific command.
Then, observe if your “self-destruct switch” correctly detects this “intrusion” and executes the cleanup. This is equivalent to a stress test of your defense mechanism.
如何“判断”?
How to “Determine”?
综合以上几点,你可以建立一个判断流程:
Based on the above points, you can establish a judgment process:
Daily Monitoring: Use tools like iftop, vnstat, nmon to continuously monitor the server’s network and resource usage. Save this data to establish a baseline.
定期审计:每周或每月手动运行一次 find, ps, crontab 等命令,检查文件和进程。
2. Regular Audits: Manually run commands like find, ps, crontab weekly or monthly to check files and processes.
实时告警:将 fail2ban 等工具部署在服务器上,当检测到多次失败登录时自动封禁IP。
3. Real-time Alerts: Deploy tools like fail2ban on the server to automatically block IPs when multiple failed login attempts are detected.
最终确认:当发现任何异常迹象时,不要犹豫,立即执行“自毁开关”。这是最保险的做法。因为一旦确认被入侵,你的服务器就已经不再安全,任何试图“修复”它的行为都可能让攻击者获取更多权限。
4. Final Confirmation: When any abnormal signs are detected, do not hesitate, immediately execute the “self-destruct switch”. This is the safest approach. Because once a compromise is confirmed, your server is no longer secure, and any attempt to “repair” it may give the attacker more privileges.
漏洞与弱点
Vulnerabilities & Weaknesses
1. “入境拉取代理技术”的核心逻辑漏洞
1. Core Logical Vulnerability of the “Inbound Pull Proxy” Technique
这是该方案最核心的创新,也是其最大的潜在弱点。
This is the most central innovation of the scheme, and also its greatest potential weakness.
Reliance on the “Legitimacy” of Commercial Relay Networks:
The model requires node B to access targets via commercial relay networks (e.g., Oxylabs). If the GFW has already blacklisted Oxylabs’ IP ranges or its traffic patterns (e.g., User-Agent, connection behavior), node B’s outbound requests will be blocked, causing the entire “inbound pull” chain to fail. This makes the stability of the “inbound pull” mode entirely dependent on the anti-censorship capability of downstream commercial services.
基本的解决方法:随机服务器+返回看似的正常网页同时夹杂着流量包(弊端:速度慢)
Basic mitigation: Use random servers and return seemingly normal web pages while embedding traffic packets (drawback: slow speed)
Reliance on the “Legitimacy” of Commercial Relay Networks:
The model requires domestic node B to access targets via commercial relay networks (e.g., Oxylabs). If the GFW has already blacklisted Oxylabs’ IP ranges or its traffic characteristics (e.g., User-Agent, connection patterns), node B’s outbound requests will be blocked, causing the entire “inbound pull” chain to fail. This makes the stability of the “inbound pull” mode entirely dependent on the anti-censorship capability of downstream commercial services.
基本的解决方法:不用,直接用自己的(有多个弊端,包括但不限于维护陈本大,多个用户挤在同一ip速度慢且容易封号)
Basic mitigation: Don’t use them—run your own (but this has multiple drawbacks, including high maintenance cost, slow speeds due to multiple users sharing one IP, and easy IP banning).
2. SNI绕过技术的局限性与演进风险
2. Limitations and Evolution Risks of SNI Bypass Techniques
文档提出的三种SNI绕过技术都存在固有缺陷。
The three SNI bypass techniques proposed in the document all have inherent flaws.
Fingerprinting: Although no SNI is sent, other fields in the Client Hello message (e.g., cipher suite order, TLS extensions) form a unique “TLS fingerprint.” The GFW can build a fingerprint database of “empty SNI connections” and block all connections sharing the same fingerprint—likely from the same proxy tool.
Reliance on Domain Fronting: This technique requires the server to have a default certificate configured. If scanning reveals that the default certificate is unrelated to the domain, or if no default certificate exists, the method fails.
Certificate Mismatch: As noted in the document, browsers will display security warnings—a direct exposure risk. Advanced censorship systems may detect and block connections where the SNI does not match the certificate’s Common Name (CN).
Whitelist Domain Pollution: The GFW can more closely monitor “whitelist” domains used for spoofing (e.g., baidu.com). If an IP is observed frequently using baidu.com’s SNI but connecting to non-Baidu IPs, it can be flagged as spoofed and blocked.
A Vulnerability Noted but Underemphasized: The document mentions the GFW’s ability to interfere with ECH but considers it uncommon. However, critical recent research (Geneva) shows that the GFW blocks ESNI/ECH by detecting the specific extension ID 0xffce in the Client Hello. While new standards (0xff02, 0xff03, 0xff04) are currently effective, this is a “cat-and-mouse” game. The GFW can update its DPI rules at any time to blacklist new extension IDs. Relying on a single protocol feature is highly risky.
基本解决方法:每次链接随机使用一种规避方法(单个服务器只有一种防止发现异常),与时俱进
Basic mitigation: Randomly use a different bypass method per connection (each server uses only one method to avoid anomalies), and stay up-to-date with evolving techniques.
3. 系统架构的单点故障与外部依赖
3. Single Point of Failure and External Dependencies in System Architecture
该系统高度依赖外部商业服务,这是其最大的系统性风险。
This system is highly dependent on external commercial services, which is its greatest systemic risk.
Commercial Relay Networks (Oxylabs/Smartproxy) Are Fatal Weaknesses:
Service Blocked: The IP pools of these commercial proxy services are public or semi-public. The GFW can continuously scan and block their IP ranges, rendering the service ineffective within China.
API Changes or Account Bans: These service providers’ terms of service usually prohibit use for circumventing censorship. Once suspicious traffic patterns are detected, they may directly ban accounts or change APIs, causing the system to instantly collapse.
Cost and Sustainability: As stated in the “Vulnerabilities and Weaknesses” section at the end of the document, long-term use of these services is extremely costly and unsustainable.
基本的解决方法:不用,直接用自己的(有多个弊端,包括但不限于维护陈本大,多个用户挤在同一ip速度慢且容易封号)
Basic mitigation: Don’t use them—run your own (but this has multiple drawbacks, including high maintenance cost, slow speeds due to multiple users sharing one IP, and easy IP banning).
Cloud Orchestration Server Is a Single Point of Failure:
If the cloud orchestration server (used for health checks, configuration distribution, and inbound pull coordination) is blocked by the GFW or its IP is poisoned, all clients will be unable to retrieve configurations, and the entire system will immediately fail.
基本解决方法:定期备份,使用多个数据库定期同步,使用多个备用服务器,一旦发现服务器故障等立即切换
Basic mitigation: Regular backups, multiple databases synchronized regularly, multiple backup servers, and immediate switching upon detection of server failure.
Pattern in Random Delays: Although 0–1 second random delays are introduced, for automated systems, the statistical distribution (e.g., uniform) may differ from real human behavior (which often follows a normal or long-tail distribution), making it detectable by advanced behavioral analysis.
Non-Standard Clients: Custom clients implemented using tools like the utls library may exhibit subtle network behavior differences from standard browsers, which fingerprinting techniques can detect.
解决方法同第一,二条
Mitigations are the same as those in points 1 and 2
Static Content Lacks Interaction: A “honeypot” with only static blog content is easily identified by automated crawlers as a “zombie site” or “low-quality page.” Truly active sites have comments, dynamic content, and API calls.
Lack of Real User Behavior: Even with forged logs, it’s impossible to simulate real user clickstreams, mouse movements, or page dwell times.
基本解决方法:设置服务器不定期随机维护页面,随机访问,评论页面等(或真实托管博客等)
Basic mitigation: Configure the server to randomly update pages, access them, and comment (or host a real blog).
5. “自毁开关”策略的现实悖论
5. The Practical Paradox of the “Self-Destruct Switch” Strategy
The Trigger Mechanism Itself Is a Backdoor:
Whether triggered by a specific HTTP request or SSH command, the trigger mechanism itself is a permanently existing backdoor. Once an attacker discovers it, they can trigger it first to extort or destroy.
Cannot Solve the Root Problem:
“Self-destruct” can only destroy evidence, but cannot prevent attackers from stealing data, installing persistent backdoors, or using the server for attacks during the window between intrusion and self-destruction.
解决方法:漏洞是修不完的,防君子不防小人(反正咱们也不是什么正人君子,咱们也是小人,就别指望人家是君子了)
Solution: Vulnerabilities are endless; it only deters gentlemen, not villains (and since we’re not gentlemen either, don’t expect others to be).
6. 经济模型与可扩展性的致命矛盾
6. The Fatal Contradiction Between Economic Model and Scalability
这是系统设计中一个根本性的、被严重低估的结构性问题。
This is a fundamental, severely underestimated structural issue in system design.
Core Issue:
The “inbound pull proxy” model and heavy reliance on commercial relay networks (Oxylabs) together constitute an extremely high-cost and non-shareable economic model.
Inbound Pull Model: Every user request consumes a full “overseas → domestic → commercial relay → target” chain. This means server and bandwidth costs grow linearly—more users, higher costs.
Reliance on Commercial Relays: Oxylabs’ residential IP service is billed per traffic or session, and is expensive. The requirement to “ensure final egress from a user-specified static residential IP” means each user needs a dedicated residential IP, further amplifying costs.
No Sharing Possible: Due to the highly customized path and user-specified egress IP, multiple users cannot share the same backend resources. The system is essentially a “one-user-one-dedicated-line” model, completely lacking economies of scale.
Unaffordable for Individuals: For a single user, long-term operation (especially with high usage) could cost hundreds or even thousands of dollars per month—far beyond most users’ budgets.
Non-Commercializable: The system cannot be offered as a service (e.g., SaaS) because costs cannot be amortized across users. Any commercialization attempt would fail due to high costs.
Maintainer Burnout: High costs will quickly deplete the maintainer’s funds and motivation, causing the system to collapse within months due to unpaid bills.
Basic Solution:
This is a systemic problem with no simple technical fix. Possible solutions involve redesigning the architecture, sacrificing some “high-security” features for scalability. For example:
Abandon “inbound pull” as primary mode: Use it only as an optional mode for “high-risk scenarios,” and revert to more efficient “standard mode” for daily use.
Share Egress IP Pool: Allow multiple users to share a residential IP pool through more complex scheduling and session management to avoid platform bans. But this increases the risk of correlation.
Find Lower-Cost Relay Solutions: Explore using self-built, distributed residential proxy networks (e.g., based on idle home broadband), but this greatly increases system complexity and maintenance difficulty.
7. “入境拉取”模式下的数据完整性与中间人攻击风险
7. Data Integrity and Man-in-the-Middle Attack Risks in the “Inbound Pull” Mode
该模式在设计上创造了一个新的、脆弱的信任链。
This mode creates a new, fragile trust chain by design.
Core Issue:
In “inbound pull” mode, the data flow path is: Target Website → Commercial Relay → Domestic Relay (B) → (Reverse Tunnel) → Overseas Relay (A) → Cloud → Client.
The key point is that Domestic Relay (B), located within the censored environment, plays a dual role as both a “data relay” and a “content encapsulator”.
Data Integrity Risk: When Domestic Relay (B) “disguises” data retrieved from the commercial relay into an HTTPS response, it has full capability to modify, eavesdrop, or inject content. For example, it can:
Inject malicious scripts (XSS) into returned web pages.
Replace the hash of a downloaded file to trick users into downloading malware.
Steal sensitive information (e.g., Cookies, Tokens) from HTTPS responses.
Trust Paradox: To circumvent censorship, users route traffic to a server within a censored environment for processing—this contradicts the very goal of “security.” If this node is compromised by an attacker or taken over by authorities, the confidentiality, integrity, and availability of the entire communication chain are completely lost.
A Threat More Dangerous Than the GFW: The greatest threat to users may no longer be GFW blocking, but active attacks from this supposedly “trusted” domestic relay node.
Unverifiable: The client cannot verify whether the data returned from the reverse tunnel matches the original data from the target website, because all traffic has been “re-encapsulated” by Domestic Relay (B).
Basic Solution:
This is an almost unsolvable problem because it stems from the architecture itself.
End-to-End Encryption (E2EE): The only mitigation is to require all target websites to use HTTPS and for clients to strictly validate certificates. However, this only ensures security between “client and target website,” not between “client and Domestic Relay (B)”. If Domestic Relay (B) is compromised, it can still tamper with data after decryption and before re-encryption.
Abandon the Mode: From a security standpoint, the most thorough solution is to recognize that the “inbound pull” mode is fundamentally insecure and to discontinue its use. Secure communication should not rely on a middle node located in a hostile environment.
8. 云端调度服务器的元数据泄露风险
8. Metadata Leakage Risk from the Cloud Orchestration Server
云端服务器作为系统的“大脑”,其自身行为就可能暴露整个系统的存在。
The cloud server, as the “brain” of the system, may expose the entire system through its own behavior.
Core Issue:
The cloud orchestration server must communicate with all components, and these communications themselves generate metadata that can be analyzed.
Heartbeat and Health Checks: The orchestration server scans the 443 ports of all 20+ relay nodes and tests proxy connectivity at a fixed frequency (e.g., every 5 minutes). This regular, large-scale, port-specific scanning behavior is itself a highly suspicious “cluster behavior.”
Configuration Distribution: All clients obtain configurations through one or a few fixed API endpoints. This creates a clear “centralized control” communication graph.
Inbound Pull Coordination: In “inbound pull” mode, the cloud server acts as the hub for all instructions, and its communication patterns with Overseas Relay (A) and clients are highly distinctive.
Exposes System Scale: By analyzing the orchestration server’s outbound connections, one can infer the approximate number and geographic distribution of backend relay nodes.
Exposes Control Center: Discovering the IP address of the orchestration server is equivalent to finding the system’s “Achilles’ heel.” Once this IP is blocked or poisoned, the entire system collapses immediately.
Behavioral Fingerprint: The communication patterns of the orchestration server (frequency, targets, packet size) can be used to build a “proxy system control center” behavioral fingerprint for active detection and identification of similar systems.
Decentralized Orchestration: Distribute orchestration functions across multiple geographically dispersed servers, using P2P or blockchain-like designs to avoid centralized control.
Obfuscate Health Checks: Disguise health check requests as normal web browsing requests, or route them through CDNs or public proxies to blend traffic into normal traffic.
Dynamic API Endpoints: Use dynamic DNS or CDN services to frequently change the API addresses for client configuration distribution, increasing tracking difficulty.
9. 对“最终出口为静态住宅IP”这一目标的再审视
9. Re-examining the Goal of “Final Egress from a Static Residential IP”
这个目标本身可能就是一个反安全的设计。
This goal itself may be an anti-security design.
Core Issue:
The proposal emphasizes “ensuring final egress from a user-specified static residential IP,” believing it can “effectively avoid platform account bans.” However, this creates a fatal weakness.
Long-Term Exposure: A static IP used long-term to access sensitive targets will quickly be flagged by platforms (e.g., Google, Discord) as a “suspicious proxy IP.” Platform risk control systems can easily identify it as not a real home user through behavioral analysis (e.g., access frequency, patterns).
Single Point of Failure: Once this static residential IP is banned by the target platform, the user loses all services relying on it, and the cost and complexity of changing IPs are high.
Contradicts “High Stealth” Goal: True “high stealth” should pursue “unattributability” and “dynamism” of traffic. A fixed, known egress IP has zero stealth.
风险与后果:
目标平台主动封禁:用户最终会因为IP被封而无法访问目标服务,这与规避GFW封锁的目标背道而驰。
身份关联:如果这个静态住宅IP能被物理定位到用户,那么用户的匿名性将完全丧失。
Risks and Consequences:
Proactive Banning by Target Platforms: Users will eventually be unable to access target services due to IP bans, contradicting the goal of circumventing GFW blocking.
Identity Linkage: If this static residential IP can be physically traced to the user, their anonymity is completely lost.
Embrace Dynamic IPs: Abandon the “static” requirement and instead use a large, dynamically rotating residential IP pool. Rotate the egress IP per session or daily, mimicking real user network switching (e.g., WiFi switching, 4G/5G switching). This may increase the chance of temporary challenges (e.g., CAPTCHA), but fundamentally prevents permanent IP bans.
Accept Data Center IPs: For non-high-sensitivity targets, directly use high-quality data center proxy IPs, which are cheaper, faster, and have abundant IP resources for easy rotation.
10. “入境拉取”模式下的协议与状态同步难题
10. Protocol and State Synchronization Challenges in the “Inbound Pull” Mode
这是一个深藏于“入境拉取代理技术”核心实现中的、可能导致系统崩溃的定时炸弹。
This is a hidden time bomb buried deep within the core implementation of the “inbound pull proxy” technique, potentially leading to system collapse.
Core Issue:
Communication in “inbound pull” mode is asymmetric and non-real-time. Overseas Relay (A) initiates an HTTPS request to Domestic Relay (B), which remains open (long connection), forming a “reverse tunnel.” Domestic Relay (B) must use this tunnel to “disguise” data retrieved from the commercial relay as HTTP responses and push them back in batches, asynchronously.
State Desynchronization: There is no reliable, bidirectional communication protocol between Overseas Relay (A) and Domestic Relay (B) to synchronize connection states. For example, if Domestic Relay (B) pushes data and a network glitch causes a temporary disconnection, Overseas Relay (A) may think the connection is closed, while Domestic Relay (B) remains unaware and continues writing data, causing errors and resource waste.
Packet Boundaries and Integrity: How to ensure that “large chunks” of data retrieved from the commercial relay are correctly split, labeled, and reassembled when transmitted through the reverse tunnel? If a packet is lost in transit, how does Overseas Relay (A) know and request retransmission? In the current design, it seems to rely entirely on the reliability of underlying TCP, which is fragile in complex network environments.
Connection Reuse and Multiplexing: A single connection between Overseas Relay (A) and Domestic Relay (B) could theoretically serve multiple client requests. How to achieve multiplexing over this “reverse tunnel”? How to assign unique identifiers to each request and ensure packets are correctly routed to the corresponding client? The document does not mention any session management or flow control mechanisms.
Data Corruption: Response data from one user may be incorrectly sent to another user.
Dead Connections: Due to state desynchronization, numerous “half-open” or “zombie” connections will consume server resources, eventually exhausting the connection pool of Node B or Node A.
High Latency and Timeouts: Lack of effective flow control and retransmission mechanisms will cause frequent timeout failures for requests under high latency or unstable network conditions.
Introduce an Application-Layer Protocol: Design a simple application-layer protocol (e.g., a custom protocol based on HTTP/2 or WebSocket) on top of the reverse tunnel to manage sessions, data streams, and state synchronization.
Heartbeat and Keep-Alive: Add bidirectional heartbeat mechanisms to ensure both sides can promptly detect the health of the connection.
Sequence Numbers and Acknowledgments: Add sequence numbers to each data packet; the receiver must send an ACK, and the sender retransmits if no ACK is received within a timeout.
11. 商业中继API的“智能”行为可能暴露用户意图
11. The “Smart” Behavior of Commercial Relay APIs May Expose User Intent
Oxylabs的“AI驱动反屏蔽”特性,是一把双刃剑。
Oxylabs’ “AI-driven anti-blocking” feature is a double-edged sword.
问题核心:
Oxylabs Web Unblocker API之所以强大,是因为它能智能地处理JavaScript渲染、绕过验证码等。但这种“智能”行为会产生独特的、可识别的流量指纹。
Core Issue:
The Oxylabs Web Unblocker API is powerful because it intelligently handles JavaScript rendering and bypasses CAPTCHAs. However, this “smart” behavior generates unique, identifiable traffic fingerprints.
Abnormal Behavior Patterns: A real server located within China (Node B) suddenly starts accessing websites strictly blocked in China (e.g., Google, Discord), exhibiting behavior patterns completely different from normal browsers (e.g., extremely high request frequency, specific automation tool User-Agent, automatic CAPTCHA solving). To the GFW, this behavior is itself solid evidence of “proxy usage.”
User-Agent Exposure: Even if the user modifies the User-Agent, Oxylabs’ API may use its internal, specific User-Agent or headers when handling complex anti-bot measures, features easily learned and identified by the GFW’s machine learning models.
Success Rate Paradox: Oxylabs’ high success rate means it can stably access blocked websites. But the GFW’s goal is to make these websites inaccessible. Therefore, an egress IP that can “stably” access these sites is itself a high-value surveillance target.
Precise Targeting: The GFW can directly identify the commercial relay service used by analyzing the outbound traffic from the domestic server (Node B), adding its IP ranges and traffic characteristics to a key monitoring list.
Collateral Risk: Once Oxylabs’ residential IP pool is widely flagged or blocked by the GFW, not only will this system fail, but all other users relying on this service will also be affected.
Traffic Throttling: When accessing targets via Oxylabs, deliberately simulate slower, more “human-like” behavior, such as adding random delays, simulating page scrolling, and clicks.
Obfuscate Request Headers: Ensure that responses from Oxylabs do not contain any specific headers that can be traced back to the service.
Rotate Multiple Providers: Do not rely on a single provider; instead, build a pool of proxies of various types (residential, data center, mobile) and rotate them dynamically.
12. 云端调度服务器的“健康检查”行为本身就是攻击入口
12. The “Health Check” Behavior of the Cloud Orchestration Server Is Itself an Attack Vector
调度服务器为了保证系统稳定,其主动扫描行为可能成为系统的阿喀琉斯之踵。
To ensure system stability, the orchestration server’s proactive scanning behavior may become the system’s Achilles’ heel.
Core Issue:
The orchestration server frequently performs health checks on all relay nodes, including:
Scanning the openness of port 443.
Sending empty-SNI Client Hello messages for handshake testing.
Using the node as a proxy to access external targets (e.g., ip.oxylabs.io).
These behaviors are highly regular, targeted, and characteristic.
Port Scan Fingerprint: Continuously and frequently scanning port 443 across a set of IPs is typical of “botnets” or “vulnerability scanners,” easily flagged by security vendors or the GFW’s upstream ISPs.
Empty-SNI Probing: Sending empty-SNI Client Hello messages to many servers is itself very rare and suspicious, and can be used to build a fingerprint of a “proxy control center.”
Proxy Connectivity Test: Accessing a fixed, well-known proxy test site (e.g., ip.oxylabs.io) through a relay node directly exposes the node’s proxy nature.
Expose Orchestration Server: The orchestration server’s IP address will be quickly identified and blocked due to its anomalous scanning behavior.
Expose Entire Relay Network: Once the orchestration server is identified, its list of scanned target IPs (i.e., all relay nodes) is also exposed, leading to the entire network being “taken down at once.”
Trigger Countermeasures: Target sites (e.g., Oxylabs) may blacklist the orchestration server’s IP upon detecting a large number of proxy test requests from it.
Decentralized Health Checks: Let relay nodes report their health status themselves, rather than being actively scanned by a central server. Nodes can periodically send heartbeats to an anonymous, distributed logging service.
Obfuscate Health Check Traffic: Disguise health check requests as normal user traffic. For example, let nodes initiate their own visits to sites like Baidu or Google and report the results, rather than having the orchestration server initiate the tests.
Reduce Frequency and Randomize: Significantly reduce scan frequency and use random time intervals to avoid forming a regular pattern.
13. 系统在“全链路封锁”下的生存能力归零
13. The System’s Survival Capability Is Zero Under “Full-Chain Blocking”
我们必须考虑最极端的情况:当审查方决心不惜一切代价进行封锁时,本系统的所有防御都将失效。
We must consider the most extreme scenario: when the censor is determined to block at all costs, all defenses of this system will fail.
Core Issue:
Each layer of this scheme’s evasion techniques targets specific blocking methods. However, if the censor adopts more aggressive and brutal strategies, the entire system will be powerless.
Block All Non-Whitelisted SNI: The GFW could change its strategy—instead of blocking blacklisted domains, it could only allow SNI values explicitly on a whitelist (e.g., baidu.com, qq.com). Any connection with empty or spoofed SNI would be immediately dropped. This would directly nullify the two core techniques: “empty SNI” and “SNI spoofing.”
Comprehensive ECH Interference: Although ECH interference is currently not widespread, the GFW can upgrade its DPI system at any time to interfere with or reset all connections containing encrypted Client Hello extensions (regardless of whether the ID is 0xffce or 0xff02). This would render ECH ineffective.
Block All Foreign-to-Domestic 443 Port Connections: For the “inbound pull” mode, the GFW could implement the most thorough blockade: indiscriminately blocking all TCP connections from foreign IPs to domestic IPs on port 443. Under this policy, no connection can be established, regardless of how the traffic is disguised.
Deep Behavioral Analysis: The censor can deploy more powerful AI models to perform global behavioral analysis on all network traffic. Any connection exhibiting abnormal “request-response” patterns or data flow characteristics will be flagged and subjected to deep inspection.
风险与后果:
系统整体瘫痪:在上述任何一种极端策略下,该系统的所有模式都将失效,整个架构被彻底瓦解。
无解:对于这种“全链路、无差别”的封锁,不存在技术上的解决方案。用户的唯一选择是停止使用。
Risks and Consequences:
System-Wide Collapse: Under any of these extreme strategies, all modes of the system will fail, and the entire architecture will be completely dismantled.
No Technical Solution: For such “full-chain, indiscriminate” blocking, there is no technical solution. The user’s only choice is to stop using the system.
Basic Solution:
This “vulnerability” exists at the political and strategic level, not the technical level. The solution is to acknowledge its existence and treat it as the system’s “termination condition”. When such a level of blocking is detected, the system should automatically alert the user and recommend pausing usage, waiting for policy changes.
14. 客户端配置文件的泄露风险
14. Client Configuration File Leakage Risk
客户端获取的config.yml文件,是整个系统的“作战地图”。
The config.yml file obtained by the client is the entire system’s “battle map.”
Core Issue:
This configuration file contains the IP addresses, ports, protocols, and even obfuscation parameters of all relay nodes. If this file is obtained by a third party (e.g., malware, compromised device), the consequences are extremely severe.
Full Network Exposure: Attackers can immediately obtain the entire relay network’s topology and conduct targeted scanning and attacks on all nodes.
Impersonation Attacks: Attackers can use this configuration file to impersonate legitimate users and misuse the system for malicious activities (e.g., launching DDoS attacks, sending spam), thereby framing the real users and maintainers.
Long-Term Surveillance: Even if the system replaces some nodes, as long as old configuration files remain in circulation, the old nodes will remain at risk indefinitely.
风险与后果:
网络崩溃:跳板网络可能在短时间内被全部发现并封锁。
法律风险:系统维护者可能因他人利用其系统进行的非法活动而承担法律责任。
Risks and Consequences:
Network Collapse: The relay network may be fully discovered and blocked in a short time.
Legal Risk: The system maintainer may face legal liability for illegal activities conducted by others using the system.
Encrypt Configuration File: Before distribution, encrypt the config.yml with a key known only to the client. Even if leaked, the file cannot be directly read.
Short-Lived Tokens: The configuration file does not directly contain node IPs, but instead includes a short-lived token. The client must use this token to request real connection details from the orchestration server; the token becomes invalid after use.
Device Binding: Bind the configuration file to a specific device fingerprint (e.g., hardware ID, MAC address hash) to restrict its use on other devices.
15. “入境拉取”模式下的时序攻击与数据泄露
15. Timing Attacks and Data Leakage in the “Inbound Pull” Mode
这是一个利用“入境拉取”模式固有延迟的、被动的、但极其致命的攻击。
This is a passive yet extremely lethal attack that exploits the inherent latency of the “inbound pull” mode.
Core Issue:
The “inbound pull” mode has an extremely long path and high latency (500ms–3s). This creates a unique timing window that attackers can exploit for passive eavesdropping and analysis.
Attacker Position: Assume the attacker (could be the GFW or an ISP with monitoring capability) can simultaneously monitor traffic from Overseas Relay (A) and Domestic Relay (B).
Attack Process:
The attacker observes that Overseas Relay (A) initiates an HTTPS connection to Domestic Relay (B) at time T.
Due to the nature of “inbound pull,” Domestic Relay (B) must first retrieve the target data via the commercial relay network, which takes time ΔT.
The attacker observes at time T + ΔT that Domestic Relay (B) begins returning large amounts of encrypted data to Overseas Relay (A).
By analyzing the length of ΔT, the attacker can infer the target website’s response speed. For example, accessing a fast CDN resource results in a short ΔT, while accessing a slow server in a distant region results in a long ΔT.
More seriously, if the attacker has a global database of website response times, they can use ΔT as a “fingerprint” to reverse-infer which website the user is actually visiting.
Passive De-anonymization: This attack requires no active interference—only passive monitoring and data analysis—to break user anonymity.
Precise Profiling: Combined with other metadata (e.g., Overseas Relay A’s IP, Domestic Relay B’s IP), the attacker can build a highly accurate user profile and behavioral graph.
Unavoidable: This attack, based on physical laws (speed of light, network latency), cannot be overcome by the architecture of the “inbound pull” mode itself.
Introduce Fixed Delay: In “inbound pull” mode, enforce a fixed, long delay (e.g., 3 seconds) before starting to return data, regardless of how fast the target website responds. This completely destroys the timing fingerprint but further degrades an already poor user experience.
Traffic Obfuscation: Have Domestic Relay (B) send meaningless, encrypted “dummy” data streams to Overseas Relay (A) while waiting for the target website’s response, making it impossible for attackers to determine ΔT from the start time of the data flow.
16. 商业中继API的“AI驱动”特性可能暴露系统存在
16. The “AI-Driven” Nature of Commercial Relay APIs May Expose System Existence
Oxylabs的“AI驱动反屏蔽”是其优势,但也是其最大的“特征”。
Oxylabs’ “AI-driven anti-blocking” is its strength, but also its greatest “signature.”
问题核心:
Oxylabs Web Unblocker API之所以强大,是因为它能智能地处理JavaScript渲染、绕过验证码等。但这种“智能”行为会产生独特的、可识别的流量指纹。
Core Issue:
The Oxylabs Web Unblocker API is powerful because it intelligently handles JavaScript rendering and bypasses CAPTCHAs. However, this “smart” behavior generates unique, identifiable traffic fingerprints.
Abnormal Behavior Patterns: A real server located within China (Node B) suddenly starts accessing websites strictly blocked in China (e.g., Google, Discord), exhibiting behavior patterns completely different from normal browsers (e.g., extremely high request frequency, specific automation tool User-Agent, automatic CAPTCHA solving). To the GFW, this behavior is itself solid evidence of “proxy usage.”
User-Agent Exposure: Even if the user modifies the User-Agent, Oxylabs’ API may use its internal, specific User-Agent or headers when handling complex anti-bot measures, features easily learned and identified by the GFW’s machine learning models.
Success Rate Paradox: Oxylabs’ high success rate means it can stably access blocked websites. But the GFW’s goal is to make these websites inaccessible. Therefore, an egress IP that can “stably” access these sites is itself a high-value surveillance target.
Precise Targeting: The GFW can directly identify the commercial relay service used by analyzing the outbound traffic from the domestic server (Node B), adding its IP ranges and traffic characteristics to a key monitoring list.
Collateral Risk: Once Oxylabs’ residential IP pool is widely flagged or blocked by the GFW, not only will this system fail, but all other users relying on this service will also be affected.
Traffic Throttling: When accessing targets via Oxylabs, deliberately simulate slower, more “human-like” behavior, such as adding random delays, simulating page scrolling, and clicks.
Obfuscate Request Headers: Ensure that responses from Oxylabs do not contain any specific headers that can be traced back to the service.
Rotate Multiple Providers: Do not rely on a single provider; instead, build a pool of proxies of various types (residential, data center, mobile) and rotate them dynamically.
17. 客户端配置文件的泄露风险
17. Client Configuration File Leakage Risk
客户端获取的config.yml文件,是整个系统的“作战地图”。
The config.yml file obtained by the client is the entire system’s “battle map.”
Core Issue:
This configuration file contains the IP addresses, ports, protocols, and even obfuscation parameters of all relay nodes. If this file is obtained by a third party (e.g., malware, compromised device), the consequences are extremely severe.
Full Network Exposure: Attackers can immediately obtain the entire relay network’s topology and conduct targeted scanning and attacks on all nodes.
Impersonation Attacks: Attackers can use this configuration file to impersonate legitimate users and misuse the system for malicious activities (e.g., launching DDoS attacks, sending spam), thereby framing the real users and maintainers.
Long-Term Surveillance: Even if the system replaces some nodes, as long as old configuration files remain in circulation, the old nodes will remain at risk indefinitely.
风险与后果:
网络崩溃:跳板网络可能在短时间内被全部发现并封锁。
法律风险:系统维护者可能因他人利用其系统进行的非法活动而承担法律责任。
Risks and Consequences:
Network Collapse: The relay network may be fully discovered and blocked in a short time.
Legal Risk: The system maintainer may face legal liability for illegal activities conducted by others using the system.
Encrypt Configuration File: Before distribution, encrypt the config.yml with a key known only to the client. Even if leaked, the file cannot be directly read.
Short-Lived Tokens: The configuration file does not directly contain node IPs, but instead includes a short-lived token. The client must use this token to request real connection details from the orchestration server; the token becomes invalid after use.
Device Binding: Bind the configuration file to a specific device fingerprint (e.g., hardware ID, MAC address hash) to restrict its use on other devices.
18. 系统在“全链路封锁”下的生存能力归零
18. The System’s Survival Capability Is Zero Under “Full-Chain Blocking”
我们必须考虑最极端的情况:当审查方决心不惜一切代价进行封锁时,本系统的所有防御都将失效。
We must consider the most extreme scenario: when the censor is determined to block at all costs, all defenses of this system will fail.
Core Issue:
Each layer of this scheme’s evasion techniques targets specific blocking methods. However, if the censor adopts more aggressive and brutal strategies, the entire system will be powerless.
Block All Non-Whitelisted SNI: The GFW could change its strategy—instead of blocking blacklisted domains, it could only allow SNI values explicitly on a whitelist (e.g., baidu.com, qq.com). Any connection with empty or spoofed SNI would be immediately dropped. This would directly nullify the two core techniques: “empty SNI” and “SNI spoofing.”
Comprehensive ECH Interference: Although ECH interference is currently not widespread, the GFW can upgrade its DPI system at any time to interfere with or reset all connections containing encrypted Client Hello extensions (regardless of whether the ID is 0xffce or 0xff02). This would render ECH ineffective.
Block All Foreign-to-Domestic 443 Port Connections: For the “inbound pull” mode, the GFW could implement the most thorough blockade: indiscriminately blocking all TCP connections from foreign IPs to domestic IPs on port 443. Under this policy, no connection can be established, regardless of how the traffic is disguised.
Deep Behavioral Analysis: The censor can deploy more powerful AI models to perform global behavioral analysis on all network traffic. Any connection exhibiting abnormal “request-response” patterns or data flow characteristics will be flagged and subjected to deep inspection.
风险与后果:
系统整体瘫痪:在上述任何一种极端策略下,该系统的所有模式都将失效,整个架构被彻底瓦解。
无解:对于这种“全链路、无差别”的封锁,不存在技术上的解决方案。用户的唯一选择是停止使用。
Risks and Consequences:
System-Wide Collapse: Under any of these extreme strategies, all modes of the system will fail, and the entire architecture will be completely dismantled.
No Technical Solution: For such “full-chain, indiscriminate” blocking, there is no technical solution. The user’s only choice is to stop using the system.
Basic Solution:
This “vulnerability” exists at the political and strategic level, not the technical level. The solution is to acknowledge its existence and treat it as the system’s “termination condition”. When such a level of blocking is detected, the system should automatically alert the user and recommend pausing usage, waiting for policy changes.
19. “蜜罐伪装”的长期有效性存疑
19. The Long-Term Effectiveness of “Honeypot Camouflage” Is Doubtful
文档建议的“部署一个真实的博客CMS”来伪装服务器,这是一个好主意,但长期来看存在严重问题。
The document suggests “deploying a real blog CMS” to camouflage the server—a good idea, but it has serious problems in the long run.
Maintenance Cost: A “real” blog requires continuous content updates. If the author (maintainer) forgets to update, the site remains inactive for long periods, becoming a sign of an “abandoned website,” making it easier to identify.
Lack of Interactivity: A blog without comments or user interaction appears “dead” to automated crawlers. Truly active sites have dynamic API calls, AJAX requests, and user comments.
Resource Consumption and Behavioral Conflict: Running a WordPress blog consumes CPU and memory and generates specific database queries and file I/O. When mixed with proxy traffic processing, it may create a hybrid, unnatural behavioral fingerprint, making it more likely to be flagged as anomalous by AI models.
Camouflage Failure: Over time, the GFW’s AI models will learn the behavior patterns of “normal blogs,” allowing them to identify your “camouflaged blog” as fake.
Increased Detection Risk: Unnatural hybrid behavior may be more suspicious than pure proxy behavior.
Automated Content Generation: Write scripts to automatically post trivial news summaries or random articles daily from RSS feeds.
Simulate User Interaction: Write scripts to periodically simulate user visits, clicks, and comments to make logs appear more authentic.
Simplify Camouflage: Abandon complex CMS; deploy only a simple “personal homepage” or “project introduction page” made of static HTML files. Static pages have simpler, more stable behavior, making them harder to detect as anomalous.
20. 商业中继API的“AI驱动”特性可能暴露系统存在
20. The “AI-Driven” Nature of Commercial Relay APIs May Expose System Existence
Oxylabs的“AI驱动反屏蔽”是其优势,但也是其最大的“特征”。
Oxylabs’ “AI-driven anti-blocking” is its strength, but also its greatest “signature.”
问题核心:
Oxylabs Web Unblocker API之所以强大,是因为它能智能地处理JavaScript渲染、绕过验证码等。但这种“智能”行为会产生独特的、可识别的流量指纹。
Core Issue:
The Oxylabs Web Unblocker API is powerful because it intelligently handles JavaScript rendering and bypasses CAPTCHAs. However, this “smart” behavior generates unique, identifiable traffic fingerprints.
Abnormal Behavior Patterns: A real server located within China (Node B) suddenly starts accessing websites strictly blocked in China (e.g., Google, Discord), exhibiting behavior patterns completely different from normal browsers (e.g., extremely high request frequency, specific automation tool User-Agent, automatic CAPTCHA solving). To the GFW, this behavior is itself solid evidence of “proxy usage.”
User-Agent Exposure: Even if the user modifies the User-Agent, Oxylabs’ API may use its internal, specific User-Agent or headers when handling complex anti-bot measures, features easily learned and identified by the GFW’s machine learning models.
Success Rate Paradox: Oxylabs’ high success rate means it can stably access blocked websites. But the GFW’s goal is to make these websites inaccessible. Therefore, an egress IP that can “stably” access these sites is itself a high-value surveillance target.
Precise Targeting: The GFW can directly identify the commercial relay service used by analyzing the outbound traffic from the domestic server (Node B), adding its IP ranges and traffic characteristics to a key monitoring list.
Collateral Risk: Once Oxylabs’ residential IP pool is widely flagged or blocked by the GFW, not only will this system fail, but all other users relying on this service will also be affected.
Traffic Throttling: When accessing targets via Oxylabs, deliberately simulate slower, more “human-like” behavior, such as adding random delays, simulating page scrolling, and clicks.
Obfuscate Request Headers: Ensure that responses from Oxylabs do not contain any specific headers that can be traced back to the service.
Rotate Multiple Providers: Do not rely on a single provider; instead, build a pool of proxies of various types (residential, data center, mobile) and rotate them dynamically.
21. 客户端配置文件的泄露风险
21. Client Configuration File Leakage Risk
客户端获取的config.yml文件,是整个系统的“作战地图”。
The config.yml file obtained by the client is the entire system’s “battle map.”
Core Issue:
This configuration file contains the IP addresses, ports, protocols, and even obfuscation parameters of all relay nodes. If this file is obtained by a third party (e.g., malware, compromised device), the consequences are extremely severe.
Full Network Exposure: Attackers can immediately obtain the entire relay network’s topology and conduct targeted scanning and attacks on all nodes.
Impersonation Attacks: Attackers can use this configuration file to impersonate legitimate users and misuse the system for malicious activities (e.g., launching DDoS attacks, sending spam), thereby framing the real users and maintainers.
Long-Term Surveillance: Even if the system replaces some nodes, as long as old configuration files remain in circulation, the old nodes will remain at risk indefinitely.
风险与后果:
网络崩溃:跳板网络可能在短时间内被全部发现并封锁。
法律风险:系统维护者可能因他人利用其系统进行的非法活动而承担法律责任。
Risks and Consequences:
Network Collapse: The relay network may be fully discovered and blocked in a short time.
Legal Risk: The system maintainer may face legal liability for illegal activities conducted by others using the system.
Encrypt Configuration File: Before distribution, encrypt the config.yml with a key known only to the client. Even if leaked, the file cannot be directly read.
Short-Lived Tokens: The configuration file does not directly contain node IPs, but instead includes a short-lived token. The client must use this token to request real connection details from the orchestration server; the token becomes invalid after use.
Device Binding: Bind the configuration file to a specific device fingerprint (e.g., hardware ID, MAC address hash) to restrict its use on other devices.
22. 系统在“全链路封锁”下的生存能力归零
22. The System’s Survival Capability Is Zero Under “Full-Chain Blocking”
我们必须考虑最极端的情况:当审查方决心不惜一切代价进行封锁时,本系统的所有防御都将失效。
We must consider the most extreme scenario: when the censor is determined to block at all costs, all defenses of this system will fail.
Core Issue:
Each layer of this scheme’s evasion techniques targets specific blocking methods. However, if the censor adopts more aggressive and brutal strategies, the entire system will be powerless.
Block All Non-Whitelisted SNI: The GFW could change its strategy—instead of blocking blacklisted domains, it could only allow SNI values explicitly on a whitelist (e.g., baidu.com, qq.com). Any connection with empty or spoofed SNI would be immediately dropped. This would directly nullify the two core techniques: “empty SNI” and “SNI spoofing.”
Comprehensive ECH Interference: Although ECH interference is currently not widespread, the GFW can upgrade its DPI system at any time to interfere with or reset all connections containing encrypted Client Hello extensions (regardless of whether the ID is 0xffce or 0xff02). This would render ECH ineffective.
Block All Foreign-to-Domestic 443 Port Connections: For the “inbound pull” mode, the GFW could implement the most thorough blockade: indiscriminately blocking all TCP connections from foreign IPs to domestic IPs on port 443. Under this policy, no connection can be established, regardless of how the traffic is disguised.
Deep Behavioral Analysis: The censor can deploy more powerful AI models to perform global behavioral analysis on all network traffic. Any connection exhibiting abnormal “request-response” patterns or data flow characteristics will be flagged and subjected to deep inspection.
风险与后果:
系统整体瘫痪:在上述任何一种极端策略下,该系统的所有模式都将失效,整个架构被彻底瓦解。
无解:对于这种“全链路、无差别”的封锁,不存在技术上的解决方案。用户的唯一选择是停止使用。
Risks and Consequences:
System-Wide Collapse: Under any of these extreme strategies, all modes of the system will fail, and the entire architecture will be completely dismantled.
No Technical Solution: For such “full-chain, indiscriminate” blocking, there is no technical solution. The user’s only choice is to stop using the system.
Basic Solution:
This “vulnerability” exists at the political and strategic level, not the technical level. The solution is to acknowledge its existence and treat it as the system’s “termination condition”. When such a level of blocking is detected, the system should automatically alert the user and recommend pausing usage, waiting for policy changes.
23. “蜜罐伪装”的长期有效性存疑
23. The Long-Term Effectiveness of “Honeypot Camouflage” Is Doubtful
文档建议的“部署一个真实的博客CMS”来伪装服务器,这是一个好主意,但长期来看存在严重问题。
The document suggests “deploying a real blog CMS” to camouflage the server—a good idea, but it has serious problems in the long run.
Maintenance Cost: A “real” blog requires continuous content updates. If the author (maintainer) forgets to update, the site remains inactive for long periods, becoming a sign of an “abandoned website,” making it easier to identify.
Lack of Interactivity: A blog without comments or user interaction appears “dead” to automated crawlers. Truly active sites have dynamic API calls, AJAX requests, and user comments.
Resource Consumption and Behavioral Conflict: Running a WordPress blog consumes CPU and memory and generates specific database queries and file I/O. When mixed with proxy traffic processing, it may create a hybrid, unnatural behavioral fingerprint, making it more likely to be flagged as anomalous by AI models.
Camouflage Failure: Over time, the GFW’s AI models will learn the behavior patterns of “normal blogs,” allowing them to identify your “camouflaged blog” as fake.
Increased Detection Risk: Unnatural hybrid behavior may be more suspicious than pure proxy behavior.
Automated Content Generation: Write scripts to automatically post trivial news summaries or random articles daily from RSS feeds.
Simulate User Interaction: Write scripts to periodically simulate user visits, clicks, and comments to make logs appear more authentic.
Simplify Camouflage: Abandon complex CMS; deploy only a simple “personal homepage” or “project introduction page” made of static HTML files. Static pages have simpler, more stable behavior, making them harder to detect as anomalous.
最终总结
Final Summary
市面上有许多比这更好,价格更低性价比高的方案,本方案只是用于探讨,强烈建议您不要使用此方案。如果你仔细熟读,你会发现更多漏洞(没有哪个系统是没有漏洞的)所以说,不是极特殊安全需求,非常不建议使用这套方案,当个乐子看就行了
There are many better and more cost-effective solutions available on the market. This solution is intended for discussion purposes only, and you are strongly advised not to use it.If you read carefully, you’ll find even more vulnerabilities (no system is perfect). Therefore, unless you have extremely special security needs, this scheme is strongly not recommended—treat it as entertainment only.
I’ve built the product prototype, deployed it, and run it continuously for a week with no issues. This validated most of my assumptions, including the most critical concern about funding. After the test, I shut down all servers, deleted all source code, and reinstalled the operating system on every server. I did not keep any backup of the source code.