Roger Dingledine arma at
Tue Sep 3 17:12:41 UTC 2002

On Tue, Sep 03, 2002 at 04:09:34PM +0100, Andrei Serjantov wrote:
> I thought OR and OP was now the same thing... Obviously, OPPORT and
> ORPORT should still be different. But why do we have a APPORT in the
> orrc file? This puzzles me.  I have set my OP_PORT in orrc to 9017 and my
> OnionProxy to 9017 in httpaprc and I still do not get a connection form AP
> to OP. Grrr. Any quick ideas?

There are three ports an OR might listen on:

* ORPORT is where it listens for connections from other onion routers.
* OPPORT is where it listens for connections from onion proxies.
* APPORT is where it listens for connections from application proxies.

So if you're running a main onion router on your machine, and you query it
directly from your application proxy, then you will never use the OPPORT.

A mode of operation which hasn't been tested in a while, but might
still work (I plan to play with it in a bit), is to set Role just to
ROLE_AP_LISTEN. Thus you'll have an onion proxy that only makes outgoing
connections to onion routers on demand.

> P.S. I am also convinced that my OR does not establish connections to the
> other OR's in the USA (maybe firewall problems?)

Are you running the latest version from CVS? Are you using the right keys?
Does /etc/hosts have a funny-looking entry for localhost?


More information about the tor-dev mailing list