diff options
author | Roger Dingledine <arma@torproject.org> | 2009-01-06 16:14:13 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2009-01-06 16:14:13 +0000 |
commit | 59e380c559819ae9d481fe460ccae3f9f9e5d1c8 (patch) | |
tree | 31869ee8a79e0953ec1a01f2299ca35864edca60 | |
parent | 14430690183a3bbcf9bfa4abd4639fcc5a0e2e14 (diff) | |
download | tor-59e380c559819ae9d481fe460ccae3f9f9e5d1c8.tar.gz tor-59e380c559819ae9d481fe460ccae3f9f9e5d1c8.zip |
backport r17958
svn:r17961
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/or/directory.c | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -18,6 +18,10 @@ Changes in version 0.2.0.33 - 2009-01-?? 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. Bugfix on + 0.2.0.13-alpha. o Minor bugfixes: - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug diff --git a/src/or/directory.c b/src/or/directory.c index d0671fccf1..05a219b241 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2468,7 +2468,9 @@ 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; |