[tor-bugs] #24230 [Core Tor/Tor]: control: HS_DESC event failed upload sends back the wrong Action

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 10 20:12:52 UTC 2017


#24230: control: HS_DESC event failed upload sends back the wrong Action
------------------------------+---------------------------------------
     Reporter:  dgoulet       |      Owner:  dgoulet
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  easy, tor-control, tor-hs
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+---------------------------------------
 When a descriptor upload fails, tor sends on the control port a
 `UPLOAD_FAILED` event where in fact it should be sending a `FAILED` event
 as the action with the reason: `UPLOAD_REJECTED` or `UNEXPECTED`.

 The `control_event_hs_descriptor_upload_failed()` is the offending
 function.

 The control spec does not specify at all the `Action=UPLOAD_FAILED` nor
 Stem for instance knows about it so this is a problem on tor side.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24230>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list