Open zyppe opened 5 years ago
I had to check out what the GFW is. I'm astonished. If anyone else does not know:
The Great Firewall of China (GFW) is the combination of legislative actions and technologies enforced by the People's Republic of China to regulate the Internet domestically. Its role in the Internet censorship in China is to block access to selected foreign websites and to slow down cross-border internet traffic.[1] The effect includes: limiting access to foreign information sources, blocking foreign internet tools (e.g. Google search, Facebook, Twitter etc.) and mobile apps, and requiring foreign companies to adapt to domestic regulations.[2][3] Besides censorship, the GFW has also influenced the development of China's internal internet economy by nurturing domestic companies [4] and reducing the effectiveness of products from foreign internet companies
@aiwonanjing back to our problem:
To bypass test screen (the one that checks if you have Internet) you can run Cnchi this way:
sudo cnchi -dvn
This won't fully work in your case as Cnchi also needs to have access to other sites. I will work on this one, though, as it seems to me it's very important that this works on China.
When I have a working version I will ask you to test it.
Thanks for reporting this
@aiwonanjing did you test it with sudo -E cnchi -dvn
?
It does works now, thanks. But not every Chinese user know it. So maybe you can optimize the installer, such as rank mirrors with country with IP or location.
This should do the trick: https://github.com/Antergos/Cnchi/commit/d395af156a9060621356173885948f5269846d1b
Closing.
I'm sorry to disturb you again. Cnchi will try to access to ip.jsontest.com which is a website hosted on google( i knew it from ping this website). The IPs of google have banned by GFW. So I could not install antergos just use "sudo cnchi". "sudo -E cnchi -dvn" can works, thanks.
@aiwonanjing Thanks for letting me know. I'll fix this asap
Most of Chinese user cannot get to 130.206.13.20 or ip.jsontest.com(you can test whether Chinese can access it from http://ping.chinaz.com/).
Cnchi will connect to the CDN of CloudFlare(i see it from the command line) when it starts, but this CDN has been interfered by GFW so seriously that I could not install antergos for my computer. I see that the cnchi will get antergos.db from official site of antergos repo, but it is interfered by GFW seriously too. Could you optimize the installer for Chinese user? If you could know that my ip is in China, please help us to let cnchi to use the mirrors in China.