Tell HN: GitHub is partially blocked in India
You can find multiple reports here: https://twitter.com/search?q=Github%20%40actfibernet. It has shown up in news reports: https://timesofindia.indiatimes.com/gadgets-news/github-cont...
ACT is using SNI-sniffing to block raw.githubusercontent, unlike most other blocks, which are DNS based. ACT's block page claims it is under a court order to block the domain:
> curl http://raw.githubusercontent.com/
> This URL has been blocked under the instructions in compliance with the orders of a Hon'ble Court.
(Using HTTPS results in a dropped connection).
Unfortunately, there is no easy way to find out if there is even a court order behind this block. A few times court orders are leaked, and a court case to get a single order published took 3 years[0] . Other ISPs are known to block websites without court-order due to technical issues[1]
for the last few weeks, GitHub previews on the website have refused to load, alongside some other interesting cases, such as extension previews breaking on VS Code (, Obsidian etc).
Hopefully, GitHub is fighting a case to get this unblocked, and given the resources it has, to challenge the law here as well (the law gives no recourse as it stands).
[0]: https://internetfreedom.in/delhi-hc-directs-meity-to-provide...
183 comments
[ 4.6 ms ] story [ 215 ms ] threadImagine how many juniors cant, and imagine how many of those might life in india.
And even if you ignore that fact, can you imagine the hit the gdp will take if thousands of companies need to setup vpns?
I can't imagine a junior developer not being able to set up a vpn in 2023, and if by some bizarre turn of fate he isn't able to he is a junior and other people will just tell him how to do it.
>And even if you ignore that fact, can you imagine the hit the gdp will take if thousands of companies need to setup vpns?
No? vpn's are cheap and honestly I doubt most of the companies need to read github code*, and those that do well just use the vpn. Hell you can even not pay for it but use opera's free built in VPN, use Tor on clearnet as a VPN of sorts, all for effectively zero cost.
*:we're talking gdp here.
On Windows:
- GoodbyeDPI: https://github.com/ValdikSS/GoodbyeDPI (https://ntc.party/c/community-software/goodbyedpi/8)
On Mac / Linux:
- GreenTunnel: https://github.com/SadeghHayeri/GreenTunnel (https://www.npmjs.com/package/green-tunnel)
On Android:
- Intra: https://github.com/jigsaw-code/intra (https://play.google.com/store/apps/details?id=app.intra)
- (I co-maintain this) Rethink DNS + Firewall: https://github.com/celzero/rethink-app (https://play.google.com/store/apps/details?id=com.celzero.br...)
Should be even easier to self-host a Git repository then, just like a website.
One does not negate the other.
While F you, got mine is tempting, you gotta remember the follow through. Always punch up.
The theory is that as things get worse and worse, there will come a moment when everyone suddenly "wakes up", and acts in unity to overthrow their oppressors and build a better system (under the command of the enlightened few, of course). This happens approximately never (see: Qanon), and when it does, the chances of a good result are even more remote (see: Bolshevism).
It serves a useful emotional purpose for the adherents: you don't have to do anything, make friends with anyone, understand the world around you. Just wait for the apocalypse, for the day when the Elect will seize power and shoot their enemies etc etc.
Back in the real world, here is how you build a large effective political coalition: by solving people's problems in the here and now. This is how the Fabians built the welfare state.
I would also count Russia in the current war into the "never bucket". Many expected them to overthrow the dictatorship, but the internal situation only became worse since 2022. If anything as more people leave, system becomes more homogenous and even more supportive of current status quo.
The corollary being that citizens of democratic countries have the leaders they deserve.
Here are some red flags from India:
https://scroll.in/article/1027566/opinion-indian-democracy-i...
I don't know what you mean by this, but if you mean persuading them to change their support, that's a very long timeline, certainly not something that fits into a development sprint...
And if you mean "attack" supporters of the people who implemented the ban, that's a terrible idea.
And when that's not possible, heck yeah, stand up to power with truth in hand.
Whatever can be done obviously
Most phones nowadays should have DoT support built-in nowadays.
Android ≥ 9 natively supports DNS over TLS: https://android-developers.googleblog.com/2018/04/dns-over-t...
So does iOS ≥ 14: https://developer.apple.com/documentation/networkextension/d..., https://support.quad9.net/hc/en-us/articles/360057889591-Set...
The link you’re referring to, https://github.com/celzero/rethink-app, supports DNS over Tor, but does not call it “DoT”. It does not support DNS over TLS (https://github.com/celzero/rethink-app/issues/441), and it is not something that phones have built-in.
Most Android phones... have DNS over Tor... built in? This can't be, can it? I'm pretty confused.
Android calls it "Secure DNS". It's in the connection settings, I believe starting from Android 9 or 10.
DoT does help even if it can be trivially blocked (more than one way to do so, but blocking TCP on port 853 would do the trick)... DoT cannot help bypass SNI-based censorship (unless apps implement domain-fronting).
Indeed, and this is exactly why DoH is better than DoT.
> DoT cannot help bypass SNI-based censorship (unless apps implement domain-fronting).
TLS ECH will. I can't wait for it to become mainstream.
All the apps listed do get past most rudimentary SNI-based blocks, incl GoodbyeDPI which is pretty sophisticated. One still needs DoH because (unencrypted) DNS is the weakest link.
https://en.wikipedia.org/wiki/Censorship_of_GitHub#India
not easy, but have you tried filing a RTI application regarding this?
https://rtionline.gov.in/
Here's the government defending their stance of keeping these secret: https://internetfreedom.in/meity-defends-blocking-of-satiric...
Like all the inflated hype in the news with the federation 'goobledegook' and 'technobabble' with Mastodon and alternatives with techies spinning up instances, perhaps it is about time that techies use Git properly and consider self-hosting your repositories just like how many techies do with self-hosting Mastodon instances?
I don't think there is an excuse to continue using GitHub or a centralized provider that can easily be censored by governments or GitHub themselves censoring other repositories via its ToS either way; when developers of GNOME, Wireguard, Redox, etc are already able to self-host their own code on their websites.
If they can self-host their own code and federated networks, you (techies) can also do it too.
If you use just the repo feature, that is. If you fall into the trap of using GitHub's other services you have vendor lock in and you're more screwed than when considering moving from Twitter to Mastodon.
I would also argue that moving to a self hosted remote is going to have significant administrative burden when it comes to security and updates compared to anything SaaS.
Most people use GitHub, GitLab, and Bitbucket for the collaboration features, everyone already knows they can run vanilla git and actively choose not to.
That's already vendor lock in - you're using GitHub's CI pipeline? You're locked.
Yeah, but most of us are not developers of them. It often takes less than an hour to self-host Git/Mastodon/Email/DNS or anything else (most of which have ready to use Docker images anyway) that we tend to centralize, but they come with huge maintenance cost (time, money, backups, security, etc).
I self-host my web sites because that's something I actually want to maintain and have more control over. I will leave the rest to the experts because even us "(technies)" easily mess things up.
I even posted to HN last month but I couldn't figure out what was wrong.
It was only later that I realised that Idea was blocking ddg
This is why TLS ECH can't come soon enough, and why there should be no fallback if the browser and server both support it.
Who will also be blocked following the same logic.
You’d think that the Gov/ISP/Courts, somebody would put GitHub on a Do-Not-Block list and stop this madness.
The impact of github being down is large, but it isn't going to take out 7-10% of India's GDP.
> Domain registrars restricted from selling or offering Amul suffixed, prefixed or combination name websites as per the court order are Freenom, Name Cheap, Big Rock and GoDaddy.
Clearly, scammers in India can't figure out how to buy domain names outside india.
[0]: https://www.moneycontrol.com/news/business/delhi-hc-blocks-a...
And who would get to define "important"? Switch that word out with "approved" and you'd have a more accurate picture of what would be present.
One of the benefits (or perhaps "ideals" would be a better word) of open source is that all of it is available to everyone with no authority deciding who can access it.
So why are you using a Microsoft product, where Microsoft decides where and when the service will be available?
If I use Jenkins am I any less locked in?
Good for you. I use the GNU GPL, so I do have a problem with my code being used for proprietary software.
> they have superior collaboration and auditing features
What exactly makes GitHub/GitLab better in this aspect than other alternatives?
> If I use Jenkins am I any less locked in?
I don't know anything about Jenkins, but being able to change your Git host independently of your build service is definitely good.
SaaS means I don't have to manage it. I can also in theory collaborate with millions of people versus closed systems like Gitea or Gogs which is what two of the providers you mentioned are built atop. Interestingly enough, both of those projects use GitHub to build GitHub alternatives. What's good for the goose is good for the gander?
You could easily use repository dispatch with GitHub Actions on self-hosted runners (free) to perform builds on repos that live in other places, since the interface is basically a webhook/payload. The question is why would you? What is the benefit? All of them are using GitOps style practices for the build process, some of them just happen to be a little closer. I'll take YAML over Java/Groovy shared libraries any day of the week. I'd argue that Actions is better than most CI systems.
I've had a project shut down by Github because of petty ( and unfounded ) content flagging by a competitor. It took a week to get a human involved and it almost killed the project. I will never again put the fate of a product in the hands of someone else's arbitrary, black-box algorithms.
Videolan (VLC) was blocked for months. I don't know if the block was ever actually lifted as we use dnscryptd on our networks.
[0]: https://techcrunch.com/2022/11/14/india-lifts-download-ban-o...
[1]: https://twitter.com/internetfreedom/status/15920956340139499...
[2]: https://internetfreedom.in/videolan-issued-legal-notice-to-d...
"Comments should get more thoughtful and substantive, not less, as a topic gets more divisive."
https://news.ycombinator.com/newsguidelines.html
Meta comments going on about what got downvoted or what got flagged are also off topic.
https://news.ycombinator.com/newsguidelines.html
I thought that this was the comment we are discussing:
>> You know this will cause more emigration right?
>So? That's awesome!
How is that "arguably flamebait"? It's just an enthusiastically affirmatory response to an yes/no question.
lets keep politics out of github please. let it be just about code not some propagandist news outlet.
Authoritarian governments othen do that, like the one in Hong Kong.
BJP isnt trying to "censor" "dissent" here, its just one ISP blocking it for some unspecified reason
its not that deep, everything you see on reddit isnt real, you can calm down.
Indian government has a long documented history of banning things without much thought and it looks one such case. I hope it gets resolved soon as other users are reporting that they can access it fine.
Basically it is a proxy that alters HTTPS traffic to prevent DPI systems from detecting the domain during the TLS handshake. At least in Spain it works for me to bypass the blocking of the major ISPs [2].
[1] https://github.com/hectorm/demergi
[2] https://github.com/hectorm/demergi/blob/master/ISP.md
If you use Docker you can run the following command to start the server and configure your browser to use it as an HTTP proxy.
[1]: https://github.com/SadeghHayeri/GreenTunnel
Not having access to GH could be paralyzing.
I work in a large consultancy firm and have friends in other Indian IT consultancy firms. GitHub is very commonly used across these firms for quite large projects and blocking that domain would certainly slow down the work of thousands of employees across the country instantly. No way can this block be carried ahead.
> one ISP proactively blocking the domain without it being formally asked to do so
Very unlikely. Court orders are not ISP specific, but ISPs are not time-bound to apply them. It's all very secretive, so there's really no way for us to find out. It's better to assume the worst (ACT is blocking it on a court-order, and more ISPs might follow).
Other ISPs are known to do blocks without court orders (mainly Jio and BSNL) but ACT - not so much. It has been blocked for almost a week, with small media coverage, little outrage, and no response.
The post specifically mentions which one ISP is doing the blocking. If you're not using them, then it likely wouldn't affect you... until your ISP also starts following the order.
If anything, your comment is trying to heavily downplay what is happening.
But I also mentioned it is unlikely to happen since all major IT Consultancy firms in the country rely on GitHub for their work in one way or another. And not just with their code but also with their client's code.
Just because your ISP hasn't caught up does not mean it's not news. Why, exactly, do 2 or more ISPs need to do this for it to become important enough for you to care?
And why, exactly, do you think that getting to HN front page is "blowing it out of proportion"? The poster was upfront about what was happening, who it's affecting, and why it's being done. People interested in this have brought it up to the front page. What, exactly, did OP do that made it "blown out of proportion"?
And how is you anecdotally saying that it's not affecting you therefore a non-issue not downplaying the situation? The definition of "downplaying" is "make (something) appear less important than it really is" which is literally what you're doing.
It is on the HN front page :)
This does not answer the question you are replying to.
move away from ISP DNS to 1.1.1.1 to temporarily solve the issue.
Here's an example: https://jeff.vtkellers.com/posts/technology/force-all-dns-qu...
works like a charm
What’s Microsoft’s reaction?
We are a no-profit and network measurements are provided by volunteers.
You can browse our data regarding raw.githubusercontent.com on:
https://explorer.ooni.org/chart/mat?probe_cc=IN&test_name=we...
https://explorer.ooni.org/chart/mat?probe_cc=IN&test_name=we...
There's DNS tampering on Jio as well: https://explorer.ooni.org/measurement/20230103T215427Z_webco...