Update hidden mode list using the Freedom in the World Index 2019

https://freedomhouse.org/report/countries-world-freedom-2019
This commit is contained in:
zzz
2019-06-21 16:41:54 +00:00
parent 93a3f09971
commit 019c3171c4

View File

@ -14,47 +14,49 @@ public abstract class StrictCountries {
private static final Set<String> _countries; private static final Set<String> _countries;
// zzz.i2p/topics/969 // List updated using the Freedom in the World Index 2019
// List created based on the Press Freedom Index. Those countries with a score of higher than 50 are included: // https://freedomhouse.org/report/countries-world-freedom-2019
// http://en.wikipedia.org/wiki/Press_Freedom_Index // General guidance: Include countries with a Civil Liberties (CL) score of 6 or 7.
// Except (quote):
// I don't really think that is usage of I2P is dangerous in countries from CIS
// General situation is really bad (like in Russia) but people here doesn't have problems with Ecnryption usage.
static { static {
String[] c = { String[] c = {
/* Afghanistan */ "AF", /* Afghanistan */ "AF",
/* Azerbaijan */ "AZ",
/* Bahrain */ "BH", /* Bahrain */ "BH",
/* Belarus */ "BY",
/* Brunei */ "BN", /* Brunei */ "BN",
/* Burma */ "MM", /* Burundi */ "BI",
/* Cameroon */ "CM",
/* Central African Republic */ "CF",
/* Chad */ "TD",
/* China */ "CN", /* China */ "CN",
/* Colombia */ "CO",
/* Cuba */ "CU", /* Cuba */ "CU",
/* Democratic Republic of the Congo */ "CD", /* Democratic Republic of the Congo */ "CD",
/* Egypt */ "EG",
/* Equatorial Guinea */ "GQ", /* Equatorial Guinea */ "GQ",
/* Eritrea */ "ER", /* Eritrea */ "ER",
/* Ethiopia */ "ET", /* Ethiopia */ "ET",
/* Fiji */ "FJ",
/* Honduras */ "HN",
/* Iran */ "IR", /* Iran */ "IR",
/* Laos */ "LA", /* Laos */ "LA",
/* Libya */ "LY", /* Libya */ "LY",
/* Malaysia */ "MY", /* Myanmar */ "MM",
/* Nigeria */ "NG",
/* North Korea */ "KP", /* North Korea */ "KP",
/* Pakistan */ "PK",
/* Palestinian Territories */ "PS", /* Palestinian Territories */ "PS",
/* Philippines */ "PH",
/* Rwanda */ "RW", /* Rwanda */ "RW",
/* Saudi Arabia */ "SA", /* Saudi Arabia */ "SA",
/* Somalia */ "SO", /* Somalia */ "SO",
/* Sri Lanka */ "LK", /* South Sudan */ "SS",
/* Sudan */ "SD", /* Sudan */ "SD",
/* Swaziland */ "SZ", /* Eswatini (Swaziland) */ "SZ",
/* Syria */ "SY", /* Syria */ "SY",
/* Tajikistan */ "TJ",
/* Thailand */ "TH", /* Thailand */ "TH",
/* Tunisia */ "TN", /* Turkmenistan */ "TM",
/* Venezuela */ "VE",
/* Vietnam */ "VN", /* Vietnam */ "VN",
/* United Arab Emirates */ "AE",
/* Uzbekistan */ "UZ",
/* Western Sahara */ "EH",
/* Yemen */ "YE" /* Yemen */ "YE"
}; };
_countries = new HashSet<String>(Arrays.asList(c)); _countries = new HashSet<String>(Arrays.asList(c));