跳至主要内容
AntidetectLab
← 返回博客列表
代理与链路卫生

Reading TLS, HTTP/2 and TCP observations

How connection topology affects which TLS, HTTP and transport properties a site can observe.

作者:AntidetectLab Research Team (协议栈、芯片特征与链路取证工程团队) · 2026-11-12 · 阅读约 5 分钟
PASSIVE WIRE INSPECTOR // L4 TCP + L6 PQ-JA4 + L7 HTTP/2 GROUP: 0x11EC ML-KEM L4 TCP SYN Win11 TTL=128 t13d1516h2 X25519MLKEM768 JA4 CLIENTHELLO L7 AKAMAI H2 Order: m,a,s,p LINUX RELAY TRAP UA: Win11 != TTL: 64 WIRE COHERENT Split-TCP Delta > 95ms & 2.6x Ratio
核心摘要与关键结论 打开实时诊断工具 →

解读 TLS JA4、HTTP/2 与 TCP TTL 网络层特征

深入解析被动 L4 TCP SYN TTL/MSS(JA4T)、包含 X25519MLKEM768 与 ECH 的 L6 TLS ClientHello(JA4),以及直连和代理链路上的 L7 HTTP/2 SETTINGS 与伪头部顺序。

关键技术排查要点
  • 网络层遥测反映直连对端特征;TLS 终结代理会替换原始 ClientHello,除非边缘节点安全透传首跳捕获数据。
  • 不同浏览器引擎在 RFC 9113 SETTINGS 与伪头部顺序上具有确定性差异(Chromium 为 m,a,s,p,Firefox 为 m,p,a,s)。
  • IPv4 初始 TTL 冲突(Windows UA 出现 TTL=64)常揭示 Linux 代理中继,而 IPv6 因路由通告覆盖跳数限制而豁免该规则。

Where connection measurements originate

Technical Summary: Passive L4/L6/L7 wire telemetry originates at the network termination point before any JavaScript executes. When a CDN, reverse proxy, or TLS-terminating relay sits inline, the origin server observes the proxy’s upstream connection unless edge telemetry headers are securely forwarded from the first hop.

Before a single byte of HTML or collector JavaScript runs in the browser, the peer establishing a TCP and TLS connection transmits immutable kernel and cryptographic handshake parameters. At Layer 4, the TCP SYN packet carries initial Time-To-Live (TTL), Maximum Segment Size (MSS), Receive Window, Window Scale, and TCP option ordering (JA4T). At Layer 6, the TLS ClientHello advertises cipher suites, extensions, ALPN protocols, and supported elliptic/post-quantum key-exchange groups (JA4 and JA3). At Layer 7, HTTP/2 exchanges SETTINGS frames and pseudo-header ordering.

Crucially, these observations describe the hop directly connected to the observer. If an application sits behind a reverse proxy or Cloudflare-style edge, TLS termination replaces the client’s ClientHello with the proxy’s own connection unless the edge captures and signs first-hop telemetry (for example, via trusted x-adl-* headers or a direct split-plane /v1/wire-probe endpoint).

JA4 and key-share information

Technical Summary: FoxIO JA4 normalizes TLS ClientHello parameters after stripping RFC 8701 GREASE values and sorting ciphers and extensions. However, specific post-quantum key-share groups such as X25519MLKEM768 (0x11ec) or Encrypted Client Hello (0xfe0d) require inspecting the parsed handshake extensions rather than assuming JA4 alone lists every offered group.

The FoxIO JA4 specification encodes transport (t for TCP, q for QUIC, d for DTLS), TLS version (13 for TLS 1.3), SNI presence (d/i), cipher count, extension count, and ALPN ends in ja4a, followed by truncated SHA-256 hashes of sorted ciphers (ja4b) and sorted extensions plus signature algorithms (ja4c). Because modern BoringSSL and NSS stacks permute TLS extensions, JA4’s sorting eliminates extension-order noise while preserving cryptographic capability sets.

// Verify JA4 offer invariants via AntidetectLab MCP inspect_ja4_and_wire
curl -sS -X POST "https://antidetectlab.com/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"inspect_ja4_and_wire","arguments":{"ja4":"t13d1516h2_8daaf6152771_e5627efa2ab1","akamai_h2":"1:65536;2:0;4:6291456;6:262144|15663105|0|m,a,s,p","observed_ttl":128,"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/145.0.0.0 Safari/537.36"}}}'

In parseTlsClientHelloToJa4() (src/wire-probes.mjs), the parser records hasPostQuantumMlkem when Supported Groups contains 0x11ec, hasEch when extension 0xfe0d is present, and hasAlps for extensions 0x4469/0x44cd. Meanwhile, evaluateWireLayerSignals() raises WIRE_JA4_TLS_STACK_MISMATCH when JA4 reveals impossible combinations such as zero ciphers, TCP carrying h3 ALPN, QUIC carrying h1/h2, or modern browsers offering legacy SSLv2/TLS 1.0/1.1.

HTTP/2 settings and ordering

Technical Summary: HTTP/2 client stacks emit characteristic SETTINGS tuples and pseudo-header sequences—such as Chromium’s m,a,s,p and Firefox’s m,p,a,s. Because an upstream HTTP proxy can rewrite frames, engineers must verify which hop produced the Akamai H2 string before attributing a mismatch to the browser.

Every major browser engine serializes HTTP/2 initial control frames and request pseudo-headers (:method, :authority, :scheme, :path) deterministically per RFC 9113 SETTINGS parameters (SETTINGS_HEADER_TABLE_SIZE, SETTINGS_ENABLE_PUSH, SETTINGS_INITIAL_WINDOW_SIZE, SETTINGS_MAX_HEADER_LIST_SIZE) alongside window update increments. In evaluateWireLayerSignals(), when a valid 4-part Akamai H2 string (SETTINGS|WINDOW_UPDATE|PRIORITY|PSEUDO_ORDER) is observed alongside a claimed browser User-Agent:

Browser StackExpected Pseudo-Header OrderKey SETTINGS InvariantMismatch Signal Code
Chromium / Blinkm,a,s,pNever sets SETTINGS_ENABLE_PUSH=1 (2:1)WIRE_HTTP2_PSEUDO_HEADER_MISMATCH
Firefox / Neckom,p,a,sDistinct Necko flow-control window & priority treeWIRE_HTTP2_FIREFOX_MISMATCH
Safari / WebKitm,s,p,a or m,s,a,pMust not emit Chromium 1:65536;2:0;4:6291456 prefixWIRE_HTTP2_SAFARI_MISMATCH

Additionally, when a trusted edge reports httpProtocol === "http/1.1" while the browser’s PerformanceResourceTiming nextHopProtocol reports h2 or h3 (or vice versa), AntidetectLab flags WIRE_TLS_PROXY_PROTOCOL_DOWNGRADE to surface SSL-bumping or protocol-downgrading intermediaries.

What a TTL can show

Technical Summary: IPv4 Time-To-Live decrements by one at each Layer 3 router hop, so an observed TTL between 1 and 64 typically maps to an initial TTL of 64 (Unix/Linux/macOS/mobile), while 65–128 maps to 128 (Windows NT). Because routing hops and IPv6 RA hop limits vary, TTL provides directional OS-stack evidence rather than definitive host identification.

When a Windows 11 browser routes traffic through a Linux-hosted SOCKS5 or HTTP CONNECT proxy that terminates the client TCP connection and initiates a fresh socket to the destination server, the server sees the Linux kernel’s TCP SYN stack (initial TTL=64, Linux JA4T window and options) paired with a Windows User-Agent. In evaluateWireLayerSignals(), IPv4 sessions claiming Windows with an inferred initial TTL of 64 trigger WIRE_TTL_LINUX_PROXY_ON_WINDOWS_UA, while Unix/macOS/mobile User-Agents arriving with initial TTL=128 trigger WIRE_TTL_WINDOWS_HOST_ON_UNIX_UA.

For IPv6, Router Advertisements can override host hop limits to 64 across all operating systems, so AntidetectLab explicitly exempts IPv6 from the Windows-TTL-64 rule to eliminate false positives. Passive JA4T inspection (WIRE_JA4T_OS_MISMATCH) cross-checks TCP window size, option ordering (2-4-8-1-3 vs 2-1-3-1-1-4), and Window Scale (wscale) when SYN captures are available.

Comparing connection records

Technical Summary: Comparing connection captures requires logging the exact observer endpoint, protocol, IP family, and browser release alongside TCP, TLS, and HTTP/2 fields. AntidetectLab does not publish a static OS wire baseline table because enterprise proxies, kernel updates, and QUIC/HTTP3 adoption evolve continuously.

When comparing two captures—for instance, a direct residential connection versus a tunneled proxy route—verify whether both records captured at the same edge layer. If one capture lacks raw TCP SYN instrumentation, observedTtl, observedMss, and ja4t will properly appear as null (and the corresponding check marked unavailable).

Also inspect forwarding headers (Via, Forwarded, Proxy-Connection, X-Squid-Error) and reduced TCP MSS (<1390 bytes IPv4 / <1370 bytes IPv6 on non-cellular links), which respectively trigger WIRE_HTTP_PROXY_HEADER_LEAK and WIRE_MTU_VPN_ENCAPSULATION.

Investigating a difference

Technical Summary: Use the wire report and /v1/echo endpoint to separate captured transport fields from unavailable probes. Confirm whether an intermediate proxy, VPN tunnel, or TLS terminator altered the route before modifying browser settings.

Open the connection report or curl GET /v1/echo from the target environment to inspect raw ja4, ja4t, ja4h, akamaiH2, observedTtl, observedMss, and proxyLeakHeaders. Because AntidetectLab separates the Connection and IP pillars from the device-scope score, wire discrepancies appear cleanly in their own ledger without corrupting browser-kernel diagnostics.

If an OS-TTL or JA4T mismatch appears on a Windows client, replacing application-level HTTP/SOCKS5 proxies with an OS-matched gateway or raw L3/L4 packet forwarding avoids injecting a mismatched Linux TCP stack into the destination handshake.

相关取证研究

SILICON AUDIT // ARMv9-A + iOS 18 WDA WebAssembly sample TOUCH: 10pt TTL=64 · TPROXY ARM64 12-LAYER HAL ADRENO / APPLE TOUCH: 0pt NaN sample
移动端与云手机

Mobile Browsers, Cloud Phones & Real Devices

移动浏览器、云手机与真机架构对比

How to interpret touch, viewport, codec and sensor data in a mobile browser.

2026-11-24 阅读约 8 分钟
KERNEL ENGINE // CHROMIUM BLINK + GECKO NSS TELEMETRY SAMPLE VIEW Engine[0]: CloakBrowser Skia C++ 4x TextMetrics Linearity (<= 0.015) WebGPU Adapter == WebGL2 Angle D3D11 IDAT Zlib Stream: DETERMINISTIC Runtime.enable Leaks: 0 / 5 Realms Camoufox Gecko NSS + Isolated Profiles P-01 sample P-02 sample P-03 sample ZERO PROTOTYPE WRAPPERS · C++ NATIVE
指纹浏览器

TeraLogin, GoLogin, Multilogin & GeeLark Audit

TeraLogin、GoLogin、Multilogin 与 GeeLark 评测标准

Which records a reproducible comparison would need, and what the lab has published.

2026-11-26 阅读约 5 分钟
KERNEL ENGINE // CHROMIUM BLINK + GECKO NSS TELEMETRY SAMPLE VIEW Engine[0]: CloakBrowser Skia C++ 4x TextMetrics Linearity (<= 0.015) WebGPU Adapter == WebGL2 Angle D3D11 IDAT Zlib Stream: DETERMINISTIC Runtime.enable Leaks: 0 / 5 Realms Camoufox Gecko NSS + Isolated Profiles P-01 sample P-02 sample P-03 sample ZERO PROTOTYPE WRAPPERS · C++ NATIVE
指纹浏览器

Testing Browser Fingerprint Parity Across Tools

跨反检测浏览器的指纹一致性测试规范

A guide to repeatable browser tests, coverage and product-level scoring.

2026-11-21 阅读约 5 分钟