[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #11350 [Onionoo]: Extend Onionoo's lookup parameter to give out relays/bridges that haven't been running in the past week
#11350: Extend Onionoo's lookup parameter to give out relays/bridges that haven't
been running in the past week
-----------------------------+---------------------
Reporter: karsten | Owner: karsten
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+---------------------
Changes (by karsten):
* cc: arma, rndm (added)
Comment:
I may have found a way to implement this feature without making yatei
explode. See
[https://gitweb.torproject.org/user/karsten/onionoo.git/shortlog/refs/heads/task-11350
branch task-11350 in my public branch].
From the
[https://gitweb.torproject.org/user/karsten/onionoo.git/blob/ee91353b426976b9105a283472e360b81d34e041:/web/index.html#l301
new protocol specification page]:
fingerprint
Return only the relay with the parameter value matching the fingerprint
or the bridge with the parameter value matching the hashed fingerprint.
Fingerprints must consist of 40 hex characters, case does not matter. This
parameter is quite similar to the lookup parameter with two exceptions:
(1) the provided relay fingerprint or hashed bridge fingerprint must not
be hashed (again) using SHA-1; (2) the response will contain any matching
relay or bridge regardless of whether they have been running in the past
week. Added on April 20, 2014.
The implementation is a bit of a hack though. I'll sleep over it and
maybe merge and deploy tomorrow.
Cc'ing arma and rndm, because we may need this feature for the Tor relay
challenge.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11350#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs