summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-14 07:50:45 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-14 07:50:45 +0000
commitf9bdb8a0da735caf263a72bdd0db847a78b64b53 (patch)
tree782147db0a1ccbd7a11a22d667873d475b352ed1
parent7d58bfbd50faa79950ebba4d737935200ab32846 (diff)
downloadtor-f9bdb8a0da735caf263a72bdd0db847a78b64b53.tar.gz
tor-f9bdb8a0da735caf263a72bdd0db847a78b64b53.zip
document aborted attempt to merge client dns cache with server dns cache
svn:r930
-rw-r--r--src/or/connection_edge.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index b7cbe41280..0b279b4d92 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -838,6 +838,11 @@ int connection_ap_can_use_exit(connection_t *conn, routerinfo_t *exit)
/* ***** Client DNS code ***** */
/* XXX Perhaps this should get merged with the dns.c code somehow. */
+/* XXX But we can't just merge them, because then nodes that act as
+ * both OR and OP could be attacked: people could rig the dns cache
+ * by answering funny things to stream begin requests, and later
+ * other clients would reuse those funny addr's. Hm.
+ */
struct client_dns_entry {
SPLAY_ENTRY(client_dns_entry) node;
char *address;