aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-07-08 15:54:30 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-19 02:02:17 -0400
commit8314fa5e5c8d300323589ff97599f8f93b847b78 (patch)
tree0d7f0a8e020731f090bbb64ef64b5938bde1b3ce /src/or/connection_edge.h
parent424063e3b2b882d72943bda41279bd29a711ec55 (diff)
downloadtor-8314fa5e5c8d300323589ff97599f8f93b847b78.tar.gz
tor-8314fa5e5c8d300323589ff97599f8f93b847b78.zip
Implement sensible isolation for tunneled directory conns
One-hop dirconn streams all share a session group, and get the ISO_SESSIONGRP flag: they may share circuits with each other and nothing else. Anonymized dirconn streams get a new internal-use-only ISO_STREAM flag: they may not share circuits with anything, including each other.
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r--src/or/connection_edge.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h
index 8bd308d5ba..85293a0913 100644
--- a/src/or/connection_edge.h
+++ b/src/or/connection_edge.h
@@ -36,6 +36,8 @@ int connection_ap_handshake_send_resolve(edge_connection_t *ap_conn);
edge_connection_t *connection_ap_make_link(connection_t *partner,
char *address, uint16_t port,
const char *digest,
+ int session_group,
+ int isolation_flags,
int use_begindir, int want_onehop);
void connection_ap_handshake_socks_reply(edge_connection_t *conn, char *reply,
size_t replylen,