Cloudflare 正在毁坏我的网络体验。
CloudFlare is ruining the internet (for me)

原始链接: https://www.slashgeek.net/2016/05/17/cloudflare-is-ruining-the-internet-for-me/

## Cloudflare:互联网用户的双刃剑 Cloudflare 为网站所有者提供便捷的免费服务套件——CDN、DNS 和基本安全,因此广受欢迎。虽然对于发达国家(美国、加拿大、欧洲)的用户来说通常比较稳定,但对于东南亚等地区的用户来说,体验却大不相同。 作者详细描述了由 Cloudflare 的安全功能触发的频繁且不必要的 reCAPTCHA 提示,影响了多个 ISP 跨越数百个 IP 的测试。这给用户带来了令人沮丧的体验,尤其是在 Cloudflare 被广泛采用的情况下。 除了持续的 CAPTCHA 之外,Cloudflare 数据中心在全球的不均衡分布也导致了问题。当较近的节点出现故障(即使是维护)时,流量并不总是被有效地重新路由,*增加*延迟,并可能导致网站崩溃——就像 Reddit 和 StackExchange 等网站在一次持续 4-5 小时的故障期间所经历的那样。 作者认为,免费服务的便利性不应超过这些负面影响,建议网站所有者优先进行核心优化,然后再依赖 CDN,并仔细考虑收益是否大于对大量互联网用户造成的潜在干扰。

## Cloudflare 与现代互联网体验 (2016) 2016年Hacker News上的一场讨论集中在对Cloudflare日益增长的沮丧情绪上,尽管其本意是保护网站。虽然承认Cloudflare解决了日益严重的垃圾邮件和攻击者问题——这些问题在早期互联网上基本不存在——但用户认为这种解决方案带来了新的问题。 许多评论者报告说,访问网站变得越来越困难,频繁遇到验证码,甚至完全被阻止,尤其是在使用不太常见的配置(如Linux上的Firefox)或从某些地理区域连接时(东南亚经常被提及)。核心抱怨是Cloudflare将安全负担从恶意行为者转移到了合法用户身上。 一些用户指出,关于误报缺乏透明度,以及申诉被阻止的困难。一些人建议使用替代方案,例如对过滤进行更精细的控制或微支付系统,但承认实施的复杂性。最终,讨论强调了一个权衡:安全性的提高是以可访问性和用户体验为代价的,而管理这种平衡的责任越来越落到最终用户身上。对话还指出,自2016年文章首次发表以来,这个问题只会变得更糟。
相关文章

原文
Follow up: Cloudflare: Making the internet a little bit faster – for a select group of people

CloudFlare is a very helpful service if you are a website owner and don’t want to deal with separate services for CDN, DNS, basic DDOS protection and other (superficial) security needs. You can have all these services in a one-stop-shop and you can have it all for free. It’s hard to pass up the offer and go for a commercial solution. Generally speaking, Cloudflare service is as stable as they come, their downtime and service interruption is within the same margin as other similar services, at least to my experience. I know this because I have used them for two of my other websites, until recently.

But what about the users? If you live in a First World Country then, for the most part, you probably wouldn’t notice much difference, other than better speed and response time for the websites using Cloudflare services, you will be happy to know that because of their multiple datacenter locations mostly in the USA, Canada, Europe, and China, short downtimes won’t result in service interruptions for you because you will be automatically rerouted to their nearest Cloudflare data center and they have plenty to go around within the first world countries.

But what about the rest of us? I can only talk about my experience, I live in South East Asia (SEA). As it is normally the case for us we are treated as second class citizens on the Internet, often a most premium, and sometimes freemium services, are limited to developed nations. We have to resort to Proxies and VPNs to enjoy the same freedom internet users from developed nations are used to. But other than that, for the most part, we enjoy the same basic internet freedom as the rest of most of the world. Unless of course, your website is using Cloudflare services.

cloudflare-facebook

You see CloudFlare has these “Security” features which can prompt users belonging to certain IP blocks, countries, blacklists or behavioral patterns and either automatically block you to visit some sites (rare, but often done by Site Owners discretion) or prompt you for reCAPTCHA (much better than the ridiculous captcha they had before) before you can visit the site. reCAPTCHA prompts happens a lot, I know its only one click away, but we shouldn’t have to deal with this annoying pseudo security measure. The entirety of the StackExchange sites is under the Cloudflare firewall. As it is often the case, a lot of my searches often end up to one of the StackExchange sites and if I visit the link through Google search results I am prompted for the captcha, but curiously I don’t get prompted if I directly visit the site. I wish it was only limited to StackExchange, because of CloudFlare’s ludicrous free one-stop-shop offering and their aggressive partnership with cheap hosting service, every joe with a website is using Cloudflare. So that one click per site per day often results in 30-40 clicks per day or more.

I wish it was something to do with only my IP. You see I co-own an ISP, we have four /22 IP blocks (4096 IPs) while I didn’t get a chance to test all our IPs but all of them I have personally checked (about 500+) over the last year gets prompted for captchas. It’s not only limited to our IP blocks, It happens on my phone when I am using my telco’s internet or services from a couple of dozen of ISPs I have tried in my country. We often do market research for service quality of our competition, so it happens a lot.




network-map

There is a second part of this CloudFlare annoyance. CF being a CDN, its strength lies in having redundancy all around the world. So, in theory, their service should work even if their closest node goes down. But their data centers or nodes are not evenly distributed around the world, so if my closest CloudFlare node becomes unavailable my traffic get rerouted to a node that could be a lot further from my location, which results in increased latency and invalidating the whole point of having a CDN in the first place. This is exactly what happened on May 13, two of my closest nodes in SEA, Kuala Lumpur and New Delhi, was down for scheduled maintenance. For whatever reason instead of traffic being rerouted to the closest nodes (which wasn’t very close to me in the first place), all CloudFlare hosted sites would either not work or were heavily broken because static files weren’t loading. This includes Reddit and StackExchange. This is not the first time it happened, but this was probably the longest duration so far with approximately 4-5 hours worth of disruption.

The idea that a single company can negatively influence the experience of such a large portion of the internet for users is kinda scary. I would urge everyone to reconsider using Cloudflare as your CDN/DNS/DDOS solution. Being free is not a good enough reason to use something, if you are concerned about your site speed there are more important things to look into for optimization before considering a CDN. DDOS might be a good reason to choose CloudFlare, but an only a small portion of total users probably gets affected by DDOS anyways. Not to mention their free tier doesn’t cover the complex DDOS attacks that you really should be concerned about. So something that you configured because its free to use and relatively easy to set up because of its integration to most cheap hosts, turns out to be a nuisance to a large part of the internet users.

联系我们 contact @ memedata.com