[tor-bugs] #11147 [Tor]: spec: add UPLOAD action to HS_DESC control event
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Nov 4 17:47:07 UTC 2015
#11147: spec: add UPLOAD action to HS_DESC control event
---------------------------------------+-----------------------------------
Reporter: dave2008 | Owner:
Type: enhancement | Status: needs_revision
Priority: Very Low | Milestone: Tor:
Component: Tor | 0.2.8.x-final
Severity: Normal | Version: Tor: 0.2.7
Keywords: 028-triaged, pre028-patch | Resolution:
Parent ID: | Actual Points:
Sponsor: SponsorR | Points: small
---------------------------------------+-----------------------------------
Changes (by meejah):
* severity: => Normal
Comment:
txtorcon uses HS_DESC to detect when at least one descriptor has been
uploaded when adding a new hidden-service. This allows the 'endpoint' API
to only callback after the hidden-service is actually usable.
Currently, the "UPLOAD" event indicates the start of a descriptor upload,
and "UPLOADED" is issued on success as I understand it. However, the
UPLOADED event doesn't include information about *which* service's
descriptor got uploaded, so I currently guess by matching up destination
HS Authorities from the UPLOAD events (which both events include).
Although the above might be a little hacky, it's better than what I was
doing before this event, which was to enable INFO events and watch for the
right log string...
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11147#comment:14>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list