[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #14846 [Tor]: Controller: retrieve an HS descriptor of a service run by a user
#14846: Controller: retrieve an HS descriptor of a service run by a user
-------------------------+-------------------------------------------------
Reporter: dgoulet | Owner: donncha
Type: | Status: assigned
enhancement | Milestone: Tor: 0.2.7.x-final
Priority: trivial | Version: Tor: 0.2.7
Component: Tor | Keywords: SponsorR, tor-hs, controller,
Resolution: | 027-triaged-1-in, SponsorS
Actual Points: | Parent ID: #3521
Points: small |
-------------------------+-------------------------------------------------
Comment (by donncha):
I've pushed a branch with an initial implementing of this control port
command on my Github fork at https://github.com/DonnchaC/tor/pull/1 and
https://github.com/DonnchaC/torspec/pull/1.
`rendcache.c` is starting to look a little messy with lots of duplication
between `rend_cache_lookup_entry()`,
`rend_cache_lookup_v2_desc_as_service()` and
`rend_cache_lookup_v2_desc_as_dir()`. I'm open to suggestion on the best
way to tidy it up.
With this branch the service caches it's generated descriptor in
`rend_encode_v2_descriptors()` when the descriptor is normally generated.
The descriptor will be generated and stored even if `RendPostPeriod == 0`.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14846#comment:11>
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