diff options
author | Roger Dingledine <arma@torproject.org> | 2010-01-17 19:41:22 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-01-17 19:41:22 -0500 |
commit | 79eaeef1cdef7503e5e4368161fc169f1317eef6 (patch) | |
tree | 39daa9af33da548e6e8bb5faf2c362333dad09f1 /src/or | |
parent | 5201e05fc55d479d95a8b908f6c33d2b88eee26c (diff) | |
download | tor-79eaeef1cdef7503e5e4368161fc169f1317eef6.tar.gz tor-79eaeef1cdef7503e5e4368161fc169f1317eef6.zip |
stop bridge authorities from leaking their bridge list
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/directory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 8099e3376d..42341f1040 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2956,7 +2956,8 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, if (!strcmp(url,"/tor/dbg-stability.txt")) { const char *stability; size_t len; - if (! authdir_mode_tests_reachability(options) || + if (options->BridgeAuthoritativeDir || + ! authdir_mode_tests_reachability(options) || ! (stability = rep_hist_get_router_stability_doc(time(NULL)))) { write_http_status_line(conn, 404, "Not found."); goto done; |