[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: dgoulet
Type: enhancement | Status: new
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 dgoulet):
Replying to [comment:2 arma]:
> Sounds like it could be useful. I think it might be tricky to implement
though, since Tor doesn't keep a copy of the descriptor it uploaded, does
it?
>
> (rend_encode_v2_descriptors() makes some descriptors and then uploads
them and then discards them.)
Yes, `upload_service_descriptor()` discard them at the end.
>
> That said, keeping a copy of the last descriptor you encoded doesn't
sound too hard, and would make this ticket pretty easy to implement.
Either that or we recreate (without uploading) and dump it?
>
> Makes me wonder if we also want an event for publishing hsdescs (else,
how can you know that the answer to this getinfo has changed).
Maybe adding an Action `UPLOADED` to the `HS_DESC` event?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14846#comment:3>
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