Daily reminder that sites “protected” by cloudflare are effectively MITM attacks. HTTPS is now even more worthless. Cloudflare can see everything. this is a known fact and not a theory.
And if you think Cloudflare aren’t being tapped by the NSA, you’re sadly sadly naive.
All the “privacy respecting” sites use it too. So remember, as soon as you see that cloudflare portal page, you can assume that everything you plug into the site is property of NSA Inc. Trust no one, and do not trust code being served to you over the web if it comes through CF, there is no way to know what they’ve modified.
BTW, can someone recommend me nice alternative for fast and free static website hosting?
I tried GitHub Pages, but I couldn’t get it working with subdomains.
If you aren’t hosting it isn’t private. It is a rock and a hard place.
Use that random laptop/pc/phone/rasperry pi/whatever you have laying around
Unfortunately I can’t do that with my ISP. Cloudflare tunnel would be an option, but out of obvious reasons I don’t want to use it.
I think I’ll try Codeberg Pages.
Anyway, thanks for your comment.
codeberg seems to be pretty decent. can also recommend neocities if you only have static stuff.They are one of least bullshit hoster ive ever seen
Cloudflare is a MITM by design. Calling it an attack is disingenuous; you’re signing up for the service of your own free will, not a victim.
If a substantiated news article came out showing that Cloudflare shared SSL keys or otherwise gave direct access to various intelligence agencies without a court order, that would essentially destroy the company. So they certainly aren’t doing that.
So then the question becomes whether those nefarious three letter agencies penetrated Cloudflare with APT tools and are silently listening to everything. Our adversaries are certainly trying, China, Russia, Iran, etc. If the NSA (which lacks a mandate to act on US soil, and CF is a US company) or perhaps the FBI hacked a US company, particularly one that covers like a third of the internet like Cloudflare, that would be a truly enormous scandal.
But in the end, yes, it is a MITM. If you need your data to be E2E encrypted, don’t use it.
What concerns me is that we really do not know what the three letter agencies are capable of. They operate outside of the demographic government. Many Americans are increasingly losing faith in the government and secret government programs do not help. It causes what is known as a chilling effect. People start self censoring which is very dangerous and harmful to democracy. Democracy needs transparency not secrecy.
But in the end, yes, it is a MITM. If you need your data to be E2E encrypted, don’t use it.
Or do use E2E encryption. You can still have a layer of encryption within the SSL tunnel that cloudflare controls. Like you’d do for an E2EE filestore: the webserver (and cloudflare) see the website woosh by, and all that you do on it, but the files themselves are encrypted opaquely to both, and decrypted only by a browser at the other end.
I could imagine the NSA embedding an agent inside Cloudflare specifically to keep an eye out for any foreign agents also being embedded in Cloudflare, rather than to dig out its secrets for themselves.
In the 90’s telcos were exposed as providing a connection for feds to duplicate any and all comms.
I’m sure the TLAs work closely in conjunction with all companies responsible for internet infrastructure, yeah. That is their mandate.
They have the money to do it. And historically, the CIA has done similar things globally for decades
Maybe I’m just jaded and cynical but it won’t “destroy the company” even if it comes out like that. The laws don’t apply to people at the top
If a substantiated news article came out showing that Cloudflare shared SSL keys or otherwise gave direct access to various intelligence agencies without a court order, that would essentially destroy the company. So they certainly aren’t doing that.
excuse me, what?? The Snowden documents came out showing all these companies literally giving over all their data to the NSA like it was water from a spring, and they are all still in business. AT&T, facebook, google, microsoft, dropbox, etc. Yet you claim somehow cloudflare would be destroyed?? This isnt even funny bro.
more recently, Hetzner was showed to have given backdoor access to the feds, yet people still buy VPSs from them, and in fact, 20% of TOR guard nodes are sitting on their infra RIGHT NOW!
Case in point: people using such companies either don’t care or are really ignorant or stupid.
Can you give a source on the Hetzner claim? I’m curious and didn’t find anything online
isn’t the US law so that companies need to cooperate with the alphabet boys? there’s no “safe” place
not in the US anyway
yeah, that commenter was writing as though PRISM never happened lol
the NSA (which lacks a mandate to act on US soil, and CF is a US company)
They absolutely do have a mandate to operate on US soil, that is actually the main mandate and there is a separate military agency (CNMF) that operates on foreign soil. They are both headed by the same guy though so they might as well just be one agency.
I don’t believe that the NSA has a portal giving them direct access (probably naive).
They definitely have a secret agent 🕵️♀️ nerd on the inside providing intel on the structure. Maybe inject exploits or guide them when needed.
They definitely have a direct e-mail address to cloudflare legal to serve national security letters that cloud flare is obligated to comply with. Which is a portal with extra steps, but which cloud flare can raise a fuss if they notice the requests are turning into vacuum cleaners, and not union membership research.
Internet traffic gets mirrored to NSA data centers, that’s old news from the Snowden leak.
I’m basically running all my self-hosted services over CF tunnels. Does anyone have a suggestion for an alternative to this? I’d like to remove CF from my life, but not at the expense of poking port holes in my FW.
Yes there are a bunch of self-hosted options like frp, all of which require an endpoint on the internet somewhere, typically a cheap or even free VM. Here’s a pretty comprehensive list:
Thanks so much. Now I have another way to avoid my family this weekend 🤣🤣
Remember not to compromise security in favor of privacy. To me they’re both important, but security wins every time.
Remember that services directly accessible over tunnels, whether from cloudflare or frp or ngrok or whatever, are directly accessible over the internet. So if any of those various self-hosted services have a remote vulnerability, and EVERYTHING does sooner or later, you will be exposed. This is why I personally WG VPN to my home LAN rather than exposing most of my stuff via any sort of tunnel. Tailscale is another option I often recommend.
I do use CF tunnels for specific purposes; Home Assistant Google Home integration for example, but I secure that via their “zero trust” authentication by validating incoming IP ranges, so only Google can reach the tunnel in the first place, everybody else is stopped by Cloudflare. For other services with human users, I have them authenticate via github or google oauth first. I also run all services accessible by the internet by any means on a restricted VLAN firewalled off from the rest of my LAN.
Agreed. I have a lot of homework to do before I even know which way to leap to.
Very true. But nobody cares or believes it. When you start saying that US made hardware like network switches, cryptographic algorithms, telecom radios, etc all have backdoors to the 3 letter agencies in 5 eyes plus the internet distribution over cloudfare or “the cloud” in Google, Amazon, Microsoft, then people just think you’re a tin foil hat conspiracist.
The people are too stupid and ignorant to care enough to demand change. Why did the US lobby so hard to get Huawei off market? Because of course there are backdoors into the Chinese intelligence agencies. JUST LIKE US DEVICES! But nobody seems to make that correlation. China bad, China hardware spying bad, is the only thing they can get in their heads.
Good to bring it up, but nothing will change. 99.9% of people don’t know what DNS or proxiing or caching is let alone Cloudfare. It’s just “the internet”. Some are aware of some agencies the US and five eyes have, but most don’t believe what they actually do and are capable of. The US is the best producer of propaganda in the world. Hollywood is amazing at it, as are US media sources. The FISA bill that just came up for reauthorization and passed had a whole PR campaign about catching terrorists and stopping Russia and China and Hamas. Nobody stopped to think how and why they even have any of that info in the first place and how it’s collected.
Keep being the crazy uncle ranting about government spying because the world needs it.
nobody cares or believes it
I mean, this community exists because people care and believe it. But sure doom, gloom, etc
factual statements. many people do know and care, but yeah, most people have no freaking idea what’s going on, let alone care. Even “privacy” people often don’t care.
I’m all for healthy paranoia, keeping my attack surface small. That’s just professional IT ops.
Incendiary statements like saying US intelligence compromised the supply chain with hidden backdoors, those really do need to be substantiated to not sound like a crazy uncle. Our adversaries have counterintelligence also, they aren’t incompetent, and if Cisco or Juniper or whatever planted backdoors in hardware shipped to China, the Chinese would make a ton of noise about it. And so would we; Huawei was banned without any substantiated proof, out of fears that if used, their 5G infra could have hidden backdoors and the hardware would be so widely distributed that it would be onerous to replace.
The Chinese are still laughing because they covertly using their EV cars as trojans
I’m being downvoted for telling the truth?
Same reason why Teslas are banned on Chinese military bases. Data goes back to US servers that are accessible by the US government at any time.
True, but that isn’t a justification for the Chinese government attacking human rights.
And what is the justification for the US attacking human rights?
The different in the US is that the US constitution grants US citizens protection and protects against totally tyrany. It is very much not perfect and the US is full of problems but at the end of the day I can still have my own beliefs without being in danger. Mass surveillance is very dangerous and I think it is a violation of what the US should stand for but the US still protects freedom.
Also I do not think the US should be compared to China. At the end of the day two wrongs do not make a right. We should uphold strong ethics and be champions of individual freedom and democracy. We should challenge anything that we disagree with as the people need to be active in the government. If you challenge the state party in China you will be jailed or worse.
The US has some dark history but we don’t bury it. Think slavery, Asian interment camps and South American conquest.
Lol that piece paper is not a god. It’s useless jibberish written by traitors starting a now failed nation.
You have no rights in the USA. Everything you’re granted as a right, you are also denied as a right by other laws. It’s the playbook of a tyrannical society. Name ANY law that you have a right to, and then look up to find another law taking that exact right away from you.
Just like a tyrannical society, you’re guaranteed nothing. But you can fly under the radar if you agree with the political powers that be. Which is no different than any country at any point in history.
There is substantiated proof of Cisco and Juniper switches having US government backdoors through the management ports. They also have the capability of decrypting everything that passes through them and mirroring to an external host.
I cannot say any more other than you will find that the NSA continuously denied all the backdoors that global security researchers were finding and Cisco denied putting them in. You will also find in leaked Snowden documents absolute proof that the NSA was behind it and did implement the backdoors and they do exist and work.
I at the time being a lowly semiconductor designer with access to unreleased networking gear from the big guys, cannot say anything about what I know those spying piece of shit devices do. But I will say, go look up the Snowden documents. They speak louder than any random on the internet.
And China has made a stink. It’s one reason their great fire wall is setup. It does somewhat prevent citizens from using western tools, but they know they do and really don’t care much. What it really is, is a way to monitor everything in and out. All the edge is Chinese hardware, no backdoors for the five eyes. Those prevent the backdoors, that are known or theorized, to be used. So essentially they are backdoored equipment inside a security fence that disallows the backdoor to establish a connection. Bad actors from within could make this bad for China. Or very very tricky phone home algorithms, but you have to be careful how it’s implemented in unfriendly territory.
Most of the other countries just don’t give a crap. If the Ivory Coasts data is being spied on by the 5 eyes or China, they don’t care. Nobody cares about them either. It’s just the sad state of world power. Those that care, have a side.
Did you seriously just say that the Chinese firewall is to prevent backdoors? Fun fact, it isn’t. It is a censorship and control tool that keeps the Chinese people from seeing anything but the official narrative.
I do agree that hardware backdoors are bad though regardless of the country. We need more transparency so that multiple parties are monitoring for bad activity.
You’re both completely wrong. This is the narrative the five eyes and three letters need you to believe.
More important and more funded than domestic spying, US intelligence exists to facilitate regime change. The objective is to have both dragnet and targeted surveillance to obtain leverage (for strategic leverage, blackmail, or comms interception) over foreign political, social, and business leaders so they can maximize the unequal exchange between the US & developing countries.
Keeping Africa, South America, the Middle East, and South East Asia from developing through political and social instability not only prevents them from competing with US exports, but more importantly keeps their economies dependent on natural resource exports, which they need to sell for cheap because they are dependent on technology imports.
China as a manufacturing powerhouse threatens these unequal trade arrangements by supplying these undeveloped or developing countries with manufactured goods and technology, and thus is one of the primary targets of US covert regime change operations. (Also why you see news media crying bloody murder about China’s “dept trap diplomacy”). Much of this also applies to other developing powers that resist being imperialized or oppose US geopolitical goals like the USSR/Russia and Iran.
So purpose #1 of the great firewall is to prevent the US from controlling its social and technology sphere and using it to cause instability.
Purpose #2 is economic protectionism for China’s high tech sector. China knows that as long as it remains primarily industrial / low tech manufacturer, it will always be threatened by US intervention.
By moving to high tech, China can eliminate its reliance on Western technology imports, eliminate threat vectors for adversaries to slip in, and let other rising nations like Vietnam, Brazil, Malaysia, and Mexico take some of the heat off them by outsourcing its manufacturing there. China also gets to benefit by having cutting edge tech that will benefit its public health, increase education levels, strengthen its military, and form the basis of its post-industrial economy.
China “enforcing the official narrative” insofar as controlling public opinion is of far lower importance than denying the west avenues to destroy its society. China is incredibly diverse and a quick peek into Chinese social media reveals no shortage of western culture fetishizers, religious quacks, conspiracy theorists, anti-vaxxers, capitalist enthusiasts, shit talkers about political figures, and people pushing back on “the official narrative”. VPN usage is widespread. People read, share, and meme western news and social media.
Yes they censor posts, no they don’t do that great of a job at it…because the goal isn’t censorship, its about denying the West the ability to exploit discontent to destabilize the country.
See also:
- Tibet in the 50s & 60s (notice the gap here, when the US thought China would be a useful bludgeon against the Soviet Union & allies)
- Student protests in 1989
- Honk Kong in 2019
- Xinjiang when the US was in Afghanistan
- Taiwan tensions and weapons sales ramping up now
All of these being natural internal tensions exploited with great effort and to great effect by the US through mass media campaigns, radicalizing extremist and separatist groups, weapons transfers, and direct involvement in helping people commit violence.
And the US isn’t Russia buying $10 million worth of Facebook ads and running not farms, this is the most developed, most funded, and most sophisticated intelligence apparatus in history. One so large, people with an interest in politics and spying, cannot name all the publicly known agencies without missing 5-10.
You can quote me on this, if the US were to fall in the coming decades, the firewall would also fall within the year. Though, I suspect the US will just languish with internal infighting once the petrodollar loses reserve currency status and China takes the firewall down around 2035 once there aren’t powers posing a credible threat to its security.
You can tell your self what ever you want but China still attacks journalists. You can’t even get on Reddit in China or use Signal or other encryption. It has nothing to do economic prosperity or anything like that. China is an authoritarian government who doesn’t want to lose control.
What I said doesn’t disagree with what you said.
There is a ton a proof of Chinese hardware backdoors. It started with some dude wondering what a particular chip on the board did.
The Superchip China microchip spying story by Bloomberg was a conspiracy theory long proven false. Even Amazon had to say it is too ridiculous.
It has been verified by multiple sources. There were even some YouTube’s who tested it.
It isn’t something you can ignore because you like China
There was no verification. It was propaganda created by USA’s Bloomberg as part of its annually funded agenda to defame China.
Yes I like China because they are a morally great country, do good for their citizens, help keep PPP high for most people on earth, and do not bomb or genocide whoever they like. They also hang to death corrupt rich people, drug traffickers and sex traffickers.
Supermicrochip conspiracy had zero validity in any shape, size or form.
It’s not that you’re wrong. It’s more that I don’t understand what you’re proposing as an alternative. To add to the comments here pointing out that that’s how CDNs work: for many designs of website, the CDN essentially is the website, being served from a cache by the provider. Even when this isn’t the case, you would normally have a load balancer in front of whatever was serving your website so that if you need to swap out the server for maintenance upgrade, etc. you don’t need to tell who your visitors to go to a different address. In that case, your certificate would be attached to load balancer rather than the server behind it.
If this was a 1990s and I were trying to run my own server on my own hardware in my bedroom, you might have a point, but please explain how you would implement an alternative in any meaningful way today.
Honestly, even if you don’t terminate SSL right until your very own app server, it’s still based on the assumption that whoever holds the root cert for your certificate is trustworthy.
The thing that has actually scared me with CF is the way their rules work. I am not even sure what’s the verification step to get to this, but if there is a configured page rule in a different CF account for your domain that points at cloudflare (I.e. the orange cloud), you essentially can’t control your domain as long as it’s pointing at CF (I think this sentence is a bit confusing so an alternative explanation: your domain is pointing DNS at your own CF account, in your CF account you have enabled proxying for your domain, some other CF account has a page rule for your domain, that rule is now in control). The rule in some other account will control it.
It has happened to us at work and I had to escalate with their support to get them to remove the rule from the other cloudflare account so we can get back control of our domain while using CF. Their standard response is for you to find and ask the other CF account to remove the rule for your domain.
This is a pretty common issue with gitbook, even the gitbook CEO was surprised CF does this.
Thanks. This is pushing the limits of my current understanding, but unless I’m mistaken, this reads like ‘anyone who chooses may hijack part of your domain at any time if you both use cloudflare’. Sounds crazy.
I explicitly block Cloudflare and Google domains fully, until and unless it is a website with no privacy repercussions or throwaway account possibilities. If it is something I legally purchase and requires their captcha, I can tolerate it unless I can avoid.
People are too used to submitting or cucking themselves. I am not such a person.
If you’re blocking everything that’s proxied via Cloudflare or hosted on Google, the internet must be a very small place for you. I think even a third of Lemmy is behind Cloudflare.
I do not directly use Lemmy world or those instances. Their contents federate with Lemmy.ml instance.
Moreover, only 22% of internet is behind Cloudflare. You missed the part where I said I refuse to use a Cloudflare service where there is no throwaway account possibilities or no privacy/anonymity repercussions. That is most of Cloudflare sites. I have encountered probably 20ish CF sites in my life according to my criteria where I had to avoid using them.
I know how federation works, but look at the network inspector and you’ll see you’re pulling a lot of images from Cloudflare-proxied sites (or you’re missing a lot, if you’ve blacklisted them).
Anyway, I only meant that even Lemmy, with its anti-corporate culture, is still heavily using Cloudflare. “Only” 22% is still a lot in my book.
I’m interested as to your motives - are you doing this as a boycott, and/or to protect your privacy (or similar)? Also, are you blocking domains one-by-one, or are doing something like using firewall rules?
It is very weird that tools that support “onion” ssl - some way that would allow one layer of encryption for your “allowed” mitm which would keep almost all the request encrypted with key for the server.
exactly my thoughts, i been wanting look into this. seems like they are trying to MITM even onion traffic
The name sounds akin to “mass gaslighting”?
Would you mind posting a link where I can read more about this?
I have created a blog post about how to bypass CGNAT for self-hosting. I have also written a little bit aboit how Cloudflare works.
Is there a guide for how to do this in a more declarative fashion?
You should update it with IPv6 support, it makes things much easier.
Basically every VPS gets at least 18,446,744,073,709,551,616 addresses that by using VPN you can pass to homeservers instead of one. So no need to port forward, proxy etc., homeserver can get full real address.
really good stuff, thanks so much
it’s all over the internet but here’s a good place to start
Gonna do some research/reading about this and I’m being objective.
Thanks for sharing and replying so quickly.
Well put!
I’ve been saying this since they made their services available…Nobody listened to me.
Usually when I said sth. like you mentioned, people look at me like they look today:
Ohhh…You are a conspiracy theorist…
No mate, I have a better understanding of the fucking computers and technology because I do this for a few decades…
Hoping they will listen to you!
factual statements
people won’t listen because they know it’s true but dont wanna admit. willful ignorance
And then there’s people using Cloudflare tunnels, Tailscale and others for self-hosting stuff… that also may have your keys or inject clients at some point…
But we’re about to get downvoted to hell for pointing this out because our community is self-hosters that pride themselves on sovereignty can’t deal with the cognitive dissonance of having their favorite corporate solutions unmasked for what they are - spyware on steroids.
Tailscale keeps the private keys locally, . It just facillitates setting up wireguard. They could steal your private keys, as could any program you install with root access. But it would comepletely destroy their business, and it’s open source. I really dont think they have anything to gain by tricking everyone
They could steal your private keys, as could any program you install with root access
There you go.
and it’s open source.
Are you sure that what you download from https://tailscale.com/download is 100% open-source and the same thing that is published on their repos?
But it would comepletely destroy their business (…) I really dont think they have anything to gain by tricking everyone
Same goes for Cloudflare. Maybe Tailscale is secure and good people, or maybe they copy all keys to somewhere and covertly share them with govt agencies.
Use headscale, I have no idea how people are OK with tailscale when they keep your keys and essentially have access to your network
CloudFlare is a huge danger to a free and open internet, in my opinion. I cringe every time I hear privacy-conscious people recommend it.
there’s no alternative tho, and by definition alternatives will have the same level of access…
Sure, there’s alternatives: Aws, Google cloud and Azure all have their own cdns if you want to use those
True but from what I can tell there isn’t much in way of alternatives as Cloudflare is huge.
I wish Lemmy instances would find alternatives.
absolute fax
I cannot begin to tell how pissed this makes me.
Please for the love of all that is holy, do NOT call your site or yourself “privacy-respecting” or “privacy-oriented”, and then meet me with a Cloudflare MITM to knowingly and willingly give over everything i input in your site to NSA Inc.
I’m sick to my stomach of all these orgs and companies and people talking about privacy, and then they constantly do all these kinds of things thst prove that they don’t actually care about privacy or anonymity or anything in between. They are Vipers and Snakes trying to make a quick dollar on a buzzword. It’s become sadly trite.
We must return to the dark ages of p2p. The age of self-hosting, blockchain (the truly good parts like monero), ipfs, bittorrent, tor onions, i2p, any other p2p or decentralized network - these kinds of things are all that stands between us and internet controlled by a handful of NSA-worshipping megacorps.
This is why I like this community so much!
I always learn from people like you!
We discuss, sometimes we agree sometimes we don’t, but we speak our minds freely and come up with some neat solutions!
Thank you!
Its time to use the technology for the benefits of humans not against them!
Let’s look into better solutions together!
Oh, I searched it up and indeed that seems what it does.
I thought it normally just forwarded all the traffic. I wouldn’t think people would just let someone else see all traffic between their servers and their users.
I thought it was more like public SSH jump servers.
Right, how else would the CF interstitial page work.I thought it was done just for the Quick Tunnels which don’t even require an account. I’ve used those a few times, but only in cases where plain HTTP would be OK.
I hope you realize that virtually every CDN provider does the exact same thing in similar ways. Sites that use Akamai, AWS, Google cloud, Fastly, etc. all give those companies access to unencrypted content. It’s just how CDNs work…
ofc. they are all catch-alls for the NSA. people think the NSA is monitoring traffic as in looking over our shoulders. like direct interception. nope, they just let a few megacorps convince the entire internet to pass everything through their servers, then buy off all the data.
Once again, the earthly principle of all things being ultimately voluntarily, is still true.
Yeah, the NSA isn’t already completely integrated into telco itself. It needs these other companies to execute its tasks. You get it.
if they want to bypass all TLS, then yes, mr smarty pants
I think he’s saying they don’t have to if they can read it off of your pc or the server before it’s even encrypted. OS backdoors, in-app backdoors, hardware backdoors inside the CPU like Intel ME…
there is a difference between targetted attacks like that and straight allowing them to dragnet you and millions of others
I mean most pirate sites have cloudfare in the front and even with legal request Cloudfare has denied giving the IP so many times.
It’s far more useful for them to maintain that image while essentially acting as a giant Room 101 for the entire internet. The three letter agencies, the fusion centers, and the Five Eyes of this world caneasily just parallel construction their way into what ever legal shenanigans they need.