[tor-dev] Consensus-health single-relay data

Tom Ritter tom at ritter.vg
Fri Mar 9 19:28:49 UTC 2018

Please test http://utternoncesense.com/ : check the end of the page.
(Note this is a static link, I'm not updating it every hour).

I have tested it on Tor Browser and High Security Slider, seems to
work for me, but I want feedback on the UX and for bugs. Obviously
this doesn't work with js disabled, but it should at least tell you
what the issue is.


Under the covers while generating the detailed page, I also generate a
list of indexes for each relay. I lazy-load that list at the end of
the index page load (about 700kb). When you ask for a fingerprint it
makes a range request using that index. Even trying to be as speedy as
I could be, the lazy-load is quite fast. I'm hopeful the use case of
trying to paste a fingerprint in as fast as one can is acceptable and
speedy, so give that a shot.

I almost was able to do with with no apache config, but it turns out
that the HTTP spec is ambiguous about how to handle Range requests on
gzipped content, so Apache just doesn't. '    SetEnvIf
X-Requested-With XMLHttpRequest no-gzip' will fix it for this use

In the future I expect to be able to extend this to inline-load
historical data from the prior consensus when you click the <- button;
but I have to give some more thought to how I want to display that.
(And it's more complicated in general.)


On 7 March 2018 at 15:43, nusenu <nusenu-lists at riseup.net> wrote:
> Tom Ritter:
>> teor suggested the other day that it'd be really useful to be able to
>> see the vote data for a single relay;
> great to see this is being worked on - thanks for that!
> Previously we also mentioned this feature in the context of onionoo,
> but processing votes is not something onionoo does currently (and it is a lot
> more data to take).
> --
> https://mastodon.social/@nusenu
> twitter: @nusenu_
> _______________________________________________
> tor-dev mailing list
> tor-dev at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev

More information about the tor-dev mailing list