summaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-15 09:43:13 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-22 08:57:45 -0400
commit95a7e7e9254bc70db9e1d967d0db3deb658a2be3 (patch)
tree3937c7b1a241020f4d7d48d6df6660dba3319c9e /src/or/command.c
parent6a75a6fd9a7cd9c60904388f6836e7e659ef60e6 (diff)
downloadtor-95a7e7e9254bc70db9e1d967d0db3deb658a2be3.tar.gz
tor-95a7e7e9254bc70db9e1d967d0db3deb658a2be3.zip
Stop using CREATE_FAST as a signifier of clienthood.
Relays send it, and we may as well let them. Part of our fix for 22805.
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 46d3b6291c..42b42b21bb 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -353,16 +353,6 @@ command_process_create_cell(cell_t *cell, channel_t *chan)
int len;
created_cell_t created_cell;
- /* If the client used CREATE_FAST, it's probably a tor client or bridge
- * relay, and we must not use it for EXTEND requests (in most cases, we
- * won't have an authenticated peer ID for the extend).
- * Public relays on 0.2.9 and later will use CREATE_FAST if they have no
- * ntor onion key for this relay, but that should be a rare occurrence.
- * Clients on 0.3.1 and later avoid using CREATE_FAST as much as they can,
- * even during bootstrap, so the CREATE_FAST check is most accurate for
- * earlier tor client versions. */
- channel_mark_client(chan);
-
memset(&created_cell, 0, sizeof(created_cell));
len = onion_skin_server_handshake(ONION_HANDSHAKE_TYPE_FAST,
create_cell->onionskin,