News for hackers. Stuff that matters.
Re:Tell HN: GitHub is partially blocked in India by ignoramous on Tuesday January 03, 2023 @10:01AM (#34232190)
For folks looking to bypass these rudimentary DPI blocks, you don't really need a VPN. DoH + one of these should be enough

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

Re:Tell HN: GitHub is partially blocked in India by Ayesh on Tuesday January 03, 2023 @10:24AM (#34232533)
> On Android:

Most phones nowadays should have DoT support built-in nowadays.

Re:Tell HN: GitHub is partially blocked in India by jrochkind1 on Tuesday January 03, 2023 @10:26AM (#34232566)
I don't know what "DoH" or "DoT" are.
Re:Tell HN: GitHub is partially blocked in India by javajosh on Tuesday January 03, 2023 @10:30AM (#34232646)
I'm not a big fan of jargon either, but if you clicked on one of those links, you'd see that it stands for DNS over HTTP or DNS over Tor.
Re:Tell HN: GitHub is partially blocked in India by Macha on Tuesday January 03, 2023 @10:33AM (#34232703)
TLS, not Tor
Re:Tell HN: GitHub is partially blocked in India by javajosh on Tuesday January 03, 2023 @10:39AM (#34232803)
The GP's link, the one they maintain, says DNS over Tor.
Re:Tell HN: GitHub is partially blocked in India by anderskaseorg on Tuesday January 03, 2023 @02:00PM (#34236208)
Re:Tell HN: GitHub is partially blocked in India by jrochkind1 on Tuesday January 03, 2023 @11:36AM (#34233711)
Not sure what you mean, I clicked on the first link before commenting, for "GoodbyeDPI", and learned that it was a "Deep Packet Inspection circumvention utility (for Windows)", I still didn't know what DoT or DoH was, sorry.

Most Android phones... have DNS over Tor... built in? This can't be, can it? I'm pretty confused.

Re:Tell HN: GitHub is partially blocked in India by Ayesh on Tuesday January 03, 2023 @10:29AM (#34232610)
DNS over TLS and DNS over HTTPS.
Re:Tell HN: GitHub is partially blocked in India by jeroenhd on Tuesday January 03, 2023 @10:53AM (#34233021)
DNS over TLS.

Android calls it "Secure DNS". It's in the connection settings, I believe starting from Android 9 or 10.

Re:Tell HN: GitHub is partially blocked in India by bobbob1921 on Tuesday January 03, 2023 @02:29PM (#34236707)
It’s an acronym, of an acronym
Re:Tell HN: GitHub is partially blocked in India by ignoramous on Tuesday January 03, 2023 @12:26PM (#34234570)
> Most phones nowadays should have DoT support built-in nowadays.

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

Re:Tell HN: GitHub is partially blocked in India by josephcsible on Tuesday January 03, 2023 @12:45PM (#34234883)
> 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)...

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.

Re:Tell HN: GitHub is partially blocked in India by xvilo on Tuesday January 03, 2023 @10:23AM (#34232506)
Don't forget about the IPv6 proxies floating around
Re:Tell HN: GitHub is partially blocked in India by themitigating on Tuesday January 03, 2023 @10:03AM (#34232213)
How about standing up to the people who implemented the ban and their supporters. I don't understand why we are working around oppression.
Re:Tell HN: GitHub is partially blocked in India by saghm on Tuesday January 03, 2023 @10:06AM (#34232259)
Technical workarounds and social activism aren't mutually exclusive; given how long the latter can take to achieve results, it's often useful to have the former in the meantime.
Re:Tell HN: GitHub is partially blocked in India by themitigating on Tuesday January 03, 2023 @10:11AM (#34232323)
By bypassing the block you lessen the need for social activism
Re:Tell HN: GitHub is partially blocked in India by nyolfen on Tuesday January 03, 2023 @10:23AM (#34232502)
your goal should be making these impossible to enforce, social activism is not an end in itself
Re:Tell HN: GitHub is partially blocked in India by rvz on Tuesday January 03, 2023 @10:21AM (#34232475)
Or just self-host your repositories and don't deal with centralized Git services given that techies here are hyping around how 'easy' it is to spin up Mastodon instances.

Should be even easier to self-host a Git repository then, just like a website.

Re:Tell HN: GitHub is partially blocked in India by bilekas on Tuesday January 03, 2023 @10:51AM (#34232991)
This doesn't add up. Should the `work around` not be used because it lessens the need for social activism ?

One does not negate the other.

Re:Tell HN: GitHub is partially blocked in India by howinteresting on Tuesday January 03, 2023 @11:29AM (#34233598)
So much the worse for social activism then.
Re:Tell HN: GitHub is partially blocked in India by ssnistfajen on Tuesday January 03, 2023 @11:44AM (#34233860)
Bypassing the block renders the authoritarian control measures ineffective and/or void. This is an act of resistance in itself. Why do you think bypassing the ban is conforming to authority?
Re:Tell HN: GitHub is partially blocked in India by salawat on Tuesday January 03, 2023 @01:54PM (#34236092)
You bypassing the block remedies the situation for you. The thing is, not everyone is a super techy like you. The problem is everyone else who isn't you having access restored.

While F you, got mine is tempting, you gotta remember the follow through. Always punch up.

Re:Tell HN: GitHub is partially blocked in India by ssnistfajen on Tuesday January 03, 2023 @03:26PM (#34237486)
Why do you assume those who know how to bypass the block won't share it? Contrary to your expectations, people don't exist as isolated entities in vacuum.
Re:Tell HN: GitHub is partially blocked in India by themitigating on Tuesday January 03, 2023 @03:33PM (#34237587)
You're assuming that even if the method of bypassing it is widely available everyone can figure it out or has access to help
Re:Tell HN: GitHub is partially blocked in India by ssnistfajen on Tuesday January 03, 2023 @03:34PM (#34237601)
Bypassing authoritarian control measures isn't mutually exclusive with social activism. Your entire premise was false to begin with.
Re:Tell HN: GitHub is partially blocked in India by themitigating on Tuesday January 03, 2023 @08:37PM (#34240784)
Again, it can be exclusive. People who are able to bypass the restriction might not feel the need to fight it
Re:Tell HN: GitHub is partially blocked in India by ssnistfajen on Wednesday January 04, 2023 @12:39AM (#34242408)
Why do you feel the need to keep inventing false premises? You literally have no point here.
Re:Tell HN: GitHub is partially blocked in India by themitigating on Wednesday January 04, 2023 @10:52AM (#34247005)
What is a false premise? You're saying that it's not possible a person who disagrees with this block won't fight to overturn it if he can find a work around?
Re:Tell HN: GitHub is partially blocked in India by _dain_ on Tuesday January 03, 2023 @01:10PM (#34235267)
This is called "accelerationism". It does not work. It is a maladaptive thought-pattern, nursed by people on the political fringe.

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.

Re:Tell HN: GitHub is partially blocked in India by practice9 on Tuesday January 03, 2023 @02:55PM (#34237079)
> This happens approximately never (see: Qanon), and when it does, the chances of a good result are even more remote (see: Bolshevism).

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.

Re:Tell HN: GitHub is partially blocked in India by HideousKojima on Tuesday January 03, 2023 @10:08AM (#34232282)
How, exactly, do you propose doing that? Do you mean hiring lawyers to try and get the court's decision reversed? Or lobbying to get legislation passed to prevent courts from being able to do things like this in the future? And if the court's decision doesn't get reversed and/or the legislation doesn't pass, what then?
Re:Tell HN: GitHub is partially blocked in India by themitigating on Tuesday January 03, 2023 @10:12AM (#34232331)
Go after the supporters of the people who implemented the ban.
Re:Tell HN: GitHub is partially blocked in India by pjc50 on Tuesday January 03, 2023 @10:16AM (#34232377)
There's probably quite a lot of them. Modi-style authoritarianism is extremely popular in India.
Re:Tell HN: GitHub is partially blocked in India by themitigating on Tuesday January 03, 2023 @10:23AM (#34232509)
And it will continue to be if people ignore things like this. In a democracy the voters are responsible for the actions of the leaders
Re:Tell HN: GitHub is partially blocked in India by vasqw on Tuesday January 03, 2023 @10:36AM (#34232756)
>In a democracy the voters are responsible for the actions of the leaders

The corollary being that citizens of democratic countries have the leaders they deserve.

Re:Tell HN: GitHub is partially blocked in India by howinteresting on Tuesday January 03, 2023 @12:29PM (#34234613)
Any responsibility on voters tends to be greatly attenuated in anything but the smallest of democracies.
Re:Tell HN: GitHub is partially blocked in India by miohtama on Tuesday January 03, 2023 @11:02AM (#34233152)
Unfortunately yes. Every democratic country deserves the government they get. However, in the case of India, it seems that it is slowly sliding towards authoritarianism and maybe soon Modi and co. can elect themselves without asking the people. Though India is not alone with this and it is happening in multiple countries. Usually the end of credible opposition, being crushed, marks the beginning of the end, like we have seen with Russia and Belarus.

Here are some red flags from India:

https://scroll.in/article/1027566/opinion-indian-democracy-i...

Re:Tell HN: GitHub is partially blocked in India by sanghi_mama on Tuesday January 03, 2023 @11:02AM (#34233157)
And they are very powerful on the internet as well as migrants in western countries of the majority so-called-majority-religion-of-india support them. Hate speech on the internet against non-Hindus is common in the country and even here they are trying hard to remove my comments fearing many people will see their true faces. It's only social media and whatsapp that's required by you-know-which-majority-religion terrorist accounts to spread venom and hate speech against other communities. source: https://www.bbc.com/news/world-asia-india-61090363
Re:Tell HN: GitHub is partially blocked in India by sanghi_mama on Wednesday January 04, 2023 @09:39AM (#34245969)
And they are very powerful on the internet as well as migrants in western countries of the majority so-called-majority-religion-of-india support them. Hate speech on the internet against non-Hindus is common in the country and even here they are trying hard to remove my comments fearing many people will see their true faces. It's only social media and whatsapp that's required by you-know-which-majority-religion terrorist accounts to spread venom and hate speech against other communities. source: https://www.bbc.com/news/world-asia-india-61090363
Re:Tell HN: GitHub is partially blocked in India by karaterobot on Tuesday January 03, 2023 @11:48AM (#34233927)
> Go after the supporters of the people who implemented the ban.

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.

Re:Tell HN: GitHub is partially blocked in India by rubyist5eva on Tuesday January 03, 2023 @12:20PM (#34234436)
"go after" how exactly?
Re:Tell HN: GitHub is partially blocked in India by themitigating on Wednesday January 04, 2023 @12:55PM (#34248964)
In order to stop "the right " you need to be worse than them
Re:Tell HN: GitHub is partially blocked in India by jMyles on Tuesday January 03, 2023 @11:23AM (#34233500)
It seems to me that modifying the world so that the oppressive policy becomes irrelevant is always preferable.

And when that's not possible, heck yeah, stand up to power with truth in hand.

Re:Tell HN: GitHub is partially blocked in India by josephcsible on Tuesday January 03, 2023 @12:46PM (#34234900)
That's definitely worth doing, but you still need a workaround in the meantime.
Re:Tell HN: GitHub is partially blocked in India by OneLeggedCat on Tuesday January 03, 2023 @02:43PM (#34236885)
What would be your favorite way of standing up to the people who implemented the ban and their supporters?
Re:Tell HN: GitHub is partially blocked in India by themitigating on Tuesday January 03, 2023 @03:34PM (#34237612)
Punishing them financially through boycotts, cutting off friends and family, voting them out, and terminating their employment.

Whatever can be done obviously

Re:Tell HN: GitHub is partially blocked in India by InCityDreams on Tuesday January 03, 2023 @02:49PM (#34236992)
...I'll guess you've never been hit by an indian policeman with a stick? And they don't wear bodycams. My point being: your words are empty if you're not actualky there. Just imagine what happened pre-body cam (USA/ UK etc) and multiply that by many, throw in a LOT of judicial corruption and 'standing up to' becomes a little more difficult than it would at first appear. Circumnavigation may be the best option at the moment.
Re:Tell HN: GitHub is partially blocked in India by hexagonwin on Tuesday January 03, 2023 @11:05AM (#34233195)
Is there a way to run one of these on the router level, using something like OpenWrt? DoH already works really well.
Re:Tell HN: GitHub is partially blocked in India by cmeacham98 on Tuesday January 03, 2023 @11:58AM (#34234098)
GreenTunnel runs as an HTTP proxy, so run it on whatever device and point your browser at it.
Re:Tell HN: GitHub is partially blocked in India by melvyn2 on Tuesday January 03, 2023 @11:33AM (#34233653)
OP claims it’s SNI based and not DNS based, so switching DNS providers likely won’t do anything.
Re:Tell HN: GitHub is partially blocked in India by faheel on Tuesday January 03, 2023 @11:56AM (#34234062)
For me, and many others on Twitter, updating the DNS worked (I used 1.1.1.1). Though I'm not sure why.
Re:Tell HN: GitHub is partially blocked in India by akmittal on Tuesday January 03, 2023 @12:14PM (#34234329)
Same for me, i changes DNS and it worked
Re:Tell HN: GitHub is partially blocked in India by kraghavk on Wednesday January 04, 2023 @07:03AM (#34244581)
Worked for me too!
Re:Tell HN: GitHub is partially blocked in India by ignoramous on Tuesday January 03, 2023 @12:13PM (#34234316)
> OP claims it's SNI based and not DNS based, so switching DNS providers likely won’t do anything.

All the apps listed do get past most rudimentary SNI-based blocks, except GoodbyeDPI which is pretty sophisticated. One still needs DoH because (unencrypted) DNS is the weakest link.

Re:Tell HN: GitHub is partially blocked in India by fragmede on Tuesday January 03, 2023 @04:02PM (#34237998)
Then that's not SNI-based blocking.
Re:Tell HN: GitHub is partially blocked in India by fomine3 on Tuesday January 03, 2023 @08:46PM (#34240860)
Simple SNI-based blocking implementation may not consider complex data like fragmented packet, so some solutions work.