From 75755860679c4384787a0c0033c6be7b0c739ac5 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 12:40:24 +0500 Subject: [PATCH 1/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1446819..7b4247d 100755 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ This check is executed on each request. You should watch memeory consumption too The naive solution is to keep array of blocked ips and check if the host resolves to one of the ips. You may do it with `indexOf`, binary search, etc. -The shortcoming of every ip solution is that some providers resolve blocked hosts to wrong ips, so we eventually need list of hosts. +The shortcoming of every ip solution is that __some providers resolve blocked hosts to wrong ips__, so we eventually need list of hosts. I have tested different solutions, and depicted [results](./benchmark/Output.txt) in the following chart: From 3da592ff1e597f04c6bb1ae889e577116a9fd593 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 16:49:48 +0500 Subject: [PATCH 2/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b4247d..2852499 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Anti-censorship Solution for Russia on PAC-Script +# Anti-censorship Solution for Russia on PAC-scripts ## Censorship in Russia From 537488b62fed5dff5cf4b3b20babba5d29081713 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 16:50:12 +0500 Subject: [PATCH 3/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2852499..d937ad9 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Anti-censorship Solution for Russia on PAC-scripts +# Anti-censorship Solution for Russia on PAC-script ## Censorship in Russia From 68f2f734be1d609085a4e1061f671bb8af0dc0ac Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 16:50:29 +0500 Subject: [PATCH 4/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d937ad9..554a828 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Anti-censorship Solution for Russia on PAC-script +# Anti-censorship Solution for Russia on a PAC-script ## Censorship in Russia From 428edb88ae0e4371e0104e0c68dd9e0c9fbbe9e9 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 16:55:36 +0500 Subject: [PATCH 5/9] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 554a828..37613af 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Anti-censorship Solution for Russia on a PAC-script +# Anti-censorship Solution for Russia on PAC-script ## Censorship in Russia @@ -7,14 +7,15 @@ Censorship in Russia plagues the Freedoms of slowly building analogue of [China Golden Shield](https://en.wikipedia.org/wiki/Golden_Shield_Project). For good or bad, it blocks -[Main Kampf](https://en.wikipedia.org/wiki/Mein_Kampf), -[lolicon](https://en.wikipedia.org/wiki/Lolicon) (rearly distinguishing from hentai) and +[Main Kampf](https://en.wikipedia.org/wiki/Mein_Kampf) and [critics of Putin](http://www.reuters.com/article/2014/03/13/us-russia-internet-idUSBREA2C21L20140313). -Looking at how Russian government [distorts TV](https://therussianreader.wordpress.com/2015/11/22/russian-truckers-strike-dagestan/) and blocks Internet, I decided to write an Anti-Censorship extension for Chomium. +Looking at how Russian government [distorts TV](https://therussianreader.wordpress.com/2015/11/22/russian-truckers-strike-dagestan/) and blocks Internet, I decided to write an Anti-censorship extension for Chomium before they strike first. I believe the freedom of information is a virtue and important __information mustn't be blocked based on political or other subjective views__. +Your freedom ends when it starts to confine mine. + ## Technical Titbits ```javascript From f56de06480db8a140084fb24c7e20c50ce7bc49e Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 17:00:20 +0500 Subject: [PATCH 6/9] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 37613af..a0f9c23 100755 --- a/README.md +++ b/README.md @@ -38,3 +38,12 @@ I have tested different solutions, and depicted [results](./benchmark/Output.txt * __IPs binary__ – Blocked IP is search by binary search. For some reason miss time slightly increased. * __IPs switch__ – Simply `switch(Blocked_IP) { case1: ... caseN: return true }`. Works even better than binary search. Magic. * __Hosts switch__ – Radix trie built on `switch`. Comparable to __IPs switch__. + +## Antizapret + +I've decided to use [Antizapret](http://antizapret.prostovpn.org) proxy servers. +It has one restriction: +* Only those IPs are proxied that are in [the register](https://github.com/zapret-info/z-i). + +So, you can proxy any domain only if it has blocked ip. + From a0e5129cd2ca47ef68b937c29a4f6faf2490bfb0 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 17:01:39 +0500 Subject: [PATCH 7/9] Update README.md --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index a0f9c23..57ab915 100755 --- a/README.md +++ b/README.md @@ -41,9 +41,4 @@ I have tested different solutions, and depicted [results](./benchmark/Output.txt ## Antizapret -I've decided to use [Antizapret](http://antizapret.prostovpn.org) proxy servers. -It has one restriction: -* Only those IPs are proxied that are in [the register](https://github.com/zapret-info/z-i). - -So, you can proxy any domain only if it has blocked ip. - +I've decided to use [Antizapret](http://antizapret.prostovpn.org) proxy servers, which proxy ips from the [the register](https://github.com/zapret-info/z-i) only. From 20273b7370fc451684c67bbfc1b0dd8b25cb2618 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 17:02:36 +0500 Subject: [PATCH 8/9] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57ab915..372495c 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Censorship in Russia plagues the Freedoms of [Information](https://en.wikipedia.org/wiki/Freedom_of_information) and [Speech](https://en.wikipedia.org/wiki/Freedom_of_speech), slowly building analogue of [China Golden Shield](https://en.wikipedia.org/wiki/Golden_Shield_Project). -For good or bad, it blocks +For good or bad, it blocksm [Main Kampf](https://en.wikipedia.org/wiki/Mein_Kampf) and [critics of Putin](http://www.reuters.com/article/2014/03/13/us-russia-internet-idUSBREA2C21L20140313). @@ -14,7 +14,7 @@ Looking at how Russian government [distorts TV](https://therussianreader.wordpre I believe the freedom of information is a virtue and important __information mustn't be blocked based on political or other subjective views__. -Your freedom ends when it starts to confine mine. +Your freedom ends when it starts to confine the freedom of others. ## Technical Titbits From 8e41307755626950752746a04d561089f62e345a Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 2 Dec 2015 17:03:05 +0500 Subject: [PATCH 9/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 372495c..416b02b 100755 --- a/README.md +++ b/README.md @@ -39,6 +39,6 @@ I have tested different solutions, and depicted [results](./benchmark/Output.txt * __IPs switch__ – Simply `switch(Blocked_IP) { case1: ... caseN: return true }`. Works even better than binary search. Magic. * __Hosts switch__ – Radix trie built on `switch`. Comparable to __IPs switch__. -## Antizapret +## Antizapret Proxy I've decided to use [Antizapret](http://antizapret.prostovpn.org) proxy servers, which proxy ips from the [the register](https://github.com/zapret-info/z-i) only.