[tor-bugs] #652 [Tor Relay]: Tor doesn't detect when the world cannot reach it anymore
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Thu Nov 11 18:02:14 UTC 2010
#652: Tor doesn't detect when the world cannot reach it anymore
--------------------------+-------------------------------------------------
Reporter: Sebastian | Type: defect
Status: closed | Priority: minor
Milestone: post 0.2.1.x | Component: Tor Relay
Version: 0.2.0.23-rc | Resolution: fixed
Keywords: | Parent:
--------------------------+-------------------------------------------------
Changes (by nickm):
* status: new => closed
* resolution: None => fixed
Old description:
> This is Tor r14297. When my internet connection dies (as it does every 24
> hours),
> and I come back up with a different IP address, Tor doesn't seem to
> notice that
> the world cannot connect to it anymore. This used to be different in the
> pre-RC
> versions, I haven't checked the previous RCs for that behaviour. Even
> after 6 hours,
> Tor has nothing in the Notice-level log.
>
> [Automatically added by flyspray2trac: Operating System: All]
New description:
This is Tor r14297. When my internet connection dies (as it does every 24
hours),
and I come back up with a different IP address, Tor doesn't seem to notice
that
the world cannot connect to it anymore. This used to be different in the
pre-RC
versions, I haven't checked the previous RCs for that behaviour. Even
after 6 hours,
Tor has nothing in the Notice-level log.
[Automatically added by flyspray2trac: Operating System: All]
--
Comment:
So the probe that happens here now is in
update_router_descriptor_downloads() if we're a server, and it happens
every 20 minutes, if 20 minutes have passed since we last tried fetching
any routerdescs.
We could also make it happen less often if we somehow know that our
existing published address is okay: for example, if we are getting new OR
connections and DIR connections happily, or if we learn our IP from some
other source like a NETWORKSTATUS cell. But in practice, that doesn't
seem to matter. I'm going to open a new bug report for this since the
current solution is inelegant: see #2178. The original bug here was fixed
back in 2008.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/652#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list