[tor-bugs] #6130 [Vidalia]: The countries' list in CountryInfo.cpp is not complete

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Jun 20 18:51:48 UTC 2012


#6130: The countries' list in CountryInfo.cpp is not complete
-------------------------------------+--------------------------------------
 Reporter:  sirop                    |          Owner:  chiiph              
     Type:  defect                   |         Status:  new                 
 Priority:  normal                   |      Milestone:  Vidalia: 0.3.x      
Component:  Vidalia                  |        Version:  Vidalia: 0.3.2-alpha
 Keywords:  geoip , countries' list  |         Parent:                      
   Points:                           |   Actualpoints:                      
-------------------------------------+--------------------------------------

Comment(by sirop):

 {{{
 wget
 http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
 awk -F, '{print tolower($5), $6}' GeoIPCountryWhois.csv | sort | uniq >
 geoip_uniq
 }}}

 Compare country-coordinates.csv and GeoIPCountryWhois.csv:
 {{{
 awk -F, '{print "\""$1"\"" }' country-coordinates.csv | sort | uniq > c1
 awk -F, '{print tolower($5) }' GeoIPCountryWhois.csv | sort | uniq > c2
 diff c1 c2 > diffc1c2
 }}}


 http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains
 > "a1"   "Anonymous Proxy"

 > "a2"   "Satellite Provider"

 > "ap"   "Asia/Pacific Region"

 > "bl"   "Saint Barthelemy"

 < "cs"   Czecho-Slovakia domain has not been use since 1993. The ISO-code
 cs was later allocated
          for Serbia and Montenegro, which used .yu instead.

 > "eu"   "European Union" , "Europe"

 < "fx"    As I found, it means French exterretorial, but is not used; we
 do not have "fx" in GeoIPCountryWhois.csv .

 < "mf"    "Saint Martin" , ok, http://en.wikipedia.org/wiki/ISO_3166-2:MF

 < "su"    Soviet Union , no correspondence in GeoIPCountryWhois.csv

 > "tl"    "Timor-Leste"

 < "tp"  Before it became independent from Indonesia in 2002, East Timor
 was officially assigned the ISO 3166-1 alpha-2 code TP.

 < "yu"  Yougoslavia, no correspondence in GeoIPCountryWhois.csv

 < "zr"  .zr is the former Internet country code top-level domain (ccTLD)
 for Zaire. Because Zaire was renamed Democratic Republic of the Congo in
 1997, .zr was phased out
          and .cd took its place. In 2001, .zr was finally terminated.

 So really questionable things are:
 > "a1"   "Anonymous Proxy"

 > "a2"   "Satellite Provider"

 > "ap"   "Asia/Pacific Region"

 > "eu"   "European Union"

 as I do not know how to assign geographic coordinates to them.

 We'll also need more flags, maybe, these:
 http://www.famfamfam.com/lab/icons/flags/ .

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6130#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list