Separate "SOCKS_COMMAND_CONNECT_DIR" into two flags in
commite5885deab578188582052c6885ffe0b59cba6151
authorRoger Dingledine <arma@torproject.org>
Sun, 28 Oct 2007 08:16:19 +0000 (28 08:16 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 28 Oct 2007 08:16:19 +0000 (28 08:16 +0000)
tree9412d741665ecc6fc34c20fc3864138f877e255f
parent2dea44181b20a2fe6a5b7a9b7267f17365e8fa3c
Separate "SOCKS_COMMAND_CONNECT_DIR" into two flags in
edge_connection_t: want_onehop if it must attach to a circuit with
only one hop (e.g. for the current tunnelled connections that use
begin_dir), and use_begindir if we mean to use a BEGIN_DIR relay
command to establish the stream rather than the normal BEGIN. Now
we can make anonymized begin_dir connections for (e.g.) more secure
hidden service posting and fetching.

svn:r12244
ChangeLog
doc/spec/socks-extensions.txt
src/or/buffers.c
src/or/circuituse.c
src/or/connection_edge.c
src/or/directory.c
src/or/or.h