Censorship of GitHub
   HOME

TheInfoList



OR:

GitHub GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, cont ...
has been the target of censorship from governments using methods ranging from local
Internet service provider An Internet service provider (ISP) is an organization that provides services for accessing, using, or participating in the Internet. ISPs can be organized in various forms, such as commercial, community-owned, non-profit, or otherwise priva ...
blocks, intermediary blocking using methods such as DNS hijacking and
man-in-the-middle attack In cryptography and computer security, a man-in-the-middle, monster-in-the-middle, machine-in-the-middle, monkey-in-the-middle, meddler-in-the-middle, manipulator-in-the-middle (MITM), person-in-the-middle (PITM) or adversary-in-the-middle (AiTM) ...
s, and
denial-of-service In computing, a denial-of-service attack (DoS attack) is a cyber-attack in which the perpetrator seeks to make a machine or network resource unavailable to its intended users by temporarily or indefinitely disrupting services of a host conne ...
attacks on GitHub's servers from countries including China, India, and Russia. In all of these cases, GitHub has been eventually unblocked after backlash from users and technology businesses or compliance from GitHub.


Background

GitHub is a web-based Git repository hosting service and is primarily used to host the
source code In computing, source code, or simply code, is any collection of code, with or without comments, written using a human-readable programming language, usually as plain text. The source code of a program is specially designed to facilitate the ...
of software, facilitate project management, and provide distributed revision control functionality of Git, access control, wikis, and bug tracking. As of November 2015, GitHub reports having over 11.5 million users and over 28.9 million repositories. It offers free accounts, a
pastebin A pastebin or text storage site is a type of online content-hosting service where users can store plain text (e.g. source code snippets for code review via Internet Relay Chat (IRC)). The first pastebin was the eponymous pastebin.com. Other s ...
service called
Gist In computing, GiST or Generalized Search Tree, is a data structure and API that can be used to build a variety of disk-based search trees. GiST is a generalization of the B+ tree, providing a concurrent and recoverable height-balanced search tree ...
, and free website hosting under its github.io
domain Domain may refer to: Mathematics *Domain of a function, the set of input values for which the (total) function is defined ** Domain of definition of a partial function ** Natural domain of a partial function **Domain of holomorphy of a function * ...
. The GitHub terms of service prohibits illegal use and it reserves the right to remove content at its discretion. Users can
fork In cutlery or kitchenware, a fork (from la, furca 'pitchfork') is a utensil, now usually made of metal, whose long handle terminates in a head that branches into several narrow and often slightly curved tine (structural), tines with which one ...
(copy and individually develop) other projects, which GitHub does not automatically take down when served DMCA takedown notices. GitHub uses
HTTPS Hypertext Transfer Protocol Secure (HTTPS) is an extension of the Hypertext Transfer Protocol (HTTP). It is used for secure communication over a computer network, and is widely used on the Internet. In HTTPS, the communication protocol is enc ...
for its connections, making data more secure against interception from third parties.


China

China heavily regulates Internet traffic and has blocked many international Internet companies including
Facebook Facebook is an online social media and social networking service owned by American company Meta Platforms. Founded in 2004 by Mark Zuckerberg with fellow Harvard College students and roommates Eduardo Saverin, Andrew McCollum, Dust ...
and
Twitter Twitter is an online social media and social networking service owned and operated by American company Twitter, Inc., on which users post and interact with 280-character-long messages known as "tweets". Registered users can post, like, and ...
. In addition, Western businesses have said that these restrictions hurt their business by reducing access to information, such as from search engines and those using VPNs. In 2013, the country started blocking GitHub and it was met by protests among Chinese programmers. GreatFire, a Chinese anti-censorship organization, has attempted to circumvent the Great Firewall of China using
mirror website Mirror sites or mirrors are replicas of other websites or any network node. The concept of mirroring applies to network services accessible through any protocol, such as HTTP or FTP. Such sites have different URLs than the original site, but hos ...
s. However, the links to these pages were posted using GitHub which brings the risk of the site being blocked along with the mirrors. In a previous incident,
HSBC HSBC Holdings plc is a British multinational universal bank and financial services holding company. It is the largest bank in Europe by total assets ahead of BNP Paribas, with US$2.953 trillion as of December 2021. In 2021, HSBC had $10.8 tr ...
bank's Chinese operation was taken offline when the Akamai network was targeted for hosting GreatFire.org websites.


DNS hijacking


Blockage

On January 21, 2013, GitHub was blocked in China using DNS hijacking. It was reported that the attack was carried out in response to political information posted on the platform. Confirming the block, a spokesperson for GitHub said: "It does appear that we're at least being partly blocked by the Great Firewall of China". The block was lifted on January 23, 2013 after an online protest on
Sina Weibo Sina Weibo (新浪微博) is a Chinese microblogging (weibo) website. Launched by Sina Corporation on 14 August 2009, it is one of the biggest social media platforms in China, with over 582 million monthly active users (252 million daily ac ...
.


Criticism

Kai-Fu Lee Kai-Fu Lee (; born December 3, 1961) is a Taiwanese computer scientist, businessman, and writer. He is currently based in Beijing, China. Lee developed a speaker-independent, continuous speech recognition system as his Ph.D. thesis at Carnegie ...
brought attention to the block after posting about it on Sina Weibo. He derided the block, saying: "Blocking GitHub is unjustifiable, and will only derail the nation's programmers from the world, while bringing about a loss in competitiveness and insight." Lee's post was shared over 80,000 times. However, this website is still blocked in
Tibet Tibet (; ''Böd''; ) is a region in East Asia, covering much of the Tibetan Plateau and spanning about . It is the traditional homeland of the Tibetan people. Also resident on the plateau are some other ethnic groups such as Monpa people, ...
and
Xinjiang Xinjiang, SASM/GNC: ''Xinjang''; zh, c=, p=Xīnjiāng; formerly romanized as Sinkiang (, ), officially the Xinjiang Uygur Autonomous Region (XUAR), is an autonomous region of the People's Republic of China (PRC), located in the northwes ...
Autonomous Regions. ''The Next Web'' called the block unfortunate, saying that "Chinese developers will have to play around with workarounds or find an alternative service when they want to work with their peers around the world."


MITM attack


Attack

On January 26, 2013, GitHub users in China experienced a
man-in-the-middle attack In cryptography and computer security, a man-in-the-middle, monster-in-the-middle, machine-in-the-middle, monkey-in-the-middle, meddler-in-the-middle, manipulator-in-the-middle (MITM), person-in-the-middle (PITM) or adversary-in-the-middle (AiTM) ...
in which attackers could have intercepted traffic between the site and its users in China. The mechanism of the attack was through a fake
SSL certificate In cryptography, a public key certificate, also known as a digital certificate or identity certificate, is an electronic document used to prove the validity of a public key. The certificate includes information about the key, information about the ...
. Users attempting to access GitHub received a warning of an invalid SSL certificate, which, due to being signed by an unknown authority, was quickly detected. A spokesperson for GitHub said: "Early last week, it appeared that GitHub was being at least partially blocked by the Great Firewall of China... After a couple days, it appeared that GitHub was no longer being blocked." NETRESEC performed forensics of the attack and determined that it was indeed an attack, due to the large number of router hops involved (6) and because the user submitting the
packet capture A packet analyzer, also known as packet sniffer, protocol analyzer, or network analyzer, is a computer program or computer hardware such as a packet capture appliance, that can intercept and log traffic that passes over a computer network or ...
was from China. This attack was performed again on March 26, 2020 on GitHub Pages and March 27, 2020 on GitHub.com.


Rationale

GreatFire speculated that the attack was related to a popular White House petition calling for the denial of entry to the United States of the architects of the Great Firewall of China. The petition linked to a
Gist In computing, GiST or Generalized Search Tree, is a data structure and API that can be used to build a variety of disk-based search trees. GiST is a generalization of the B+ tree, providing a concurrent and recoverable height-balanced search tree ...
containing names of 3 of the architects and their contact information. GreatFire also said that since GitHub is
HTTPS Hypertext Transfer Protocol Secure (HTTPS) is an extension of the Hypertext Transfer Protocol (HTTP). It is used for secure communication over a computer network, and is widely used on the Internet. In HTTPS, the communication protocol is enc ...
only, Chinese authorities can't block individual pages and have to completely block the website, which helps explain why they would have to resort to the attack. ''
InformationWeek ''InformationWeek'' is a digital magazine which conducts corresponding face-to-face events, virtual events, and research. It is headquartered in San Francisco, California and was first published in 1985 by CMP Media, later called Informa. The p ...
'' noted the economic difficulty related to blocking GitHub: "What makes GitHub interesting from a censorship point of view is that it combines a critical business service—collaborative coding—with social interaction."


DDoS attack

On March 26, 2015, GitHub was the target of a
distributed denial-of-service In computing, a denial-of-service attack (DoS attack) is a cyber-attack in which the perpetrator seeks to make a machine or network resource unavailable to its intended users by temporarily or indefinitely disrupting services of a host conn ...
(DDoS) attack originating from China. It targeted two anti-censorship projects: GreatFire and cn-nytimes, the latter including instructions on how to access the Chinese version of ''
The New York Times ''The New York Times'' (''the Times'', ''NYT'', or the Gray Lady) is a daily newspaper based in New York City with a worldwide readership reported in 2020 to comprise a declining 840,000 paid print subscribers, and a growing 6 million paid ...
''. GitHub blocked China-based IP addresses from visiting these repositories. If a visitor comes from China, the page would show "Repository unavailable because of the Chinese Internet Blacklist". Based on GitHub, they are doing this so "that our users in that jurisdiction may continue to have access to GitHub to collaborate and build software." They are now having a gov-takedowns repository to record all the government requirements they could show.


India

India selectively censors websites at the federal and state levels. This is enforced by the Information Technology Act, 2000, as well as licensing requirements for
Internet service provider An Internet service provider (ISP) is an organization that provides services for accessing, using, or participating in the Internet. ISPs can be organized in various forms, such as commercial, community-owned, non-profit, or otherwise priva ...
s (ISPs). Critics such as
Rajeev Chandrasekhar Rajeev Chandrasekhar (born 31 May 1964) is an Indian politician of the Bharatiya Janata Party. He is the incumbent Minister of State for Skill Development and Entrepreneurship and Electronics and Information Technology of India. He is also an ...
have noted the vagueness of these regulations and the Centre for Internet and Society found that ISPs tended to over-comply with takedown requests.


ISP blockage

On December 17, 2014, the Indian Department of Telecom issued an order to ISPs to block 32 websites. The notice was made public on December 31, 2014 and it included GitHub, GitHub's
Gist In computing, GiST or Generalized Search Tree, is a data structure and API that can be used to build a variety of disk-based search trees. GiST is a generalization of the B+ tree, providing a concurrent and recoverable height-balanced search tree ...
,
Vimeo Vimeo, Inc. () is an American video hosting, sharing, and services platform provider headquartered in New York City. Vimeo focuses on the delivery of high-definition video across a range of devices. Vimeo's business model is through software as ...
, the
Internet Archive The Internet Archive is an American digital library with the stated mission of "universal access to all knowledge". It provides free public access to collections of digitized materials, including websites, software applications/games, music, ...
, and various
pastebin A pastebin or text storage site is a type of online content-hosting service where users can store plain text (e.g. source code snippets for code review via Internet Relay Chat (IRC)). The first pastebin was the eponymous pastebin.com. Other s ...
services. The block order was confirmed on
Twitter Twitter is an online social media and social networking service owned and operated by American company Twitter, Inc., on which users post and interact with 280-character-long messages known as "tweets". Registered users can post, like, and ...
by Arvind Gupta, the national head of the ruling party BJP, and was attributed to a suggestion by India's Anti Terrorism Squad in response to content by the
Islamic extremist Islamic extremism, Islamist extremism, or radical Islam, is used in reference to extremist beliefs and behaviors which are associated with the Islamic religion. These are controversial terms with varying definitions, ranging from academic und ...
group
ISIS Isis (; ''Ēse''; ; Meroitic: ''Wos'' 'a''or ''Wusa''; Phoenician: 𐤀𐤎, romanized: ʾs) was a major goddess in ancient Egyptian religion whose worship spread throughout the Greco-Roman world. Isis was first mentioned in the Old Kin ...
. Gupta also stated that websites that cooperated with the investigation were being unblocked. On January 2, 2015, the Ministry of Communications issued a statement that it will be unblocking 4 of the websites, including GitHub's Gist, and said that it will consider unblocking the remaining websites once they complied. Explaining its rationale, the ministry stated: "Many of these websites do not require any authentication for pasting any material on them... These websites were being used frequently for pasting, communicating ihadicontent..." Gulshan Rai of the CERT-In agency of the ministry said that the order came from the Mumbai Additional Chief Metropolitan Magistrate following an interrogation of Arif Majeed, an ISIS recruit. On January 4, 2015, a GitHub spokesperson said that some users were still having trouble accessing the site and that GitHub has attempted to reach out to the Indian government, but is still unclear about the cause of the block. They said that restoring access to the developer community in India was their top priority and that they "would like to work with the Indian government to establish a transparent process for identifying unlawful content, restore access, and ensure that GitHub continues to remain available in the future without interruption."


Impact

''
The Times of India ''The Times of India'', also known by its abbreviation ''TOI'', is an Indian English-language daily newspaper and digital news media owned and managed by The Times Group. It is the third-largest newspaper in India by circulation and largest s ...
'' reported blockage for Indian users by the ISPs
Vodafone Vodafone Group plc () is a British multinational telecommunications company. Its registered office and global headquarters are in Newbury, Berkshire, England. It predominantly operates services in Asia, Africa, Europe, and Oceania. , Vod ...
, BSNL and
Hathway Hathway Cable & Datacom Ltd, formerly BITV Cable Networks, is an Indian cable television service operator based in Mumbai. It was the first company to provide Internet using the CATV network in India, and the first cable operator to launch a ...
, but it still had access using Airtel. Because the order only told ISPs what to block and not how, the effectiveness of blocking access varied. The blocking was unreliable and seemed to be occurring at multiple layers, even within the same ISP. Blocking methods included
IP blocking IP address blocking, or IP banning, is a configuration of a network service that blocks requests from hosts with certain IP addresses. IP address blocking is commonly used to protect against brute force attacks and to prevent access by a disrup ...
, the use of a
proxy server In computer networking, a proxy server is a server application that acts as an intermediary between a client requesting a resource and the server providing that resource. Instead of connecting directly to a server that can fulfill a reques ...
, and
DNS blocking Domain Name System blocking, or DNS blocking / filtering is a strategy for making it difficult for users to locate specific domains or websites on the Internet. It was first introduced in 1997 as a means to block spam email from known malicious I ...
. Methods for gaining access ranged from using an alternate DNS server to installing circumvention software.


Criticism

Regarding the blocks,
TechCrunch TechCrunch is an American online newspaper An online newspaper (or electronic news or electronic news publication) is the online version of a newspaper, either as a stand-alone publication or as the online version of a printed periodical. Goi ...
remarked that " headdition of GitHub... is one of the more head-scratching decisions" and anticipated an uproar considering its importance in the tech industry. They also called it embarrassing in the context of Prime Minister
Narendra Modi Narendra Damodardas Modi (; born 17 September 1950) is an Indian politician serving as the 14th and current Prime Minister of India since 2014. Modi was the Chief Minister of Gujarat from 2001 to 2014 and is the Member of Parliament from ...
's
Make in India Make in India is an initiative by the Government of India to create and encourage companies to develop, manufacture and assemble products made in India and incentivize dedicated investments into manufacturing. The policy approach was to crea ...
campaign to promote India as a destination for
information technology Information technology (IT) is the use of computers to create, process, store, retrieve, and exchange all kinds of data . and information. IT forms part of information and communications technology (ICT). An information technology syste ...
. Prasanth Sugathan of the Software Freedom and Law Center called the blocks short-sighted, saying that "If you block one website, terrorists can always use another one... Such a move only inconveniences the daily users..." Twitter users protested using the
hashtag A hashtag is a metadata tag that is prefaced by the hash (also known as pound or octothorpe) sign, ''#''. On social media, hashtags are used on microblogging and photo-sharing services such as Twitter or Instagram as a form of user-generated ...
#GOIblocks and recirculated a hypocritical message by Modi from 2012 condemning blanket blocking of websites.
Anonymous Anonymous may refer to: * Anonymity, the state of an individual's identity, or personally identifiable information, being publicly unknown ** Anonymous work, a work of art or literature that has an unnamed or unknown creator or author * Anony ...
of India also posted several threats against the government, but did not take any action.


Russia

The Russian government
blacklist Blacklisting is the action of a group or authority compiling a blacklist (or black list) of people, countries or other entities to be avoided or distrusted as being deemed unacceptable to those making the list. If someone is on a blacklist, ...
s websites that include child pornography, drug-related material, advocacy of suicide, extremist material, and other illegal content under the
Russian Internet Restriction Bill Russian Internet restriction bill (russian: закон о блокировке экстремистских сайтов; Federal law of Russian Federation no. 139-FZ of 2012-07-28) is a law passed by the Russian State Duma in 2012 which replace ...
to protect children. This list is maintained by
Roscomnadzor The Federal Service for Supervision of Communications, Information Technology and Mass Media, abbreviated as ''Roskomnadzor'' (RKN) (russian: Роскомнадзор КН, is the Russian federal executive agency responsible for monitoring, co ...
, Russia's
regulatory agency A regulatory agency (regulatory body, regulator) or independent agency (independent regulatory agency) is a government agency, government authority that is responsible for exercising autonomous dominion over some area of human activity in a licen ...
.


ISP blockage

On December 2, 2014, Roscomnadzor blocked GitHub due to it hosting various copies of a suicide manual. Because GitHub uses
HTTPS Hypertext Transfer Protocol Secure (HTTPS) is an extension of the Hypertext Transfer Protocol (HTTP). It is used for secure communication over a computer network, and is widely used on the Internet. In HTTPS, the communication protocol is enc ...
, which encrypts data between a user's computer and GitHub's servers,
Internet service providers An Internet service provider (ISP) is an organization that provides services for accessing, using, or participating in the Internet. ISPs can be organized in various forms, such as commercial, community-owned, non-profit, or otherwise privat ...
(ISPs) were forced to block the whole website instead of the pages involved. Complying ISPs included:
Beeline A bee line is an idiom for the shortest route or a straight line between two points (see "as the crow flies"): bee line, bee-line, or beeline may also refer to: Brands and enterprises * Beeline (brand), a telecommunications brand by VimpelCom L ...
, MTS, MGTS and Megafon. Maxim Ksenzov, the Deputy Head of Roscomnadzor, said in a statement that the block was due to GitHub not complying with earlier takedown requests for the manual on October 10, 2014. GitHub was also momentarily blocked on October 2, 2014 until the original copy of the manual was deleted by its uploader.


Banned content

The manual in question was posted on March 23, 2014, and details 31 methods of suicide in Russian. It was added to a repository for a
software library In computer science, a library is a collection of non-volatile resources used by computer programs, often for software development. These may include configuration data, documentation, help data, message templates, pre-written code and sub ...
used for working with Windows filesystems and was forked by several users. The original copy was deleted by the owner on October 2, 2014 after numerous GitHub users complained because of a block by Roscomnadzor.
TechCrunch TechCrunch is an American online newspaper An online newspaper (or electronic news or electronic news publication) is the online version of a newspaper, either as a stand-alone publication or as the online version of a printed periodical. Goi ...
remarked that the manual seemed to be written as satire and includes methods such as "biting your tongue", "joining the military" or "getting a good gun" from a policeman. The takedown targeted the manual and its copies, as well as a reposted blog entry about suicide.


Response

GitHub complied and blocked access to the content within Russia saying that they were working to get reinstated. Citing its terms of service, GitHub elaborated that "you must not, in the use of the Service, violate any laws in your jurisdiction (including but not limited to copyright or trademark laws)." GitHub also created an official repository titled "roskomnadzor" for the purpose of posting takedown notices from the regulator. (It was later moved to "gov-takedowns" after a request from China on June 9, 2016) In the readme of the repository, GitHub states that they are concerned about Internet censorship and believe in transparency to document the potential for
chilling effect In a legal context, a chilling effect is the inhibition or discouragement of the legitimate exercise of natural and legal rights by the threat of legal sanction. A chilling effect may be caused by legal actions such as the passing of a law, the ...
s. They also warn that the presence of a notice is only for documentation and that GitHub does not pass any judgement on their validity.


Turkey

On October 8, 2016, following the leak of emails of Turkish Minister
Berat Albayrak Berat Albayrak ( born 21 February 1978) is a Turkish businessman and former politician, and the son-in-law of Turkish president Recep Tayyip Erdoğan. He is a former CEO of Çalık Holding. He was a member of parliament from Istanbul in the 25th ...
by RedHack, the Information and Communication Technologies Authority (BTK) ordered ISPs to block several
file sharing File sharing is the practice of distributing or providing access to digital media, such as computer programs, multimedia (audio, images and video), documents or electronic books. Common methods of storage, transmission and dispersion include r ...
websites, including
Dropbox Dropbox is a file hosting service operated by the American company Dropbox, Inc., headquartered in San Francisco, California, U.S. that offers cloud storage, file synchronization, personal cloud, and client software. Dropbox was founded in 2007 ...
, Microsoft OneDrive, and
Google Drive Google Drive is a file storage and synchronization service developed by Google. Launched on April 24, 2012, Google Drive allows users to store files in the cloud (on Google's servers), synchronize files across devices, and share files. In add ...
. The censorship monitoring watchdog Turkey Blocks observed that GitHub was blocked the following morning, and associated administrative orders were subsequently posted by the BTK stating that access had been officially restricted. Software that depended on GitHub reported errors, such as
Font Awesome Font Awesome is a font and icon toolkit based on CSS and Less. As of 2020, Font Awesome was used by 38% of sites that use third-party font scripts, placing Font Awesome in second place after Google Fonts. History It was made by Dave Gandy for ...
and Homebrew. Participants in Startup Istanbul week also complained about the unavailability of infrastructure. The #GitHub
hashtag A hashtag is a metadata tag that is prefaced by the hash (also known as pound or octothorpe) sign, ''#''. On social media, hashtags are used on microblogging and photo-sharing services such as Twitter or Instagram as a form of user-generated ...
became one of Twitter's top trends in Turkey. According to ''
The Daily Dot ''The Daily Dot'' is a digital media company covering the culture of the Internet and the World Wide Web. Founded by Nicholas White in 2011, ''The Daily Dot'' is headquartered in Austin, Texas. The site, conceived as the Internet's "hometo ...
'', RedHack purposefully spread the emails using multiple services, expecting Turkey to block them so that the Streisand effect could be utilized. GitHub was unblocked 18 hours later.


Notes


References


External links


GitHub blog

GitHub status messages
* {{Censorship and websites
GitHub GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, cont ...
GitHub