Re: Picking the nearest (not necessarily fastest) anoncvs server

2017-12-26 Thread Stuart Henderson
On 2017-12-24, Dinesh Thirumurthy  wrote:
> After some text processing of traceroute outputs, we get ...
>
> (server, rtt in ms, path info from geoip)

You can't identify the path from the server to you, only from you to the
server. They're often different. And they can change at any time.

Here's a good presentation about traceroute:

http://youtu.be/WL0ZTcfSvB4
http://www.nanog.org/sites/default/files/tuesday_steenbergen_troublshootingtraceroute_62.49.pdf




Re: Picking the nearest (not necessarily fastest) anoncvs server

2017-12-24 Thread Dinesh Thirumurthy
Peter,
 
 Thanks very much! 

> When I download from Canada and the transit goes through the USA it is
> downloading (and thus exporting) from Canada and not the USA.

Thanks for the clarification! I always viewed it as taking a CD from
Canada to USA to France to India. Too bad USA has Hotel California
policy on OpenBSD. 

"We are programmed to receive 
 You can check out any time you like 
 But OpenBSD can never leave!"

Never thought of links+routers (flights+airports) being pass through
staging points.

This whole thing reminds of the "medicine for goat" scene in the movie
Terminal.

A Bulgarian is taking some medicine from Canada, to his hometown in
Bulgaria. That medicine is impounded by customs is New York Airport.
He is transiting through New York because of some law.

https://www.youtube.com/watch?v=xrTUmYxnNlo

Just kind of reminds of this OpenBSD/Canada/USA combination.
 
> That said, have a merry christmas!

Wish you and all on this list a merry christmas!

Thanks again.

Regards,
Dinesh




Picking the nearest (not necessarily fastest) anoncvs server

2017-12-23 Thread Dinesh Thirumurthy
Hi,

> Just use cvs from a mirror outisde the US? You don't *need* to use
> github, github is a copy anyway and only cvs is authorative.
> 
>   -Otto

So was wondering which anoncvs server to pick?

After some text processing of traceroute outputs, we get ...

(server, rtt in ms, path info from geoip)

openbsd$ doas pkg_add GeoIP
openbsd$ ./do.sh
# no usa
 files.venture37.com 259.876 ok path in eu nl fr
  anoncvs.fr.openbsd.org 272.584 ok path in eu de fr
   mirror.osn.de 273.362 ok path in eu de
  anoncvs.eu.openbsd.org 285.433 ok path in eu se
anoncvs.comstyle.com 296.403 ok path in eu fr de ca
 openbsd.park.rambler.ru 298.014 ok path in eu ru
   ftp.hostserver.de 307.055 ok path in eu de fr de
  anoncvs.au.openbsd.org 324.136 ok path in au

# usa in path or destination
anoncvs1.usa.openbsd.org 247.272 !! path in us sg us
   anoncvs.obsd.esc7.net 257.454 !! path in eu us
 anoncvs.spacehopper.org 261.560 !! path in eu us es gb
anoncvs4.usa.openbsd.org 263.134 !! path in eu us
   mirror.planetunix.net 270.129 !! path in us
anoncvs2.usa.openbsd.org 278.932 !! path in eu us
  anoncvs.jp.openbsd.org 280.826 !! path in sg us sg us jp
 obsdacvs.cs.toronto.edu 286.313 !! path in us ca
 anoncvs.obsd.si 296.748 !! path in eu us eu us rs si
 anoncvs2.ca.openbsd.org 298.337 !! path in eu us ca
anoncvs3.usa.openbsd.org 301.577 !! path in eu us
 anoncvs1.ca.openbsd.org 305.934 !! path in eu us ca
mirror.litnet.lt 309.189 !! path in eu us eu us gb lt
openbsd$ ^D

Source: https://github.com/hakrtech/anoncvs.git

Have fun! Checkout paths to all anoncvs servers. 

No South American nor African servers. Or them along the paths. :-(

Interestingly if I choose a Canada server from India, it reaches 
Canada via USA. I am assuming crypto source should not transit through
USA. 

I observed GeoIP database has some bugs. It generates a few wrong
answers. It mentions a bunch of places as US. But other databases
mention it as Austria. 

Path from India to Japan is mentioned as India -> Singapore -> USA
Singapore -> USA -> Japan. That cant be right.

Kindly do not believe the path info too much. An approximation at best.

Thanks very much.

Regards,
Dinesh