[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26653 [Applications/Tor Browser]: Evaluate Tor's Embedding API when integrating Tor Launcher



#26653: Evaluate Tor's Embedding API when integrating Tor Launcher
-------------------------------------------------+-------------------------
 Reporter:  sysrqb                               |          Owner:  tbb-
                                                 |  team
     Type:  task                                 |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, TBA-a2,                  |  Actual Points:
  TorBrowserTeam201809                           |
Parent ID:  #24856                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by sysrqb):

 Although this won't be helpful for TBA, one feature that may be useful is
 adding an interface for creating a connection instead of requiring the use
 of SOCKS. This would be similar to
 `tor_main_configuration_setup_control_socket()`, where the function takes
 as parameters the ipv[46] addr or hostname, port number, and an isolation
 parameter, and it returns a file descriptor. I don't believe there's
 currently a feature provided by the controller interface. REDIRECTSTREAM
 is similar, but not the same.

 {{{
 /**
  * Tells Tor to create a socket for an owning controller connection to the
  * Tor that will be launched.  Return the socket.
  */
 SOCKS_SOCKET tor_main_create_connection(tor_main_configuration_t *cfg,
                                         const char * hostname,
                                         uint16_t port,
                                         const char * stream_isolation);
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26653#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs