Re: [tor-dev] Two new Onionoo versions 2.4 and 2.5 add new "effective_family" and "measured" fields

2015-09-27 Thread nusenu
Hi,

was there a specific reason for reverting the tpo instance back to
version 2.3?
(since 2015-09-27 07:00)

thanks!





signature.asc
Description: OpenPGP digital signature
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Two new Onionoo versions 2.4 and 2.5 add new "effective_family" and "measured" fields

2015-09-27 Thread Karsten Loesing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 27/09/15 14:45, nusenu wrote:
> Hi,
> 
> was there a specific reason for reverting the tpo instance back to 
> version 2.3? (since 2015-09-27 07:00)

Oops, that's by mistake.  The host was restarted and still had 2.3
written in its crontab @reboot line.  I just changed that to 2.6.  It
might be that some documents will miss the new fields added after 2.3,
but I hope that will resolve itself over the next days.  If you're
observing any problems with this, please let me know and I'll take a look.

> thanks!

Thanks for the report!

All the best,
Karsten

-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJWCGC5AAoJEJD5dJfVqbCrfsQIAJ95ND7pYmqHsMOgQyiS5A2F
R1/J357ZpA7IyzKf5bp57BiW1Dpx9u4yLzs8pVdxRjeV0xac4AYvxVQZkS8N85Bp
d0Hczzj4DfMKk8xXvxXuR9fkU+YxmmVX+VK5e6HrBPS5YHSO//HXTtdlTUWlRA6u
vpMll7GWszdY/ZJK8BGVNpY9DvEeKYfFp7JpzJ5B92r30+wwO/ut581R/uZrpQVd
jtdVwLm01tdY6fMuOsz6s7ygaHwFU5hGMDrOMSvstWH2jyRGuMtziy+F8gB46yC/
foEiW49l+KNgPJb5lqK1Vdx1sGxYTvf53ybDUHc/GxA4vszPbta95Kwu+BKbmLE=
=HA32
-END PGP SIGNATURE-
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Two new Onionoo versions 2.4 and 2.5 add new effective_family and measured fields

2015-08-23 Thread David Fifield
On Wed, Aug 19, 2015 at 02:27:10PM +0200, Karsten Loesing wrote:
 The new version 2.5 that I deployed this week adds the optional
 measured field to details documents.  The main idea behind this new
 field is that relay operators and Tor network debuggers can now figure
 out easily whether a relay is affected by not being measured by a
 sufficient number of bandwidth authorities and as a result has lower
 usage than it could handle.  This field is not yet displayed by the
 Onionoo clients Atlas or Globe, but it's accessible via Onionoo's API
 [2].  More details are on ticket #16020 [3].
 
 [2] https://onionoo.torproject.org/protocol.html#details
 
 [3] https://trac.torproject.org/projects/tor/ticket/16020

Onionoo is great. Here are a couple of graphs that have to do with the
Measured flag.

The first one is a CDF of consensus weight (which maps to e.g. the
probability of using a relay in a circuit). Check out the big rise at a
consensus weight of 20. That's caused by the default bandwidth setting
of 20 KB/s when a relay is unmeasured:

https://gitweb.torproject.org/tor.git/tree/src/or/dirvote.h?id=tor-0.2.6.10#n89
/** Default bandwidth to clip unmeasured bandwidths to using method =
 * MIN_METHOD_TO_CLIP_UNMEASURED_BW.  (This is not a consensus method; 
do not
 * get confused with the above macros.) */
#define DEFAULT_MAX_UNMEASURED_BW_KB 20

The second graph shows the age of all currently running relays (first
seen date) with the consensus weight. The unmeasured relays are colored
differently. See how they all fall on the 20 KB/s line.
library(ggplot2)
library(rjson)

details - fromJSON(file=https://onionoo.torproject.org/details?type=relay;)
# Convert JSON into a data.frame.
relays - Filter(function(x) { x[[running]] }, details[[relays]])
relays - do.call(rbind, lapply(relays, function(x) {
as.data.frame(c(
x[c(nickname, measured, consensus_weight, first_seen)],
exit=((Exit %in% unlist(x[flags]))  !(BadExit %in% 
x[flags]))
))
}))
relays$first_seen - as.POSIXct(relays$first_seen, tz=GMT)

p - ggplot(relays, aes(consensus_weight))
p - p + stat_ecdf()
p - p + scale_x_log10()
p - p + labs(title=NULL, x=Consensus weight (KB/s), y=Fraction)
ggsave(consensus_weight.png, p, width=7, height=4, dpi=120)

p - ggplot(relays, aes(first_seen, consensus_weight, color=measured))
p - p + geom_point(alpha=0.2)
p - p + scale_y_log10()
p - p + labs(title=NULL, x=First seen date, y=Consensus weight (KB/s))
p - p + guides(color=guide_legend(override.aes=c(alpha=1)))
ggsave(first_seen.png, p, width=7, height=4, dpi=120)
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Two new Onionoo versions 2.4 and 2.5 add new effective_family and measured fields

2015-08-19 Thread Karsten Loesing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi devs,

I was reminded by Harmony that I said a while back [0] that I would
announce new Onionoo versions on this list and not only in private
message to Harmony for including them in the next TWN issue.  Oops.

So, version 2.4 added a new effective_family field to details
documents, listing all the relays with which the relay in question is
in an effective, mutual family relationship.  The main goal here is to
make it easier to detect misconfigured relay families.  This can be
relay operators or friendly people watching over the Tor network and
reminding relay operators to fix their configurations. [1]

The new version 2.5 that I deployed this week adds the optional
measured field to details documents.  The main idea behind this new
field is that relay operators and Tor network debuggers can now figure
out easily whether a relay is affected by not being measured by a
sufficient number of bandwidth authorities and as a result has lower
usage than it could handle.  This field is not yet displayed by the
Onionoo clients Atlas or Globe, but it's accessible via Onionoo's API
[2].  More details are on ticket #16020 [3].

All the best,
Karsten


[0] onionoo-announce@ posting from April 27, 2015

[1]
https://lists.torproject.org/pipermail/tor-news/2015-August/000109.html

[2] https://onionoo.torproject.org/protocol.html#details

[3] https://trac.torproject.org/projects/tor/ticket/16020
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJV1HYeAAoJEJD5dJfVqbCrFJAIAIQYIC0CiSx6GJJikQ6CTxgw
+AljFxABfnLtHu58EtBLx1jRJo0u9fStCMA/YFWLiq3FmEhCb5YvoL4zwa92PwlN
bIoEricgq3sXjOm6TxJ75/6OBeH8AVIsah6qxHFkVfCPwjmt0bsDyaE7VqlCv2tN
tAunIZcDyhsStGOOErr5uc9FHgPquvb66Iy7YFwnJxioMRE3yp4GBTDv78WyUEuR
TZOWBh/cbJYrwSu5b+vU3C+t9eAI9ErQ8BDYlwy0C6zgJO+paSUkxWkCvuI3nv2l
e/Ol6M40c9syZEb5jexn3K3NTOpJCKKhjXoXtP7UHXz8ZSdhZw2gxi31ZXYrSkQ=
=/rwg
-END PGP SIGNATURE-
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev