Earlier quoted context omitted.
I have no idea what 'the orange cloud icon' means, as I'm not a CloudFlare used. But DNS/Name servers do not see HTML traffic, as the above poster mentioned, so it's not obvious how this change would matter. Is it that they are serving their HTML via CloudFlare, and cloudflare is making changing in its serving of their html?
Cloudflare sets up a reverse proxy as part of their core offering, so by default they can MITM your proxy. The “orange cloud” by a DNS record means it points to their proxy instead of your server.
Tell HN: Cloudflare silently injects its analytics when you switch nameservers
81–90 of 217 posts
Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#82Earlier quoted context omitted.
When you set up CNAME and certain other records in Cloudflare DNS, it defaults to (and heavily discourages you to disable) "proxied" records, which I believe means that the record points to a Cloudflare-owned host which then acts as a reverse proxy to whatever value you'd set. So from the console it looks like you've set the CNAME to a certain value, but in practice it'll be set to a different thing and transparently…
On the other hand. Proxying websites (for ddos protection, cdn, etc) is their primary product. Its what they are known for. I think a better question is: why would you be using cloudflare, if you didn't want that?
Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#83We built Real User Measurement (RUM) into our free plans because it gives site owners actionable performance data they would not otherwise have. It is on by default for free sites fr the reasons we wrote about in the blog post below. It is easy to disable if you don't want it on. All of our paid plans are opt-in only.
This also gives free plans access to our Observatory product at no cost. Observatory is a performance-monitoring tool inside the Cloudflare dashboard that combines real user data with simulated lab tests to help you measure and improve your website speed.
Blog post: https://blog.cloudflare.com/the-rum-diaries-enabling-web-ana...
Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#84cloudflare is malware, what did you expect?
Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#85Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#86Earlier quoted context omitted.
If Cloudflare (CF) has r/w access to the response body, which CF does have by default, then CF can easily modify or remove that tag. The risk is not abated The risk of third parties injecting scripts, etc., e.g., analytics, advertising, etc., into response bodies (web pages) is usually cited as a rationale for using HTTPS^1 CF somehow avoids the usual objections. CF is a MiTM but few people object 1. For example, a d…
FWIW, I operate own DNS (including own custom root.zone) and I MiTM own TLS traffic with a localhost forward proxy. With this setup I get r/w access to response bodies, I add a CSP as an HTTP response header, and a long list of other traffic manipulation. There is no tracking, ads, telemetry, etc. Nothing leaves the computer unless I allow it. Operating DNS plus forward proxy gives me lots of control Letting Cloudfla…
Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#87Earlier quoted context omitted.
Cloudflare sets up a reverse proxy as part of their core offering, so by default they can MITM your proxy. The “orange cloud” by a DNS record means it points to their proxy instead of your server.
What a shame. I wasn’t expecting these dark patterns from Cloudflare at all.
Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#88Earlier quoted context omitted.
Also can add "Cache-Control: no-transform" header, which prevents modifying the payload.
Does it prevent it? Or just request it? There's no way to enforce that is there?
Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#89Yikes! I see this too: https://static.cloudflareinsights.com/beacon.min.js/v4513226... " integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon='{"version":"2024.11.0","token":"c0859b51a7804ab5a9cc8e9e2b2c4cde","r":1}' crossorigin="anonymous">
Yup, I explicitly had all anaytics turned off. But had a few sites using Cloudflare for caching. Now I'm checking and seeing this on all of them. This is gross and unacceptable. "Caching" does not mean "modifying my site".
Re: Tell HN: Cloudflare silently injects its analytics when you switch nameservers
#90If you're only using Cloudfare for DNS, but HTTPS connections go directly to your server, how does it inject HTML? You must be allowing Cloudfare to terminate your HTTPS connections; i.e. using them for actual proxying.