[tor-bugs] #24204 [Core Tor/Tor]: Improve the in-process Tor API: create owning control port

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 2 11:59:20 UTC 2018


#24204: Improve the in-process Tor API: create owning control port
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-mobile, s8-api,                  |  Actual Points:
  034-triage-20180328, 035-roadmap-subtask       |
Parent ID:  #25510                               |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor8-can
-------------------------------------------------+-------------------------

Comment (by hellais):

 Replying to [comment:12 nickm]:
 > Code in my `tor_api_owning_control` branch; PR at
 https://github.com/torproject/tor/pull/260

 Thanks for working on this!

 I started doing some testing of this branch.

 So far I have verified that:

 1. By closing the control socket tor shuts down

 2. I am able to use the control socket to send control port commands

 Here is a snippet of the code I have used to test it:
 https://gist.github.com/hellais/f231c95e5a487ec7b2edd5c80f6291f8.

 I think some more through testing is perhaps appropriate, but it for sure
 passes a smoke test.

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


More information about the tor-bugs mailing list