aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-15 08:15:12 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-15 08:15:12 +0000
commitcd3da3fc12602eb4b4c60ce18f88b1dbb3586d14 (patch)
tree32a4a65dd7942aa71d995901af92faf39024dece /src/or/rendservice.c
parent10c73764f8c5099e2d85c544a356824d1084b424 (diff)
downloadtor-cd3da3fc12602eb4b4c60ce18f88b1dbb3586d14.tar
tor-cd3da3fc12602eb4b4c60ce18f88b1dbb3586d14.tar.gz
o clients choose nodes proportional to advertised bandwidth
o and/or while avoiding unreliable nodes, depending on goals o 'fascistfirewall' option to pick dirservers on port 80 and ORs on port 443. o if a begin failed due to exit policy, but we believe the IP should have been allowed, switch that router to exitpolicy reject *:* until we get our next directory. svn:r2231
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 836f119e2..ddc2bd88a 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -822,7 +822,7 @@ void rend_services_introduce(void) {
for (j=prev_intro_nodes; j < NUM_INTRO_POINTS; ++j) {
router = router_choose_random_node(service->intro_prefer_nodes,
service->intro_exclude_nodes,
- exclude_routers);
+ exclude_routers, 1, 0);
if (!router) {
log_fn(LOG_WARN, "Could only establish %d introduction points for %s",
smartlist_len(service->intro_nodes), service->service_id);