Infrastructure to test BEGIN_DIR cells.
commit0dbf725927c0b3a7f88b852b272573c91857be9b
authorRoger Dingledine <arma@torproject.org>
Wed, 13 Dec 2006 00:28:56 +0000 (13 00:28 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 13 Dec 2006 00:28:56 +0000 (13 00:28 +0000)
treebea851e8726f18a8b463f950bfc1694ae6be6aa2
parentf5164ba61d8cf062bbc1beb2dfbca0abb3415e93
Infrastructure to test BEGIN_DIR cells.

New socks command CONNECT_DIR. New config option TunnelDirConns that
builds a circ ending at the directory server and delivers a BEGIN_DIR
cell if it's running 0.1.2.2-alpha or later. We still need to make
one-hop circs when appropriate, while making other conns avoid them.

svn:r9098
src/or/buffers.c
src/or/circuituse.c
src/or/config.c
src/or/connection_edge.c
src/or/control.c
src/or/directory.c
src/or/or.h
src/or/relay.c
src/or/router.c
src/or/routerparse.c