[tor-bugs] #21360 [Core Tor/Tor]: add controller event to track changes to 'getinfo onions/detached'

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 1 05:27:14 UTC 2017


#21360: add controller event to track changes to 'getinfo onions/detached'
--------------------------+------------------------------------
 Reporter:  mischief      |          Owner:
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by yawning):

 Replying to [comment:1 arma]:
 > It looks like we want to trigger the event on a successful del_onion
 command?

 Yes.

 > Do we want some corresponding event on a successful add_onion command?

 And yes?  It would probably be useful to have a "the onion you created is
 likely reachable from the outside world" event that doesn't involve
 monitoring descriptor uploads as well..

 > Should we do this event only for detached onions?

 To remain true to the original design, it probably should fire for onions
 that the control port knows about, so each control port conn that is
 subscribed to the event gets them for  non-detached onions that it's
 responsible for creating, and all detached onions (ephemeral or not?).

 Thinking along these lines further, adding a `DETACH_ONION` command may be
 useful as well...

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


More information about the tor-bugs mailing list