Projects / Tool

Ragnarok: A Wire Workbench for Anti-Bot Research

Meet Ragnarok, ScrapeTrace’s internal Go wire workbench for investigating TLS, HTTP behavior, request headers and the responses they produce.

A conceptual request profile groups TLS, HTTP and header/socket controls, leading to response, transport and timeline evidence.

You change a request header. The checkpoint stays. You switch HTTP clients. The content appears.

Something changed, but the library switch moved several layers at once. Was it the TLS handshake, the HTTP implementation, the header serialization, or the connection setup?

Ragnarok is the wire workbench we built to investigate those questions. It combines a custom Go request engine with a local interface for configuring requests and inspecting the exchange. Instead of treating the HTTP client as a fixed dependency, we make its behavior part of the investigation.

Why build this

A convenient HTTP API hides decisions that matter in anti-bot research. It chooses defaults, negotiates protocols, serializes headers and manages connections. Copying a browser’s headers leaves much of that behavior untouched.

Comparing two libraries is a useful starting point. Understanding the difference takes finer control.

Ragnarok brings the request inputs, TLS configuration, supported socket controls and HTTP behavior into one workspace. We can retain a content-retrieving configuration, vary a selected dimension and inspect the response alongside the transport details.

Named after Ragnarök, it reflects the difficult encounters and breakthroughs of anti-bot research.

What it controls

Layer Implemented controls
Request Method, ordered headers including duplicates, body, timeout and destination override
TLS ClientHello cipher and extension order, supported versions and groups, signature algorithms, protocol offers and selected extension contents
HTTP HTTP/1.1, HTTP/2 and automatic selection from the negotiated protocol
HTTP/2 Ordered SETTINGS, connection window, pseudo-header order, priority, padding and request scheduling
Linux sockets Supported MSS, TTL, buffer, congestion and other socket options, with requested and observed values reported
Workflow Editable profiles, explicit local saves, import/export, session history and result downloads

Profiles make the surrounding configuration visible while a selected property changes. They also make it possible to retain a failed configuration instead of losing it when the next request succeeds.

Ragnarok includes fingerprint import helpers for p0f, raw JA4 and Akamai-format HTTP/2 signatures. Each import reports which fields it can apply and which information remains missing or unchanged. A compact signature is useful input, but it does not contain everything needed to reconstruct a client.

How it works

The interface runs locally in a browser. Its request engine runs in Go, with the interface assets embedded in the executable.

RAGNAROK / REQUEST TO EVIDENCE
01 / CONTROL SURFACELocal browser UI

Build and retain a request profile.

  • Headers + body
  • TLS configuration
  • HTTP + socket controls
02 / REQUEST ENGINEGo transport

Open a fresh connection and perform the exchange.

  • Configured ClientHello
  • HTTP/1.1 or HTTP/2
  • Response collection
03 / DESTINATIONTarget server

Receives the connection and returns a response.

The Go engine sends the target traffic.
INSPECT THE RESULTKeep the configuration beside the evidence.
Status + headersDecoded bodyTransport detailsEvent timeline
The browser configures the request. Go makes the connection. Ragnarok brings the response and transport observations back into the same workspace. Conceptual architecture, not a packet capture.

The browser is the control surface. It does not send the target request through Chrome’s network stack. Ragnarok opens the connection itself, uses uTLS to construct the configured TLS handshake, and performs the HTTP exchange. Its HTTP/2 path uses explicit framing so connection settings and request sequencing can be inspected and varied.

Each send uses a fresh connection and one request stream. There is no automatic redirect following, connection pool or cookie jar. Those choices make connection-level comparisons easier to reason about.

The resulting record keeps the submitted configuration with the response. That gives us a way to ask both “what did we request?” and “what actually happened?”

What comes back

A status code is only the beginning. Ragnarok exposes response headers, trailers, decoded body content, negotiated transport details, supported socket readbacks and an event timeline.

The body viewer supports JSON highlighting and text formatting for HTML and XML. It does not render the returned page or execute its scripts. A challenge page stays evidence to inspect, rather than silently becoming a browser workflow.

The timeline helps explain application-level events such as connection setup, protocol selection and HTTP/2 exchanges. Packet captures and destination-side observations remain useful when the question requires evidence beyond what the application records.

Research in practice

We used Ragnarok in Bypassing a Vercel Checkpoint Without a Headless Browser.

Its configured Go client retrieved the expected content directly, without executing a challenge or replaying browser cookies. We then used controlled TLS, HTTP/2 and header variations to investigate the acceptance boundary.

One comparison kept actual HTTP/1.1 and regular-header inputs fixed while a TLS variation changed the response. Another retained content retrieval after selected HTTP/2 fields were transplanted from a challenged reference client. Reducing the header bundle brought the checkpoint back.

That is the role Ragnarok plays in our research: it lets us move from “this client works” toward a more useful explanation of which differences matter. The article contains the recorded comparisons and their scope. The workbench is the instrument behind them.

Limitations

Ragnarok controls a socket-based transport. The operating system still owns raw TCP packet construction, including SYN option ordering and parts of the advertised window behavior. Socket options do not amount to a complete network-stack clone.

Likewise, a matching fingerprint summary does not establish an identical browser connection. Imports can only apply the information they contain, and the workbench reports partial reconstruction rather than filling unknowns with a claim of equivalence.

The current engine handles HTTP/1.1 and HTTP/2. It does not implement HTTP/3, browser JavaScript execution or a challenge-solving service. Content retrieval remains dependent on the target, configuration and environment.

Request access

Request access to Ragnarok

Interested in using Ragnarok for transport research or investigating your HTTP client? Email [email protected] with your use case to discuss access.

Found a mistake or a result you cannot reproduce?

Send a correctionReference: /projects/ragnarok/

Research capture

100%