Single hop connections?

Roger Dingledine arma at
Fri Jun 26 23:52:51 UTC 2009

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:

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:


More information about the tor-dev mailing list