[metrics-team] No "hidden-service-dir" information in ServerDescriptor

iwakeh iwakeh at torproject.org
Fri Feb 16 19:06:18 UTC 2018


Hi!

On 02/16/2018 05:07 PM, Katharina Haselhorst wrote:
> Hello,
> 
> This is a question to the metrics-lib team:
> Is there a reason why there is no "hidden-service-dir" information in ServerDescriptor? 

You might be looking for getHiddenServiceDirVersions in RelayServerDescriptor (see [0])?

Kind regards,
iwakeh


[0] https://metrics.torproject.org/metrics-lib/org/torproject/descriptor/RelayServerDescriptor.html


> The dir-spec (https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt) does not list it as obsolete, so it seams
 > that this field containts relevant information.
> Although it is of course possible to parse the raw data and extract the information, this is (as the api indicates) an expensive operation: I would need to ask gor the raw descriptor bytes which copies the relevant data into a new array...
> 
> Regards, Kathi
> _______________________________________________
> metrics-team mailing list
> metrics-team at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/metrics-team

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/metrics-team/attachments/20180216/1380585f/attachment.sig>


More information about the metrics-team mailing list