runet-censorship-bypass/README.md

34 lines
2.3 KiB
Markdown
Raw Normal View History

2017-12-03 15:40:22 +03:00
If you __unstar__, please, [leave us a note](https://github.com/anticensorship-russia/chromium-extension/issues) why you do so.
2016-11-12 14:59:23 +03:00
2015-12-21 00:07:00 +03:00
# Russian Anti-Censorship on PAC-Scripts
2015-12-20 23:39:47 +03:00
2015-12-21 00:05:41 +03:00
This repo contains:
2016-01-03 23:52:46 +03:00
2016-01-03 23:52:29 +03:00
1. Chrome Extension to bypass censorship in Russia:
2015-12-21 00:10:40 +03:00
[WebStore](https://chrome.google.com/webstore/detail/npgcnondjocldhldegnakemclmfkngch)
2015-12-20 23:51:49 +03:00
| [Sources](https://github.com/ilyaigpetrov/anti-censorship-russia/tree/master/extensions/chromium/minimalistic-pac-setter)
2016-01-03 23:52:29 +03:00
2. Proof of concept PAC-script generator based on https://github.com/zapret-info/z-i
2017-05-01 20:08:20 +03:00
3. ~~PAC-scripts performance analyses of scripts generated~~ (doesn't take parse time into account)
2017-03-09 01:11:31 +03:00
4. Based on the research of step 3 [the final PAC-generator][pac-generator] was written as a Google App Script in JavaScript which is triggered every two hours to generate and publish PAC-script on Google Drive (don't use direct URL without extension, please, URL will be periodically changed to counter abuse).
2016-11-12 14:59:23 +03:00
2017-10-07 16:52:03 +03:00
[pac-generator]: https://github.com/anticensority/pac-script-generator
2016-01-03 23:52:29 +03:00
2015-12-20 23:47:21 +03:00
## Why I do This
2015-11-28 18:21:20 +03:00
2015-12-20 23:57:22 +03:00
I believe __information mustn't be blocked based on political or other subjective views__.
2015-11-28 18:21:20 +03:00
2015-12-20 23:57:22 +03:00
My maxim is _"Your freedom ends when it starts to confine the freedom of others"_.
2015-11-28 18:21:20 +03:00
2015-12-21 00:08:24 +03:00
See [my other arguments against censorship (ru)](https://gist.github.com/ilyaigpetrov/9452b93ef3d7dd3d8cc2)
2015-12-21 00:14:15 +03:00
Looking at how Russian government [distorts TV](https://therussianreader.wordpress.com/2015/11/22/russian-truckers-strike-dagestan/) and blocks [critics of Putin](http://www.reuters.com/article/2014/03/13/us-russia-internet-idUSBREA2C21L20140313),
I decided to write an anti-censorship extension for Chromium before they strike me first.
2016-01-06 23:14:38 +03:00
## How it Works
2016-01-06 23:16:41 +03:00
0. PAC script is a JavaScript file, triggered on every URL request, which says browser which proxy to use if any for this particular URL.
2017-08-26 20:44:42 +03:00
1. The Chrome Extension sets PAC script in browser settings and keeps it synced with PAC script on the server (offering Antizapret (hosted on a dedicated server) or Anticensority (hosted on GitHub + CloudFlare)).
2. On every request PAC script checks if host is blocked or if its IP is blocked.
3. If address is blocked PAC script returns proxy server to the browser, both Antizapret and Anticensority use Antizapret proxy servers.
4. PAC scripts on servers are updated periodically from https://github.com/zapret-info/z-i.