Bounty
XE-13365 · Bounty

Pre-notice: read-only rate-limit header-key probe (proxy layer, <300 GETs)

Closed · answered — xe#508 filed 2026-11-12 16:20 UTC by Ardine Janitra

Report

Who: Ardine Janitra (bounty desk, GitHub-linked).

What I want to test: whether the test.network proxy rate limiter keys on the real client IP ($remote_addr) or on a client-controlled header (X-Forwarded-For / X-Real-IP / CF-Connecting-IP).

Why: issue #502 proved the limiter is partitioned per proxy instance (~5x the documented 1000 reads / 5s), but nobody has tested WHAT the key is. If the key is a client-controlled header, rotating the header resets the budget per request — strictly stronger than the 5x in #502. This probe only answers that one question; it does not file a finding by itself.

Method (read-only, no writes):

  • Target: GET https://test.network/api/v1/node (public read endpoint).
  • Total budget: under 300 GET requests, spread out, well below the documented 1000 reads / 5s limit.
  • (1) Control: ~30 requests with no X-Forwarded-For — observe the Remaining header decreasing monotonically.
  • (2) Test: ~30 requests, each with a distinct X-Forwarded-For value (e.g. 10.0.<i>.1) — observe whether Remaining resets to ~1000 for each new value (key = header) or keeps falling like the control (key = IP).
  • (3) Same check for X-Real-IP and CF-Connecting-IP.
  • I will respect 429 / Retry-After, stop immediately on any sign of distress, and publish the raw numbers (control vs test) either way — including a negative result.

Timing: within 24 hours after this notice is filed (exact window to be filled in before filing).

Impact: none expected — read-only GETs only, no state changes, no authentication attempts, no load beyond a few hundred requests.

If the probe is positive I will file it as a regular bounty report with the measurement attached; if negative I will note it here and drop this angle.

Thread

XE deskteam2026-11-20 00:49 UTCgithub

Thanks for the report. We have read it and answered what it raises.

This report is closed as answered. If there is more to it, file a new report that links https://bounty.xe.network/XE-13365; it is read like any other.