summaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-03 01:59:53 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-03 01:59:53 +0000
commit8c19d6e3d7944f267ac420ed42731c10e632e7d1 (patch)
tree59240eddc57411bc78f6813fe40902d57b387405 /src/or/onion.c
parent15036380a8477db073eb1b865cddd6e923857285 (diff)
downloadtor-8c19d6e3d7944f267ac420ed42731c10e632e7d1.tar.gz
tor-8c19d6e3d7944f267ac420ed42731c10e632e7d1.zip
alice can intercept y.onion requests, do a lookup on them via tor,
and receive a 404 svn:r1455
Diffstat (limited to 'src/or/onion.c')
-rw-r--r--src/or/onion.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index 0ed13b8135..1fdd65ac9c 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -189,7 +189,8 @@ static int new_route_len(double cw, routerinfo_t **rarray, int rarray_len) {
num_acceptable_routers = count_acceptable_routers(rarray, rarray_len);
if(num_acceptable_routers < 2) {
- log_fn(LOG_INFO,"Not enough acceptable routers. Discarding this circuit.");
+ log_fn(LOG_INFO,"Not enough acceptable routers (%d). Discarding this circuit.",
+ num_acceptable_routers);
return -1;
}
@@ -356,6 +357,7 @@ cpath_build_state_t *onion_new_cpath_build_state(uint8_t purpose,
} else { /* we have to decide one */
exit = choose_good_exit_server(purpose, rl);
if(!exit) {
+ log_fn(LOG_WARN,"failed to choose an exit server");
tor_free(info);
return NULL;
}