From f9f50a431450573d8603e10cf7c9c491679d8111 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 18 Apr 2018 21:32:50 +0500 Subject: [PATCH] Add a proxy server for ranges --- .../src/extension-full/20-ip-to-host-api.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-full/20-ip-to-host-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-full/20-ip-to-host-api.js index 2b625d4..2aa94ef 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-full/20-ip-to-host-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-full/20-ip-to-host-api.js @@ -75,8 +75,11 @@ Encoded to counter abuse. */ host: '\x70\x72\x6f\x78\x79\x2e\x61\x6e\x74\x69\x7a\x61\x70\x72\x65\x74\x2e\x70\x72\x6f\x73\x74\x6f\x76\x70\x6e\x2e\x6f\x72\x67', }; + const proxyForRanges = + '\x63\x63\x61\x68\x69\x68\x61\x2e\x61\x6e\x74\x69\x7a\x61\x70\x72\x65\x74\x2e\x70\x72\x6f\x73\x74\x6f\x76\x70\x6e\x2e\x6f\x72\x67'; privates._strToHostObj = { [_antizapret.host]: _antizapret, + [proxyForRanges]: { host: proxyForRanges }, }; privates._ipToHostObj = {};