[tor-bugs] #28843 [Core Tor/Tor]: DROPOWNERSHIP command

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 14 00:12:54 UTC 2018


#28843: DROPOWNERSHIP command
------------------------------+--------------------
     Reporter:  atagar        |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Low           |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Minor         |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 Hi Nick! As discussed a DROPOWNERSHIP command would be handy for the
 following use case...

 {{{
 00:04 <+atagar> Sorry, I'm probably not groking what you're suggesting.
 OwningControllerFd sounds to be for TAKEOWNERSHIP of a control socket
 (https://gitweb.torproject.org/torspec.git/tree/control-spec.txt#n3396).
 Do you
 mean 'don't open a control port, but open a control socket instead'?
 00:05 <+nickm> It is more special than that.
 00:05 <+nickm> you open a socketpair, and pass one end to tor when you
 start it
 00:06 <+nickm> since the os enforces ownership, you don't need to do any
 other authentication
 00:06 <+atagar> Ah. So stem opens a local socket before starting tor,
 provides
 this socket as a torrc argument, listens to the bootstrap messages, then
 disconnects?
 00:07 <+atagar> That certainly sounds like it would do the trick.
 00:08 <+atagar> In this case I don't want tor to terminate when I
 disconnect
 (which is the usual purpose of TAKEOWNERSHIP), but if I can avoid that
 this
 sounds perfect.
 00:09 <+nickm> sounds like a DROPOWNERSHIP command would be sufficient for
 your
 needs then
 00:09 <+nickm> open a ticket and I'll make one :)
 00:10 <+nickm> or remind me next week
 00:10 <+atagar> Wonderful! Thanks, will do.
 }}}

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


More information about the tor-bugs mailing list