[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #14847 [Tor]: Controller: add a command to fetch HS descriptor from HSdir(s)



#14847: Controller: add a command to fetch HS descriptor from HSdir(s)
-----------------------------+----------------------------------------
     Reporter:  dgoulet      |      Owner:  dgoulet
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  SponsorR tor-hs controller
Actual Points:               |  Parent ID:  #3521
       Points:               |
-----------------------------+----------------------------------------

Comment (by atagar):

 > Yeah, it's "time-period" field in the rend-spec so I will add that to
 the description. The only thing I want to avoid here is to copy-paste text
 between spec document because if one changes, chances are we forgot the
 other one.

 That makes sense. What I care about from a controller perspective is 'what
 does this field look like?'. That is to say, is it an iso timestamp, unix
 timestamp, whatever. From the example below seems it's the later.

 > TimePeriod, Replica and HSAddress are all used to compute a descriptor
 ID. Thus if you provide a descriptor ID, they are useless. From your
 native english speaker perspective, how can I phrase that better? :)

 Nah, the language is fine. I mean, I'm unsure what these arguments do.
 Lets say I make the request in your second example...

 {{{
 HSFETCH ajkhdsfuygaesfaa
 SERVER=9695DFC35FFEB861329B9F1AB04C46397020CE31
 TIMEPERIOD=424344
 REPLICA=1
 }}}

 I got that I'm fetching the descriptor for ajkhdsfuygaesfaa.onion from
 HsDir 9695DFC35FFEB861329B9F1AB04C46397020CE31. Guessing the TIMEPERIOD
 argument means 'the descriptor that was valid at unix timestamp 424344'?
 And replica... well, not sure what part means. :)

 No doubt if I read through the rend-spec all would make sense. All I mean
 is that it would be nice if this spec addition went a little further in
 explaining what these arguments do. :)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14847#comment:21>
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