Lurker News
A few hours ago I switched my nameservers to Cloudflare in order to enable R2 bucket serving through my own subdomain, and I found out that it silently had injected a JS analytics snippet in my HTML-only JS-free site textlog.cc — I had to go to the Analytics dashboard, Add the site to the analytics and then disable the snippet. I find this approach entirely invasive, you should opt-in to features like that not have to opt-out. Just a warning out there to folks who might not be aware of this.

Comments (202) 49 threads

leinwand11 replies#
You are right that Cloudflare enabled these analytics by default for our free plans in Septemeber of last year.

We 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...

dchest#
> measure and improve your website speed

inserts 31KB JavaScript into tiny HTML pages.

tredre32 replies#
If RUM is such a good thing, why is it opt-in for paid users? Why push this gracious gift only onto free users?
tacitusarc2 replies#
I have broadly good feelings about Cloudflare but this warrants a response.
hecturchi#
Because if something is free, you are the product.
anon700015 replies#
Because paying business customers are a lot more sensitive to this type of change rolling out. They are particular about how they want their shit hosted. Which is totally fair. People on the free tier probably a lot more interested in free benefits and care less about a little change in their hosting.

Continue this thread — 15 replies

socalgal21 reply#
Just guessing.

* Cloudflare is giving you a "free" service - they'd like something in return. Seems reasonable to me
* Paid customers are usually business that have different needs, on average, than free customers

jnovek#
> Seems reasonable to me

Only if they make it clear what they’re taking in return.
It seems like almost no one in these comments was aware of this, they announced it but that announcement apparently didn’t reach most free customers. Cloudflare can do what they want, but now a bunch of people (myself included) trust them less and are less excited to recommend their paid products.

oefrha2 replies#
Wow, this is ridiculous. Sites that have been running on Cloudflare for a decade+ silently got the treatment. Why the hell was there never a big banner telling me about this? I frequently log into the console.

I get it that by being on the free plan (well I do pay for Registrar), I'm the product, but I also converted employers to paying customers of yours based on goodwill. This just destroyed about all of that, among other things. If I haven't given a damn about "powerful, in-depth monitoring solution that helps you debug and optimize applications" in over a decade, I certainly won't suddenly be "excited" about it when you sneakily inject it.

justsomehnguy#
You can contract your comment to "I'm the product" and nothing would actually change.
mlrtime2 replies#
You get something for free, they announce it and you complain about not having a bigger announcement?

If they had the banner and you missed it [or someone else] they would complain about the banner not being big enough.

oefrha6 replies#
> they announce it

Forgive me for not subscribing to their blog? That's not how you announce changes to customers.
Using a Level 7 CDN is based on trust. This is not a trustworthy action, period.

Continue this thread — 6 replies

taspeotis1 reply#
I bet those decade+ sites have been silently upgraded to TLS 1.3 too! Where are the complaints for that?

Continue this thread — 1 reply

deaux#
> It is on by default for free sites fr the reasons we wrote about in the blog post below.

Nowhere in the blog post does it give the reasons why it's A. on by default for free sites B. off by default for paid sites.

Puts#
What an amazing display of double speak. The only thing I didn't get is how is the DOW doing?

Btw I remember another time you tried to manipulate the DOM of peoples websites. It lead to Cloudbleed.

schubidubiduba1 reply#
Not sure what is more appalling. Silently injecting javascript tracking, or writing a marketing-speech response like this without any substance at all
Scaled#
While bad, this is far from the first problematic cloudflare behavior. They host a lot of sites with illegal content and refuse to action abuse reports. I support legal free speech, but any business who knowingly serves blatant pirate websites really shouldn't be trusted to behave ethically.
sunaookami1 reply#
Is this even GDPR-compliant?
hinata082 replies#
> Rather than count unique IP addresses (requiring storing state about each visitor), we simply count page views that originate from a distinct referral or navigation event, avoiding the need to store information that might be considered personal data.

They don't store IP addresses (but other referral ids that identify users in a different way) ; and they exclude EU visitors by default.
You do your opinion

sunaookami#
Just saw that in the dashboard: "Enable globally", "Exclude EU". Kinda funny (in a bad way)
Mystery-Machine#
> they exclude EU visitors

GDPR is applicable on EU citizens, disregarding where they browse from. So either they have to track whether you're an EU citizen/EU visitor or they track EU visitors when browsing from outside of EU. This makes it not GDPR compliant.
The main issue is that your privacy policy is most likely not mentioning this third-party tracking because you were not even aware of it. Who is going to be responsible? Who is going to be fined for not mentioning this tracking in _your_ privacy policy? You. (Your company)

jwr#
> "gives site owners actionable performance data they would not otherwise have"

As I understand, the next step will be to inject ads, to give CloudFlare actionable monetization strategies they would not otherwise have.

stagas#
That’s cool, make sure I see it however on the onboarding screens. Big green switches (Proxy, Web Analytics) that I have to scroll through to get to the Ok so I can turn them off there.
boesboes#
[flagged]
swordsith#
Yeah not telling people you're doing the equivalent of css on their website is diabolical dude. You should be ashamed.
1vuio0pswjnm72 replies#
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 data collection, surveillance and advertising services company that operates a www search engine and releases a web browser may not want an ISP to inject scripts, etc., e.g., analytics, ads, etc., into web pages as it might compete with the company's business. As a defense against such ISPs and other third parties that are potential competitors for data collection/surveillance/advertising services, it might favor HTTPS sites in its www search engine results, promote HTTPS at conferences discussing its web browser, etc.

okzgn#
Thanks for the background context, very interesting and realistic. Yes, of course it also has read/write access, though I always make sure there’s no interference of that kind. It has only happened to me once, where a binary I hosted on Pages didn't work when downloaded with wget (though that happened several years ago).
1vuio0pswjnm71 reply#
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 Cloudflare (CF) operate DNS and direct traffic through its proxies gives CF control
It's interesting to see how they use it under market pressures

zmgsabst8 replies#
This is a tangent, but your setup sounds interesting to me — would you share more about how to configure such for myself?

Continue this thread — 8 replies

pcmaffey1 reply#
Also can add "Cache-Control: no-transform" header, which prevents modifying the payload.
hahn-kev1 reply#
Does it prevent it? Or just request it? There's no way to enforce that is there?
chrisweekly#
CF owns it all, coming and going (request handling and response writing), thus can choose how/whether to interpret, ignore, modify or append any headers.
robin_reala#
script-src 'none' is a more secure solution.
traceroute663 replies#
I have "Enhanced Tracking Protection" strict mode enabled in Firefox and surprise surprise it is allowing `static.cloudflareinsights.com` not blocking it.

So much for "Firefox shields you as you browse, blocking trackers automatically so you’re in control of your digital trail" Mozilla.....
Edit to add:
I have been doing a little experimenting, it looks like there might be some sort of hardcoded whitelist somewhere in Firefox ?
When I first wanted to check, I visited `cloudflare.com` as it seemed the obvious place to find `static.cloudflareinsights.com` and Firefox shield blocks nothing there (hence I made this post)
However, then I tried to find a different site, and after a bit of random searching/clicking around I found `www.tenforums.com` and `static.cloudflareinsights.com` is blocked on there.
Its not a first-party domain thing, since cloudflare.com != cloudflareinsights.com.
Surely `static.cloudflareinsights.com` should be blocked everywhere in strict mode, no exceptions ?
Interestingly, when testing other sites, I have also been discovering other things Firefox shield is failing to block, e.g. `browser.events.data.microsoft.com` (tested on a non microsoft.com site)

Topfi1 reply#
Standard, Strict or Custom? Strict should block that one for sure, will check once at home.
traceroute661 reply#
I just double checked `about:preferences#privacy` is "Enhanced Tracking Protection: Strict" and clicking "Advanced Settings" confirms the radio button is indeed under "Strict".

Firefox 153.0.4

Topfi2 replies#
Just saw the edit, all clicked now. As described this is expected behavior. The entitieslist (can't link right now because Github is down but got a local copy for some experiments) contains exceptions for owners of tracking URLs, in this case as a resource for Cloudflare.com and others owned by them only. Basically, because they are the same entity, they are considered one. Whether that could be communicated better by upstream, that's worth a discussion. Anyone besides Cloudflare.com has cloudflareinsights blocked.

Here the specific entry for context from my local copy of ESR 153:
{

  "entities": {

    "Cloudflare": {

      "properties": [

        "cloudflare-quic.com",

        "cloudflare.com",

        "cloudflare.tv",

        "cloudflarestatus.com",

        "cloudflareworkers.com"

      ],

      "resources": [

        "cloudflare.com",

        "cloudflareinsights.com",

        "cloudflarestream.com"

      ]

    }

  }
}

On a side note, spent a while learning how upstream Firefox works in-depth over the last few months, if ETP didn't block cloudflareinsights on pages outside Cloudflare.com I'd have lost any confidence build up and my project would likely linger even longer. Might just add a setting that totally excludes such exceptions if I can properly test it before release, seems there might be demand. Admittedly more for UX and honest communication clarity reasons (top setting truly prevents everything) then privacy, not the main goal of Hominis as a project.

Continue this thread — 2 replies

cryptonym#
cloudflareinsights.com seems to be part of their list. If you see unexpected tracking, it could be worth reporting it to Mozilla.

Continue this thread — 1 more reply

Load more comments