Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-26 Thread Karsten Loesing
On 7/26/12 4:50 PM, Moritz Bartl wrote: > On 26.07.2012 16:39, delber wrote: >> Compass is fine by me. Although, you have to admit that it does not say >> more than `tor-relay-stats`. I agree that Compass does not say more than tor-relay-stats. But it's a name, and once you know about it, it's mu

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-26 Thread Moritz Bartl
On 26.07.2012 16:39, delber wrote: > Compass is fine by me. Although, you have to admit that it does not say > more than `tor-relay-stats`. I opt for tor-relay-stats. I don't believe a helper script needs a made up name that doesn't say anything :) -- Moritz Bartl https://www.torservers.net/ ___

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-26 Thread delber
On Fri, Jul 20, 2012 at 04:31:48PM +0200, Karsten Loesing wrote: > I made a couple more changes to the script. We could clean up the code > a bit and improve the documentation, but I consider the script pretty > much feature-complete now. Yay! :) I have used it a bit. This is simply brilliant. :

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-20 Thread Karsten Loesing
Hi delber, On 7/17/12 11:10 AM, Karsten Loesing wrote: > On 7/16/12 5:54 PM, delber wrote: >> While preparing another batch of stats on french relays [1], I made >> a few other fixes to the script that you can pull from the same place as >> before. > > Thanks, merged! :) I made a couple more cha

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-17 Thread Karsten Loesing
On 7/16/12 5:54 PM, delber wrote: > While preparing another batch of stats on french relays [1], I made > a few other fixes to the script that you can pull from the same place as > before. Thanks, merged! :) Best, Karsten ___ tor-relays mailing list tor

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-16 Thread delber
> > May I ask if Onionoo will get a similar treatment to #6266 that what > > happened with #6334? The country-based statistics are probably off due > > to 'a1' being present in the country list at the moment. > > Done by reverting to the February database (Maxmind doesn't have > archives of their

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-16 Thread Karsten Loesing
On 7/15/12 7:37 PM, delber wrote: > On Sun, Jul 15, 2012 at 10:26:14AM +0200, Karsten Loesing wrote: >> I played around with the script and made a few more changes here: >> >> https://gitweb.torproject.org/karsten/metrics-tasks.git/commitdiff/dd6329a >> >> I didn't merge these changes into the offi

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-15 Thread delber
On Sun, Jul 15, 2012 at 10:26:14AM +0200, Karsten Loesing wrote: > I played around with the script and made a few more changes here: > > https://gitweb.torproject.org/karsten/metrics-tasks.git/commitdiff/dd6329a > > I didn't merge these changes into the official metrics-tasks.git yet, > because I

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-15 Thread Karsten Loesing
Hi delber, On 7/14/12 3:22 PM, delber wrote: > On Fri, Jul 13, 2012 at 12:10:42PM +0200, Karsten Loesing wrote: >> Yes, we should put this script in a Git repository. How about we put it >> in metrics-tasks.git for now? The script is related to #6329, so we >> could create a new directory task-6

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-14 Thread delber
On Fri, Jul 13, 2012 at 12:10:42PM +0200, Karsten Loesing wrote: > Yes, we should put this script in a Git repository. How about we put it > in metrics-tasks.git for now? The script is related to #6329, so we > could create a new directory task-6329/ and put the script and a README > in there. I

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-13 Thread Karsten Loesing
On 7/12/12 11:24 AM, delber wrote: > Hi! > > Attached is a pretty simple Python script to compute some statistics > about relays. Here's the doc: > > [...] > > Maybe it has flaws. Maybe it should land in some Git repository. I just > felt it might be of interest to other folks. Feel free to comm

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-13 Thread delber
On Thu, Jul 12, 2012 at 10:28:03PM +0200, Moritz Bartl wrote: > Thanks for this. Mind posting some output "examples" in a regular > fashion to some website? It would probably make more sense to get such stats from Onionoo and displayed in Atlas. The script is actually partly based from the PoC fou

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-12 Thread Moritz Bartl
On 12.07.2012 11:24, delber wrote: > Attached is a pretty simple Python script to compute some statistics > about relays. [...] I figured the top AS would be interesting to some on the list who don't want to run the script themselves. $ ./tor-relays-stats.py as-sets Exit | tac | head -n 25 21.068

Re: [tor-relays] Script to get top relays, AS and countries weights

2012-07-12 Thread Moritz Bartl
On 12.07.2012 11:24, delber wrote: > Hi! > > Attached is a pretty simple Python script to compute some statistics > about relays. Here's the doc: Thanks for this. Mind posting some output "examples" in a regular fashion to some website? -- Moritz Bartl https://www.torservers.net/ _

[tor-relays] Script to get top relays, AS and countries weights

2012-07-12 Thread delber
Hi! Attached is a pretty simple Python script to compute some statistics about relays. Here's the doc: Usage: tor-relays-stats.py [args ...] Where is one of: - countries [FLAGS] relative percentage of the consensus in each countries - as-sets [FLAGS] [COUNTRIES]