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

[tor-bugs] #27801 [Core Tor/Tor]: tor_api: CreateConnection() interface



#27801: tor_api: CreateConnection() interface
------------------------------+------------------------------
     Reporter:  sysrqb        |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #25510
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 In ticket:26653#comment:8 I mentioned it may be nice if there was an
 easier way of requesting a new connection other than via a SOCKS
 connection. Adding an interface for creating a connection when roughly the
 same parameters Tor receives from the SOCKS handshake. In fact, I wonder
 if providing this as a wrapper around a default SOCKS client
 implementation may be an easy way of doing this.

 Something like:

 {{{
 /**
  * Tells Tor to open a socket for a client connection to the requested
  * destination.  Return the socket.
  */
 SOCKS_SOCKET tor_main_create_connection(tor_main_configuration_t *cfg,
                                         const char * hostname,
                                         uint16_t port,
                                         const char * stream_isolation);
 }}}

 Note, we don't need this for Tor Browser for Android. This is simply a
 more general idea.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27801>
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