LINUX.ORG.RU

История изменений

Исправление user08, (текущая версия) :

https://***.to/ - Unable to connect

$grep network.proxy ~/.mozilla/firefox/my.default/user.js

user_pref("network.proxy.autoconfig_url", "file:///home/user/.pac");
user_pref("network.proxy.socks_remote_dns", true);

$cat ~/.pac

// -*-javascript-*-
// ~/.pac: Proxy Auto-Config file

var tor = "SOCKS5 localhost:9150";

// Selected resources censored in Russia
var censoredHosts = ["***.org",
                     "***.org",
                     "***.is", "***.me",
                     "***.to", "***.so", "***.co",
                     "***.ua",
                     "***.org"]


function FindProxyForURL(url, host)
{

    if (dnsDomainIs(host, ".onion"))
        return tor;

    for (var censoredHost of censoredHosts) {
        if (host === censoredHost || dnsDomainIs(host, "." + censoredHost))
            return tor;
    }

    return "DIRECT";
}

// vim: filetype=javascript

Исправление user08, :

https://***.to/ - Unable to connect $grep network.proxy ~/.mozilla/firefox/my.default/user.js

user_pref("network.proxy.autoconfig_url", "file:///home/user/.pac");
user_pref("network.proxy.socks_remote_dns", true);

$cat ~/.pac

// -*-javascript-*-
// ~/.pac: Proxy Auto-Config file

var tor = "SOCKS5 localhost:9150";

// Selected resources censored in Russia
var censoredHosts = ["***.org",
                     "***.org",
                     "***.is", "***.me",
                     "***.to", "***.so", "***.co",
                     "***.ua",
                     "***.org"]


function FindProxyForURL(url, host)
{

    if (dnsDomainIs(host, ".onion"))
        return tor;

    for (var censoredHost of censoredHosts) {
        if (host === censoredHost || dnsDomainIs(host, "." + censoredHost))
            return tor;
    }

    return "DIRECT";
}

// vim: filetype=javascript

Исправление user08, :

https://***.to/ - Unable to connect $grep network.proxy ~/.mozilla/firefox/my.default/user.js

user_pref("network.proxy.autoconfig_url", "file:///home/user/.pac");
user_pref("network.proxy.socks_remote_dns", true);

$cat ~/.pac

// -*-javascript-*-
// ~/.pac: Proxy Auto-Config file

var tor = "SOCKS5 localhost:9150";

// Selected resources censored in Russia
var censoredHosts = ["***.org",
                     "***.org",
                     "***.is", "***.me",
                     "***.to", "***.so", "***.co",
                     "***.ua",
                     "***.org"]


function FindProxyForURL(url, host)
{

    if (dnsDomainIs(host, ".onion"))
        return tor;

    for (var censoredHost of censoredHosts) {
        if (host === censoredHost || dnsDomainIs(host, "." + censoredHost))
            return tor;
    }

    return "DIRECT";
}

// vim: filetype=javascript

Исходная версия user08, :

https://lurkmore.to/ - Unable to connect $grep network.proxy ~/.mozilla/firefox/my.default/user.js

user_pref("network.proxy.autoconfig_url", "file:///home/user/.pac");
user_pref("network.proxy.socks_remote_dns", true);

$cat ~/.pac

// -*-javascript-*-
// ~/.pac: Proxy Auto-Config file

var tor = "SOCKS5 localhost:9150";

// Selected resources censored in Russia
var censoredHosts = ["dreamwidth.org",
                     "archive.org",
                     "flibusta.is", "flibusta.me",
                     "lurkmore.to", "lurkmore.so", "lurkmore.co",
                     "ex.ua",
                     "rutracker.org"]


function FindProxyForURL(url, host)
{

    if (dnsDomainIs(host, ".onion"))
        return tor;

    for (var censoredHost of censoredHosts) {
        if (host === censoredHost || dnsDomainIs(host, "." + censoredHost))
            return tor;
    }

    return "DIRECT";
}

// vim: filetype=javascript