[tor-bugs] #3523 [Tor]: Allow controllers to post HS descriptors to the HSDir system

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 26 16:09:54 UTC 2015


#3523: Allow controllers to post HS descriptors to the HSDir system
-----------------------------+-----------------------------------
     Reporter:  rransom      |      Owner:
         Type:  enhancement  |     Status:  needs_revision
     Priority:  minor        |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  maybe-proposal tor-hs
Actual Points:               |  Parent ID:  #8993
       Points:               |
-----------------------------+-----------------------------------
Changes (by yawning):

 * status:  needs_review => needs_revision


Comment:

 Casual review:

  * (General) This needs a `control-spec.txt` patch documenting the
 behavior.
  * `control.c:handle_control_hspost()`
    * This routine leaks memory like a sieve.
    * `cp = (char*) body;` don't cast off the const.
  * `rendservice.c:directory_post_to_hs_dir()`
    * This needs documentation that it will obliterate the contents of
 `hs_dirs` and free the pointer.
    * Leaks a smartlist_t when hs_dirs != NULL.

 There may be more things wrong, but this should be a start.

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


More information about the tor-bugs mailing list