messages indicate strange choice by tor

Nick Mathewson nickm at freehaven.net
Wed May 12 18:09:41 UTC 2010


On Wed, Apr 14, 2010 at 10:02 AM, Scott Bennett <bennett at cs.niu.edu> wrote:
>     I would be most interested in knowing the explanation for the decision
> that tor announced in the following pair of messages.
>
> Apr 14 08:55:50.861 [info] connection_or_group_set_badness(): Marking OR conn to 194.109.206.212:443 as too old for new circuits: (fd 7, 900 secs old).  We have a better canonical one (fd 118; 2239 secs old).
> Apr 14 08:55:50.861 [info] run_connection_housekeeping(): Expiring non-used OR connection to fd 7 (194.109.206.212:443) [Too old].
>
>     Why is the younger connection too old, yet the much older connection
> is somehow "better"?

Oops, just saw that nobody had answered this.  That info message is a
bit misleading; "too old" in the message should really be something
more like "unsuitable".  For the full ugly details, check out
connection_or_group_set_badness() and connection_or_is_better() in
connection_or.c.  Some reasons you might get that message is if the
older connection is canonical and the new one isn't, or if the older
one has circuits and the new one has gone 15 minutes but gotten no
circuits.  I'll fix that info message in 0.2.2.x.

yrs,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo at torproject.org with
unsubscribe or-talk    in the body. http://archives.seul.org/or/talk/



More information about the tor-talk mailing list