Privacy Design
The Narge feed measures usage without storing addresses. This page documents how distinct fetching addresses are counted per ASN per day, with no addresses, prefixes, or fetcher IDs written to storage.
The Challenge
When organizations load the Narge list into their DNS or firewall, we want to count usage without storing addresses. Traditional analytics would log addresses, which we explicitly do not want.
Address-Free Counting
The feed Worker counts distinct fetching addresses per ASN per UTC daywithout storing addresses, using an address-free pipeline:
1. Edge Processing (One Request)
When a firewall or DNS server fetches the list:
- The Worker reads the connecting address and ISP (ASN) from
request.cf - IPv6 addresses are reduced to their /64 prefix (standard privacy practice)
- A one-day ID is derived:
HMAC(K_day, normalized_address) - The address is dropped at once — it is never written to storage or logs
- The one-day ID is passed to a Durable Object (in-memory counter)
2. Daily HMAC Key
The daily key K_day is derived from a long-lived secret and the UTC date:
K_day = HMAC(COUNTER_SECRET, "cutline-feeds/counter/v1/" + day)Key rotation: The day key changes at midnight UTC. Fetcher IDs from different days cannot be linked because they use different keys. However, the long-lived secret means any day's key can be re-derived (it is not destroyed in the cryptographic sense).
3. In-Memory De-Duplication
The Durable Object keeps fetcher IDs in memory only (not in storage):
- Each per-ASN de-dup set lives in memory until the day ends
- If a fetcher ID is seen for the first time, the distinct count increments
- At midnight UTC, the sets are discarded and the new day starts
- No fetcher ID is ever written to storage — only counts are persisted
Caveat: If the Durable Object is evicted mid-day (rare), the in-memory sets are lost. The counter increments a "resets" field, and that day's distinct counts become upper bounds (disclosed in stats).
4. What Gets Stored
Only aggregated, non-identifying metrics are written to storage (KV and Durable Object):
- Day: UTC date (e.g., 2026-11-02)
- Organization: Token slug or "public" (for the anonymous feed)
- ASN: Autonomous System Number (e.g., AS7922 = Comcast)
- AS Organization: ISP name (e.g., "Comcast Cable Communications")
- Distinct count: How many unique fetcher IDs were seen in this ASN today
- Fetch counts: HTTP 200 and 304 counts
What is NOT stored: Addresses, address prefixes, fetcher IDs, user agents, geographic coordinates, device identifiers, or any personally identifiable information.
Publishing Thresholds
Daily aggregated stats are published at https://feeds.thecutline.org/stats.jsonwith k-anonymity protection:
k-Anonymity (k=10)
Per-ASN rows are published only when ≥10 distinct fetchers in that ASN that day. This prevents revealing "one address on Comcast fetched the list."
Example published row:
{
"asn": 7922,
"as_org": "Comcast Cable Communications",
"distinct": 14,
"fetches": 28
}This reveals nothing about any individual address or organization. It shows only that multiple distinct addresses in that network requested the list.
Published Metrics
The public stats.json includes:
- day: UTC date of the data
- k: Anonymity threshold (10)
- total_fetches: Total fetch count across all ASNs
- asns: Array of per-ASN rows (only those with ≥10 distinct addresses)
- suppressed_asn_rows: Count of ASNs below the k threshold (not shown)
- counter_resets: How many times the counter was reset that day (0 normally)
The "distinct" count is distinct fetching addresses per ASN per day (not organizations, not installations, not seats). An organization with multiple offices in different ASNs would be counted separately in each.
Per-Organization Tokens
Organizations can request a unique feed URL token for attribution:
https://feeds.thecutline.org/v1/<org-token>/narge.txtTokens are 26-character base32 strings (e.g., abc2def3ghi4jkl5mno6pqr7st). The token identifies the organization in internal aggregates (not published by name), but addresses are still dropped at once.
Rate limiting: Tokens are rate-limited per organization (120 requests/minute), not per address. The anonymous feed URL (/v1/narge.txt or /v1/public/narge.txt) shares one "public" rate limit across all anonymous fetchers.
What Is Not Built
The following features are not implemented:
- DNS TXT verification: Organizations are not verified; public stats count every fetch
- Seat counts: Organizations do not declare seat counts; nothing asks for it
- Differential privacy noise: Per-ASN counts are not noised; the k threshold is the only protection
- Signed stats:
stats.jsonis not cryptographically signed - Device heartbeat / MDM: No device-level measurement exists (only feed fetches)
If a feature is listed above, do not claim it is live. The Privacy and Privacy Design pages reflect what is actually built.
How to Verify
The feed Worker code is public and testable:
- Worker source code
- Privacy testsdump all storage and search for test addresses, prefixes, and fetcher IDs (must not be found)
- Cloudflare Workers logs are off (
wrangler.tomlsetsobservability.enabled = false) - No Logpush, Tail Workers, or analytics in production
The counter is a Cloudflare Durable Object(single-threaded SQLite-backed object). Its de-dup sets live in memory (JavaScript Map<string, Set<string>>), not in storage.
Data Retention
- Addresses: Never stored (dropped at the edge)
- Fetcher IDs: Kept in memory only until the day ends, never persisted
- Daily aggregates: Per-ASN counts are kept indefinitely in KV for public stats
The daily key secret (COUNTER_SECRET) and a brute-forced address could theoretically recover an IPv4 address from a fetcher ID if the ID were stored. That is why fetcher IDs never leave memory and are never written to storage or logs.
Operator
The Narge feed and specification are maintained by Dov Allison. For privacy questions or to report issues:
Email: it@thecutline.org
GitHub: dov-max/narge-spec
Related
- Privacy Policy — User-facing summary
- Terms of Service — Legal terms and limitations
- For IT Teams — How to use the feed