diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-29 03:50:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-29 03:50:11 +0000 |
commit | 9dbfb91f179be5dbce705e62d267a2aeed54b1cb (patch) | |
tree | 3fafca6066a6a5905b52942a290a7e1cad4144b4 /src/or/relay.c | |
parent | fe9481fd1c330373f54b0f3d8c59562b0ec373fc (diff) | |
download | tor-9dbfb91f179be5dbce705e62d267a2aeed54b1cb.tar.gz tor-9dbfb91f179be5dbce705e62d267a2aeed54b1cb.zip |
r8997@Kushana: nickm | 2006-09-28 23:40:22 -0400
[Needs review.] Add a BEGIN_DIR relay cell type for an easier
in-protocol way to connect to directory servers through Tor.
Previously, clients could only connect to director servers over Tor
from exit nodes, but couldn't get directory information anonymously
from a non-exit cache without getting a directory server involved.
This needs testing, and needs client-side code to actually exercise it.
svn:r8527
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 8d9ce04fb1..16ecdd1be8 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -944,6 +944,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, // log_info(domain,"Got a relay-level padding cell. Dropping."); return 0; case RELAY_COMMAND_BEGIN: + case RELAY_COMMAND_BEGIN_DIR: if (layer_hint && circ->purpose != CIRCUIT_PURPOSE_S_REND_JOINED) { log_warn(LD_APP,"relay begin request unsupported at AP. Dropping."); |