Check for IP address change every minute, not 15 minutes
commit5911fc0c17176bbff379921b7905ec990f505f85
authorRoger Dingledine <arma@torproject.org>
Tue, 12 Feb 2013 02:57:32 +0000 (11 21:57 -0500)
committerRoger Dingledine <arma@torproject.org>
Tue, 12 Feb 2013 02:57:32 +0000 (11 21:57 -0500)
treee69184282a7214c5612799bb3075c62f6f317a02
parent17089302fdb454e03f173cc0c70c5a69c5c1cd7b
Check for IP address change every minute, not 15 minutes

Relays used to check every 10 to 60 seconds, as an accidental side effect
of calling directory_fetches_from_authorities() when considering doing
a directory fetch. The fix for bug 1992 removes that side effect. At the
same time, bridge relays never had the side effect, leading to confused
bridge operators who tried crazy tricks to get their bridges to notice
IP address changes (see ticket 1913).

The new behavior is to reinstate an every-60-seconds check for both
public relays and bridge relays, now that the side effect is gone.
changes/bug1992
src/or/main.c