[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Single hop connections?
On Fri, Jun 26, 2009 at 02:39:08PM -0400, Prithula Dhungel wrote:
> Thanks for the quick response. I am starting to do a project related to
> Tor that would require me to build 1-hop circuits and communicate from my OP
> to a webserver via the one single OR.
Tor relays by default shouldn't let you exit from them after only one hop.
See the third paragraph of:
https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#VariablePathLength
If you want to set up a relay that allows one-hop exits, have it set
AllowSingleHopExits in its torrc. Then its server descriptor will
indicate to the client that it's willing to allow them.
(Alas, the checks in the code to prevent single-hop exits are not as
thorough as they should be -- see e.g. proposal 163:
http://archives.seul.org/or/dev/May-2009/msg00019.html
http://archives.seul.org/or/dev/Jun-2009/msg00018.html
)
--Roger