[tor-bugs] #1629 [Tor - Tor client]: Dev. Tor Mesh control.
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Jul 31 22:02:28 UTC 2010
#1629: Dev. Tor Mesh control.
-------------------------------+--------------------------------------------
Reporter: Quadre | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Tor - Tor client | Version: Tor: 0.2.1.26
Resolution: invalid | Keywords:
Parent: |
-------------------------------+--------------------------------------------
Changes (by nickm):
* status: new => closed
* resolution: => invalid
Comment:
Hi! This is a bugtracker, not a general-purpose support tool.
But to answer your question: If you want to have a controller build its
own circuits and send your streams over them, you need to do the
following:
Set the __LeaveStreamsUnattached option so that when you make a TCP
connection request, Tor doesn't automatically connect it to a circuit for
you.
''Maybe'' set the __DisablePredictedCircuits option so that Tor builds
fewer circuits of its own. (This option isn't very well tested if I
remember correctly.)
Use SETEVENTS to listen for STREAM events so that you learn about new
stream requests when they arrive, and finally...
when a new stream requests arrives, you will get a STREAM event, and
you'll need to connect the stream to a circuit yourself, since Tor won't
be doing it for you. You can do this with the ATTACHSTREAM command.
All these commands, events, and options are documented in control-spec.txt
as included with Tor.
Удачи и хорошего настроения! (не говорю по-русски.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1629#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list