r/CloudFlare • • 23h ago

Question CloudFlare has never asked me to do something like this before. Is this a hacking attempt?

Post image
321 Upvotes

r/CloudFlare • • 14h ago

Community How I run a free 3-city live transit map and Parquet analytics dashboard for ~US$10/mo on Cloudflare (3 Workers, R2, PMTiles, KV, Rate Limiting, Container fallback)

Thumbnail
gallery
19 Upvotes

I run transit.yesid.dev, a free, bilingual (EN/FR), MIT-licensed live transit map and historical schedule reliability dashboard covering Montréal (STM), Ottawa (OC Transpo), and Gatineau (STO).

Earlier versions were backed by Postgres, and storage/hosting costs kept climbing for a mostly append-only, read-heavy GTFS-Realtime archive (~2.6M recorded stop arrivals per week on STM alone). I recently rebuilt v2 around daily clean Parquet files on Cloudflare R2 + read-only DuckDB + three Cloudflare Workers, bringing total infra to ~US$10/month.

Sharing the exact Cloudflare architecture and a few Workers/R2 details that worked well in production:

1. Three-Worker topology wired with Service Bindings and a named WorkerEntrypoint

  • transit1-web (apps/web): SvelteKit (Svelte 5) SSR Worker (@sveltejs/adapter-cloudflare with static [assets], nodejs_compat, enable_request_signal). It never touches R2 directly. Instead, it calls transit-data-proxy over a Service Binding pinned to a named Questions WorkerEntrypoint that isn't reachable on the public internet.
  • transit-data-proxy (apps/data-proxy): Public API gateway on data.yesid.dev/v2/* serving live vehicle snapshots, historical Record queries, clean Parquet downloads, and byte-range vector basemaps. Forwards uncached analytical queries over a Service Binding (ENGINE) to transit-engine.
  • transit-engine (apps/engine): Edge Worker gateway validating bearer tokens with crypto.subtle.timingSafeEqual over SHA-256 digests. It routes to a small Linux VM mirror running read-only DuckDB as primary, with a Cloudflare Container (@cloudflare/containers, standard-1, sleepAfter = "5m", backed by a SQLite Durable Object) fallback that reads s3://transit-clean straight from R2 via DuckDB httpfs.

2. Three R2 buckets (and why zero egress matters here)

  • transit-raw: Raw GTFS and GTFS-Realtime captures polled from all three agencies.
  • transit-clean: Daily clean Parquet editions, street corridor tables, live/v2 fleet snapshots, and self-hosted Protomaps .pmtiles vector basemaps served through transit-data-proxy with HTTP byte-range and conditional request support (zero map tile API keys). Riders and researchers can also download the daily Parquet files directly (e.g. 56 files / 355 MB for a 7-day STM window) without triggering egress bills.
  • transit-question-answers: Shared R2 cache for settled historical DuckDB responses, trimmed automatically via a 30-day lifecycle expiration rule on settled/v1/.

3. Multi-tier caching + KV fallback + native Workers Rate Limiting

  • Analytical queries layer three tiers: POP-local Cache API (caches.default), shared transit-question-answers R2 for settled date ranges, and a QUESTION_LAST_GOOD KV namespace as a last-known-good fallback.
  • Native Workers [[ratelimits]] (QUESTION_LIMIT, 100 requests per 60s on transit-data-proxy, plus a 60/60s telemetry limiter on transit1-web) runs inside the cache-miss admission path, so Edge Cache and R2 hits never burn a user's quota.

4. Two Workers streaming details that paid off immediately

  • enable_request_signal end to end: Enabled on both transit1-web and transit-data-proxy. If someone navigates away mid-query during streaming SSR, the abort signal propagates across the Service Binding so DuckDB stops doing wasted work.
  • Unbuffered streaming SSR with Z_SYNC_FLUSH: In hooks.server.ts, streamed HTML checks request.cf.clientAcceptEncoding and pipes through a Node zlib createGzip({ level: 1, flush: Z_SYNC_FLUSH }) transform with encodeBody: 'manual', so each SvelteKit chunk decodes immediately in the browser instead of waiting behind an edge compression buffer.

The repo is MIT-licensed and runs locally with bun run dev straight against the public data.yesid.dev/v2/* endpoints (no local DB, API keys, or Cloudflare account needed).

Happy to answer questions on the Service Binding / WorkerEntrypoint split, R2 byte-range PMTiles serving, the Containers fallback, or how the multi-tier cache behaves in production.


r/CloudFlare • • 20h ago

Self-hosting Durable Objects: celld, workerd, Rivet, Cloudflare

Thumbnail
contextmode.ai
31 Upvotes

Saw it on X.


r/CloudFlare • • 2h ago

What to request of my Client manager Access

Post image
1 Upvotes

Guys i am new to these field of hosting and all i wanna ask my client for basic manger access so that i can edit the website and redeploy as whenever the client asks.

But when i looked at it even i got confused on what type of access to give. Can u help me out.


r/CloudFlare • • 11h ago

Question What checks tell you a Cloudflare Worker 504 reached the visitor?

2 Upvotes

I work on Gateweave. While reviewing how we count HTTP errors, we found that a Cache API miss can appear as a 504 in the request logs even when the Worker returns 200. Cloudflare’s docs suggest tracing the parent request in logs and using requestSource eyeball when counting visitor errors in GraphQL.

For a small Worker, what external check do you keep alongside that alert? Would you probe a representative page, the specific route that showed errors, or both?

Cloudflare’s explanation of Cache API 504s


r/CloudFlare • • 17h ago

When migrating DNS providers, what has broken even after a successful zone-file import?

Thumbnail reddit.com
3 Upvotes

r/CloudFlare • • 11h ago

Question What should I put in the “logs or other evidence of abuse” and comments (Violent Threats and Harassment)

Post image
0 Upvotes

i filing a report against a site that’s doxxing and displaying their private information, what evidence should put to make cloudflare take my report seriously?


r/CloudFlare • • 13h ago

Question Cloudflare WARP help, when using WARP shows my location as in Iran

0 Upvotes

Started doing this recently, turning on WARP shows I'm in Iran (searches pop up in Persian and a lot of services become unavailable). Does anybody have any fix? I'm on the latest version of WARP, update did not fix.


r/CloudFlare • • 10h ago

I built an end-to-end encrypted, post-quantum, invite-only messenger that runs entirely on CF's free plan (Durable Objects + Pages). You can host your own

Thumbnail
gallery
0 Upvotes

cha7 is a small private messenger that runs on CF, 1:1 chats, groups up to 10, photos, voice, short videos, files up to 25 MB, P2P chat, P2P video calls, disappearing messages and Markdown formatting (paste an AI reply and it keeps its look). Everything is end-to-end encrypted in the browser; it installs as a web app on phones and computers. No phone number, no email: an account is a key on your device, and you get in only with an invite link.

Post-quantum: every message is sealed with X25519 and ML-KEM-768 (FIPS 203) together, like Signal's PQXDH, so envelopes recorded today stay closed to a future quantum computer. WhatsApp and Telegram don't do this for chats yet.

How it uses Cloudflare

  • One Durable Object per member (SQLite-backed) is their inbox: it holds their WebSockets (hibernation API), keeps sealed envelopes until every device has them, then deletes them. A second DO is the registry (invites, members, admin).
  • Pages serves the app; Pages Functions only forward /inbox/* and /api/* to the DOs, and throw away malformed requests before any DO wakes up.
  • Web Push straight from the Worker (VAPID, RFC 8291 for the one push with a payload: "incoming call").
  • Cloudflare Realtime TURN relays P2P chats and calls when there's no direct path.
  • Built for the free plan: live chats write nothing to SQLite, a woken inbox reads about 10–15 rows per request, rows are metered per sender with a daily budget, and an admin page shows the day's usage against the free limits. A group of 9 uses about 3% of the tightest limit a day.

For scripts and AI agents: cha7 send is a command-line bot with its own account, so a job or an agent can message you, end-to-end encrypted: cha7 send --to me "Backup OK". cha7 listen can take replies from you as orders.

What your server sees, honestly: who writes to whom and when, sizes, IPs. Never content, names or group membership: a group message is one sealed copy per member, and the server has no group object. Light forward secrecy, encryption key updated once per day (CF free tier-friendly), signatures and WebRTC calls are still classical, there's no deniability, and as with any web app, the code comes from the server. The white paper spells all that out, including a comparison with Signal, WhatsApp and Telegram.

Try it / read more

Run your own: about 15 minutes. Clone, npx wrangler login, one script makes the secrets and config, deploy the Worker and the Pages project, open the admin link. Steps: https://github.com/t0ma5/cha7#self-hosting

Feedback welcome, especially from anyone who has pushed Durable Objects hard on the free plan, or wants to poke holes in the crypto.


r/CloudFlare • • 17h ago

Cloudflare Systems Engineer interview

Thumbnail reddit.com
1 Upvotes

r/CloudFlare • • 1d ago

Beautiful holiday thoughts from the Cloudflare CEO

Post image
7 Upvotes

r/CloudFlare • • 1d ago

Cloudflare Blog Project Quantum Leap: Cloudflare will be fully post-quantum in 2027

Thumbnail
blog.cloudflare.com
114 Upvotes

r/CloudFlare • • 1d ago

This is paying off

Thumbnail
reddit.com
18 Upvotes

r/CloudFlare • • 1d ago

CloudFlare Added Post Quantum Encryption In CloudFlare Warp

Post image
1 Upvotes

CloudFlare Alr using the post quantum encryption Now


r/CloudFlare • • 19h ago

Open-source AI bot analytics that runs on your own Cloudflare account

Post image
0 Upvotes

I built Twinpage, an open-source tool that logs which AI bots (GPTBot, ClaudeBot, PerplexityBot and others) read which pages of your site. It runs entirely on Workers.

How it works:

  • A Worker sits in front of your site (route, a small snippet, or a DNS record) and logs bot hits by page into D1.
  • Bots from OpenAI, Anthropic, Perplexity, Google, Bing, Apple and Common Crawl are checked against the IP ranges those companies publish. The check is in memory; IPs are never stored. Spoofed "GPTBot" traffic shows up as unverified.
  • Pages that only render with JavaScript are rendered with Browser Rendering for AI crawlers, since they don't run JS. People and Googlebot get the normal page.
  • Tools that send Accept: text/markdown get a markdown copy, only if 97% of its words are on the real page.
  • Optional weekly checks of whether ChatGPT, Claude, Gemini and Perplexity mention your site, with your own API keys (cron + D1).

Stack: Workers, Hono, D1, Browser Rendering, TypeScript. Small sites fit the free tier.

Repo (MIT engine, AGPL dashboard): github.com/twinpagedev/twinpage-core

Happy to go into the IP-range matching or the D1 schema if anyone's curious.


r/CloudFlare • • 1d ago

open-source CRM for AI agents on Cloudflare Workers (apparently I had to)

7 Upvotes

Yes, I know. There are a million CRMs already. I built another one anyway and I have to get it off my chest.

In my defense, I built it for my own business first. I run an agency doing CRM implementation and GTM engineering, so I spend lots of time thinking about this stuff. I also love Cloudflare Workers, and I couldn't find a CRM that lived there. So now one does.

So the trend now, as I see it: agents are going to be (if they aren't already) the main users of CRMs, and humans are the guests.

Therefore, this CRM is built for agents:

  1. Any agent can plug in. MCP, CLI, REST and a TypeScript SDK. Pick your favorite.
  2. It's headless. There's a small control panel for the admin stuff, but no CRM UI to fight with.
  3. Have your agent vibe-code whatever front end you want on top of it, that fits exactly your business and your workflow.
  4. Apps you build with the TypeScript SDK authenticate using OAuth. All auth is implemented using Better Auth (or Clerk), not hand rolled.
  5. Permissions are granular, so you can hand an agent the keys without holding your breath. Per resource, an agent can read, propose a change for someone to approve (a human, or another AI agent), or just write.
  6. Gmail sync works today. More messaging platforms are coming, as long as they have an API.
  7. Every write to the CRM is auditable (there’s an event log)
  8. MIT licensed. Take it, fork it, do weird things with it.

It runs on Workers + D1 + R2 in your own Cloudflare account, so there's no hosted service and nobody else holds your data. I'm considering adding a Postgres adapter.

I'm sure there are rough edges. Please try it, tell me what worked/broke. If you like it, a star helps. And if you don't, that's fine too, I'll cry quietly.

Repo: https://github.com/benocodes/crm (Yes! Star/fork it now!)
Docs: https://docs.vibase.ai


r/CloudFlare • • 21h ago

please help to see if i fell for this cloudflare scam

Post image
0 Upvotes

hi, i was pretty high and i was on a website that was legit but the cloudflare seemed to be hacked. I was pressing random buttons but kept opening the windows r thing but i was trying to hold it down ebcause i thought it was trying to get me to do something else. Anyways, I dont recall if i ran a command or not because my pc usually runs quick cmd prompts for other applications. When I opened the windows R thing again my last used command was the same that i used before (not the malicious line). How can i check to see if i actually did paste it?


r/CloudFlare • • 2d ago

Email Service Is Not For Sending Personal/Business Email

114 Upvotes

With all the posts recently on replacing Gmail or moving Email to Cloudflare, you can tell people aren't reading the docs. Email Service is for sending transactional email only. It also must comply with applicable anti-spam laws and regulations to maintain good standing and deliverability including

  • CAN-SPAM Act (United States)
  • GDPR (European Union)
  • CASL (Canada)
  • Include proper unsubscribe mechanisms
  • Honor opt-out requests promptly

https://developers.cloudflare.com/email-service/

https://developers.cloudflare.com/email-service/platform/limits/


r/CloudFlare • • 1d ago

Community I tested Cloudflare Error 1015 to see what actually triggers it

1 Upvotes

I recently ran some tests on a Cloudflare Free plan to understand exactly how Error 1015 behaves.

I configured a rate limiting rule, reproduced the error using curl and Chrome, and checked the HTTP responses and recovery time.

A few interesting findings:

  • The blocked requests returned HTTP 429.
  • The Retry-After header indicated the remaining wait time.
  • Other pages remained accessible because the rule targeted a specific path.
  • Repeated requests triggered new blocks.

I've documented the entire experiment, including screenshots, commands, and troubleshooting steps for both visitors and website owners, on my blog:

https://igprod.net/cloudflare-error-1015

Curious to hear how others configure their rate limiting rules without accidentally blocking legitimate visitors.


r/CloudFlare • • 1d ago

Zero-dep Ed25519 + ML-DSA-65 OpenVEX signing & CBOM on CF Workers

1 Upvotes

I built CRA-Switch (operated by The Peripety Company, LLC), a zero-dependency Cloudflare Workers tool and Node 22 CLI for EU Cyber Resilience Act (CRA) Article 14 vulnerability monitoring, OpenVEX signing, and CycloneDX 1.6 lockfile CBOMs.

Yesterday's Dec 2 CISA/NSA/ONCD and industry PQC statement (accelerating EO 14412's 2030/2031 deadlines) surfaced a concrete problem in EU CRA compliance engineering: EU CRA Art. 13(13) (effective Dec 11, 2027) requires manufacturers to retain technical documentation and EU Declarations of Conformity for at least 10 years after placing on the market, or for the support period, whichever is longer (2036+). While the CRA does not mandate PQC or Ed25519 signatures, teams cryptographically signing 2026 compliance artifacts with Ed25519 alone produce audit bundles whose classical signatures outlive 2030/2031 federal and enterprise PQC transition timelines.

So in v1.2.0 I wired two things without adding a single runtime dependency (dependencies: {}):

  1. Hybrid Ed25519 + ML-DSA-65 (NIST FIPS 204) co-signing on Cloudflare Workers. Using the opt-in webcrypto_modern_algorithms flag (backed by BoringSSL in workerd), the Worker signs canonical JSON payloads for /.well-known/vex.json and 10-year customer-owned AWS S3 Object Lock evidence bundles with both Ed25519 and ML-DSA-65, exposing keys via /.well-known/jwks.json (OKP + AKP JWK, kid: mldsa65:cra-switch-pqc-v1). Existing Ed25519 verifiers keep working unchanged while PQC verifiers can validate the 3,309-byte ML-DSA-65 co-signature today.
  2. Dependency-level CycloneDX 1.6 CBOM (--cbom). Honest scope note upfront: this is a lockfile/dependency heuristic across npm, PyPI, Cargo, Go, and Maven — *not* source-code AST or call-graph analysis. It will miss stdlib crypto calls (e.g., node:crypto or Go crypto/rsa) and cannot prove whether an imported crypto package is reachable. For deep AST or binary analysis, run IBM cbomkit and pipe its CycloneDX 1.6 JSON in. Lockfile CBOM is the <1s zero-code-execution 80/20 pass to surface third-party classical RSA/ECC/Ed25519 packages with NIST FIPS 203/204 (ML-KEM / ML-DSA) migration hints.

On the CRA Article 14 side (reporting went live Sept 11, 2026), raw KEV/EUVD lockfile hits start in triage_required (4h internal SLA) rather than immediately tripping the statutory 24h ENISA clock, and CRA-Switch never auto-submits (autoSubmitted: false).

Zero-signup checks:

npx -y u/craswitch/cli scan --cbom --json

Sample output (lockfile heuristic, NOT AST):

Crypto Deps: 4 | Quantum-Vulnerable (Shor): 3 | Weakened Symmetric (Grover): 1

- elliptic@6.5.7 -> ML-DSA (FIPS 204) / ML-KEM (FIPS 203)

- jsonwebtoken@9.0.2 -> ML-DSA (FIPS 204) hybrid JWT/JOSE

- node-forge@1.3.1 -> ML-DSA (FIPS 204) + ML-KEM (FIPS 203)

- crypto-js@4.2.0 -> AES-256-GCM + SHA-384/512 via WebCrypto

Live canary (/api/health):

pqc=ML-DSA-65 kid=mldsa65:cra-switch-pqc-v1 sig=3309B verified=true tamper_rejected=true

Browser scanner (with 1-click CBOM Demo): https://craswitch.dev/tools/scanner

Live 2026 KEV/EUVD feed: https://craswitch.dev/feed

Live dual JWKS & hybrid VEX: https://craswitch.dev/.well-known/jwks.json and https://craswitch.dev/.well-known/vex.json

Remote MCP (3 free zero-auth tools): https://mcp.craswitch.dev/mcp

Happy to answer questions on BoringSSL ML-DSA-65 JWK serialization, lockfile CBOM false positives, or EU CRA triage edge cases.

(Disclosure: Independent B2B tool by The Peripety Company, LLC (Maine, USA); advisory aid only — not legal advice, never auto-submits to ENISA; not affiliated with or endorsed by CISA, NSA, ONCD, ENISA, Cloudflare, or IBM.)


r/CloudFlare • • 2d ago

Cloudflare Blog Varlock is joining Cloudflare

Thumbnail
blog.cloudflare.com
76 Upvotes

r/CloudFlare • • 2d ago

Open-sourced a personal webmail that runs entirely on Cloudflare (Workers + Email Routing + D1 + R2)

11 Upvotes
Built this because Gmail is removing “Send as” for third-party addresses (including Cloudflare Email Routing domains) in Jan 2027.
Flaremail is a single-user personal mailbox that runs fully inside your Cloudflare account no separate mail server needed.
Uses Workers, Email Routing, Email Sending, D1, R2, Queues and Access.
Repo (still early): https://github.com/unknownhad/emailflare
Happy to hear feedback or ideas from other Cloudflare users.

r/CloudFlare • • 1d ago

can someone help me in this one

Post image
0 Upvotes

so guys i have been having a prblem with a site called https://www.dzexams.com/ witch i need it cuz i am a student and i need it for my studies but recently i will be stock on this thing for hours witch is annoying and yah i tried evrything i could and it didint work so can someone please tell me a sollotoin or perhapse tell me if i am like banned so i dont waist time on this thing and thanks :D


r/CloudFlare • • 2d ago

Discussion Building a Worker to Auto-Detect and Block Bot Attacks on a Woo Site

3 Upvotes

We see a lot of bots hitting our clients' sites, so I got to thinking, what about setting up a CF Worker to automate things? The one site I want to do this on is a Woo site on Kinsta and they have their own Cloudflare Pro. This site gets hit constantly and I'm tired of playing whack-a-mole by hand. Over the last few months we've dealt with:

  • Card testing on checkout / Store API
  • SQLi scans on search
  • Spam account registrations and comment/review spam
  • Crawlers hammering faceted filters (filter_, min_price, etc.)
  • A bot using the host's temp domain to bypass CF entirely (since closed)

Today, twice in 12 hours, a PDP flood from ~900 rotating residential IPs using Google Shopping srsltid params with a spoofed same-site referrer. PDPs aren't cached (client needs instant stock), so it maxed out PHP and took the site down

Current setup is 12/20 custom rules and 2/2 rate limit rules (maxed on Pro). I have rules for card testing, SQLi, XML-RPC, filter crawling, ASN/VPN challenges on checkout, AI crawlers, and a catch-all bot block rule. Can't use Super Bot Fight Mode because it breaks ShipStation and other webhooks/API traffic, even with allow rules.

Problem is every new attack means me finding it in the logs after the fact and hand-writing a new condition.

My Plan is a Worker on a 5 min Cron that

  1. Pulls the last 5 min of traffic from the GraphQL analytics API
  2. Looks for patterns across the whole site, not just one attack type: request spikes by ASN, UA, path, query pattern, referrer, POSTs to checkout/login/register, etc.
  3. When something crosses a threshold, writes it into the existing catch-all block rule via the Rulesets API (no new rules, no IPs since they rotate)
  4. Logs each entry in KV with an expiry so it drops out after X days and doesn't block real customers forever
  5. Never touches verified bots, payment/shipping webhooks or /wp-json integrations
  6. Pings me when it adds or removes something

Questions

  1. Is GraphQL analytics on Pro enough for this or will I hit limits on breakdowns/lookback?
  2. Better signals than ASN/UA/path that are available on Pro? (I know JA4 is Bot Management only)
  3. Anything built into CF I'm overlooking that would do this without a Worker?
  4. Anyone already doing something like this, and what bit you?

Am I missing anything here? Solid?