hello-cloudflare/README.md

98 lines
7.8 KiB
Markdown
Raw Permalink Normal View History

2022-01-08 06:28:27 +00:00
A public letter to Cloudflare to fix their snoopy vendor.
2022-01-07 14:37:03 +00:00
# What
2022-01-10 16:21:54 +00:00
For the last few years, various websites hosted on GitHub Pages/Google App Engine and fronted using Cloudflare have been blocked in India due to Cloudflare relying on a upstream network provider with a misconfigured network (Airtel). The network flow looks like this:
2022-01-07 14:37:03 +00:00
2022-01-10 16:21:54 +00:00
`User -> Any ISP -> Cloudflare -> Airtel (Cloudflare peering partner) -> (GitHub Pages|Google App Engine)`
2022-01-07 14:37:03 +00:00
2022-01-10 16:21:54 +00:00
If a website is using "Flexible SSL" or "No SSL" as configured on Cloudflare, the connection between Cloudflare and (GitHub|Google) isn't encrypted, and Airtel blocks many such websites. Because Cloudflare terminates the TLS connection at their end, the browser shows a padlock, thus giving more authenticity to this incorrect block.
2022-01-07 14:37:03 +00:00
# Impact
2022-01-08 06:28:27 +00:00
These are just a few of the many websites blocked. This disproportionately impacts the developer community, and especially older websites that had a reason to use Cloudflare on top of GitHub Pages - TLS support. Now that GitHub Pages natively offers SSL, most of these websites can directly be hosted on GitHub Pages.
2022-01-07 14:37:03 +00:00
2022-01-07 19:06:19 +00:00
<details><summary>Here's a list of various such reports: (Click to expand)</summary>
2022-01-07 14:37:03 +00:00
2022-01-07 16:51:43 +00:00
Website | Reports
----------------------|----------------------
teachyourselfcs.com | https://twitter.com/oznova_/status/1467957261221830657
2022-01-07 16:51:43 +00:00
neovim.io | https://twitter.com/sanchayan_maity/status/1479131300040564737 https://github.com/neovim/neovim.github.io/issues/254
2022-01-07 18:44:44 +00:00
usebottles.com | https://news.ycombinator.com/item?id=29358915 https://github.com/bottlesdevs/website/issues/12
2022-01-10 16:38:11 +00:00
reactcommunity.org | https://github.com/reactjs/reactjs.github.io/issues/1 https://twitter.com/tecoholic/status/1480528265068515332 https://twitter.com/chiku__p/status/1465988817773481985
2022-01-07 18:44:44 +00:00
thephpleague.com | https://www.reddit.com/r/india/comments/r3bc78/hey_anyone_facing_issues_with_airtel/ https://github.com/thephpleague/thephpleague.github.io/issues/102
tldr.sh | https://www.reddit.com/r/developersIndia/comments/p3kxi4/why_are_some_nonporn_dev_related_websites_blocked/ https://github.com/tldr-pages/tldr/issues/7626
2022-01-10 05:17:35 +00:00
draftjs.org | https://github.com/facebook/draft-js/issues/3086 https://twitter.com/vaishnavs0/status/1480403158631260161
2022-01-07 18:44:44 +00:00
pennapps.com | https://twitter.com/skxrxn/status/1479520588955742209?s=20
termux.com | https://twitter.com/geekodour/status/1478963440412626946 https://github.com/termux/termux.github.io/issues/56
rsms.me | https://twitter.com/sahilk/status/1479489063874752512 https://twitter.com/sahilk/status/1441104954408587264
shantanugoel.com | https://twitter.com/prohack/status/1422233887522975744 https://forum.internetfreedom.in/t/website-blocking-report-and-wynk-ads-shantanugoel-com/2318
codewithrockstar.com | https://github.com/RockstarLang/codewithrockstar.com/issues/11 https://news.ycombinator.com/item?id=29481644
2022-01-07 16:51:43 +00:00
web.mightyme.in | https://stackoverflow.com/questions/70420313/getting-the-website-has-been-blocked-as-per-order-of-ministry-of-electronics-an
buyday.in | https://stackoverflow.com/a/70426860
2022-01-07 19:11:32 +00:00
boxbilling.org | https://github.com/boxbilling/boxbilling/issues/1178 https://twitter.com/MichaelAnandR/status/1471935979787194373
Node-OS.com | https://github.com/NodeOS/nodeos.github.io/issues/28
2022-01-07 16:51:43 +00:00
konvajs.com | https://github.com/konvajs/konva/issues/1161
breaks.eu.org | https://www.reddit.com/r/developersIndia/comments/rg4fqb/airtel_blocked_my_projects_website_please_help/
platesphp.com | https://github.com/thephpleague/plates/issues/288 https://www.reddit.com/r/india/comments/r3bc78/hey_anyone_facing_issues_with_airtel/
coreui.io | https://old.reddit.com/r/india/comments/p12qtq/why_did_govt_of_india_blocked_a_html_template/ https://github.com/coreui/coreui-website/issues/19
4fw.pw | https://github.com/captn3m0/hello-cloudflare/issues/2
2022-01-07 16:51:43 +00:00
mpp.su | https://github.com/captn3m0/hello-cloudflare/issues/2
about.hacktohell.org | https://twitter.com/hacktohell/status/1479484933785538562
2022-01-07 17:41:29 +00:00
one9x.org | https://twitter.com/Ramank775/status/1465979965002846209
kossiitkgp.org | https://twitter.com/OrkoHunter/status/1425089684535975937
orkohunter.net | https://twitter.com/OrkoHunter/status/1425089684535975937
treyhunner.com | https://twitter.com/abdulmuneer/status/1466289536833523714
2022-01-07 18:02:19 +00:00
wowjs.uk | https://twitter.com/rahulrrnair/status/1465629811368357888
2022-01-07 18:21:01 +00:00
akshatmittal.com | https://twitter.com/iakshatmittal/status/1479517378455040002
garudahacks.com | https://twitter.com/skxrxn/status/1479520588955742209?s=20
2022-01-07 19:07:27 +00:00
noflojs.org | https://github.com/noflo/noflo/issues/863
docs.pixelfed.org | https://github.com/pixelfed/docs/issues/80
2022-01-08 14:17:54 +00:00
nodered.org | https://community.cloudflare.com/t/website-blocked-for-some-users-in-india/300620
catalogue.nodered.org | https://community.cloudflare.com/t/website-blocked-for-some-users-in-india/300620
2022-01-08 14:43:03 +00:00
codeception.com | https://github.com/Codeception/codeception.github.com/issues/591
2022-01-08 14:50:39 +00:00
srijanshetty.in | https://twitter.com/srijanshetty/status/1468523289467179008
2022-01-10 05:33:21 +00:00
awesome-python.com | https://github.com/vinta/awesome-python/issues/1909
bryanbraun.github.io | https://github.com/bryanbraun/bryanbraun.github.io/issues/42
pdm.fming.dev | https://github.com/pdm-project/pdm/issues/786 https://github.com/pdm-project/pdm/issues/844
seaql.github.io | https://github.com/SeaQL/seaql.github.io/issues/12
2022-01-10 16:21:54 +00:00
pramod.io | https://github.com/captn3m0/hello-cloudflare/issues/10 Blocked even on Google App Engine
2022-01-10 05:33:21 +00:00
2022-01-07 19:06:19 +00:00
</details>
2022-01-07 16:53:24 +00:00
Several of these websites are critical to many developers, and none of these deserve to get blocked in India. Some of the above website are no longer blocked, because the website owner switched away from Flexible SSL to Strict SSL. However, this only happens when someone notices the block, debugs the issue correctly, and the website owner understands and fixes the issue. This is not a viable solution in this case.
2022-01-07 14:37:03 +00:00
2022-01-10 05:33:46 +00:00
There's [hundreds reports on Twitter](https://twitter.com/search?q=blocked%20as%20per%20order%20of%20Ministry%20of%20Electronics%20and%20Information%20Technology) and [GitHub](https://github.com/search?q=blocked+India&type=Issues)
2022-01-07 14:49:59 +00:00
2022-01-08 06:28:27 +00:00
# Call to Cloudflare
2022-01-07 17:05:47 +00:00
Hey @Cloudflare, please take care of this. Indian developers have been blocked out various critical websites because your upstream vendor (peering partner) has a misconfiguration. This has been going on for years, with no action or update at your end.
2022-01-07 17:05:47 +00:00
Here's a few simple requests:
1. Get Airtel to fix the issue at their end.
2. Switch to a different upstream (peer) if that doesn't happen.
2022-01-07 17:05:47 +00:00
3. Publish a transparency report acknowledging the issue and confirming how many websites were incorrectly blocked without a court-order.
2022-01-10 16:21:54 +00:00
4. Notify Flexible SSL users that their websites are getting blocked in India.
2022-01-07 17:05:47 +00:00
Flexible SSL is a decade-old product that has no place in the modern web. Users should get a big red warning when enabling such a product in today's times with free SSL certificates.
2022-01-07 14:37:03 +00:00
# Help, my website is blocked
If you got a report about your website being blocked in India, with a message that reads:
> The website has been blocked as per order of Ministry of Electronics and Information Technology under IT Act, 2000.
2022-01-07 14:37:03 +00:00
2022-01-10 05:21:39 +00:00
Here's a number of ways to fix the issue:
2022-01-07 14:37:03 +00:00
2022-01-08 06:28:27 +00:00
1. Switch from Cloudflare to direct GitHub Pages, which supports TLS now.
2. Enable HTTPS on GitHub pages, and switch the upstream on Cloudflare to get strict SSL instead of flexible.
2022-01-10 05:21:39 +00:00
3. Switch to a different hosting provider altogether (CloudFlare Pages, Netlify, ...)
2022-01-07 14:37:03 +00:00
2022-01-08 06:28:27 +00:00
If you aren't using Cloudflare, please open an issue.
2022-01-07 14:42:58 +00:00
2022-01-07 17:05:47 +00:00
If you'd like to notify a site owner, please send them this link: https://github.com/captn3m0/hello-cloudflare/blob/main/README.md#help-my-website-is-blocked
2022-01-07 14:42:58 +00:00
# Help fight Censorship in India
If you'd like to support the fight to fix the state of Internet censorship in India, and bring more transparency on how it works, please [donate to the Internet Freedom Foundation](https://internetfreedom.in/donate/). You will need a valid Indian PAN Card.