aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-01-06 16:03:38 +0000
committerRoger Dingledine <arma@torproject.org>2009-01-06 16:03:38 +0000
commite1270723188812fb83a8aacf086b552dbd417267 (patch)
tree88da39e3aadd5a6dd2a305311beabf50a07ce9f1
parent9abfb564a04b498ae25a63746c72a21ee7f2dbc8 (diff)
downloadtor-e1270723188812fb83a8aacf086b552dbd417267.tar.gz
tor-e1270723188812fb83a8aacf086b552dbd417267.zip
Prevent bridge relays from serving their 'extrainfo' document
to anybody who asks, now that extrainfo docs include potentially sensitive aggregated client geoip summaries. svn:r17958
-rw-r--r--ChangeLog3
-rw-r--r--src/or/directory.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a86ec4c28..97cb628afc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@ Changes in version 0.2.1.10-alpha - 2009-01-0?
get a recent networkstatus but would get descriptors from up to
18 hours earlier, meaning most of the descriptors were obsolete
already. Reported by Tas; bugfix on 0.2.0.13-alpha.
+ - Prevent bridge relays from serving their 'extrainfo' document
+ to anybody who asks, now that extrainfo docs include potentially
+ sensitive aggregated client geoip summaries.
o Minor features:
- New controller event "clients_seen" to report a geoip-based summary
diff --git a/src/or/directory.c b/src/or/directory.c
index 4baee04045..f72ab41bf6 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2698,7 +2698,8 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
}
if (!strcmpstart(url,"/tor/server/") ||
- (!options->BridgeAuthoritativeDir && !strcmpstart(url,"/tor/extra/"))) {
+ (!options->BridgeAuthoritativeDir &&
+ !options->BridgeRelay && !strcmpstart(url,"/tor/extra/"))) {
int res;
const char *msg;
const char *request_type = NULL;