]> git.ipfire.org Git - thirdparty/tor.git/commit
Twiddle ROUTER_{MAX_COSMETIC_TIME_DIFFERENCE,MAX_AGE_TO_PUBLISH}
authorNick Mathewson <nickm@torproject.org>
Fri, 30 Mar 2012 19:38:16 +0000 (15:38 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 30 Mar 2012 19:38:16 +0000 (15:38 -0400)
commitcc3515780529277a5f9d788e8a256798e5cd144f
tree178e2a0d5b1aa6411cf5873a82446f438ee429ac
parent458718d4975661831fa21d9f2653932e17c1bae0
Twiddle ROUTER_{MAX_COSMETIC_TIME_DIFFERENCE,MAX_AGE_TO_PUBLISH}

This is ticket 2479. Roger's original explanation was:

   We have a series of bugs where relays publish a descriptor within
   12 hours of their last descriptor, but the authorities drop it
   because it's not different "enough" from the last one and it's
   too close to the last one.

   The original goal of this idea was to a) reduce the number of new
   descriptors authorities accept (and thus have to store) and b)
   reduce the total number of descriptors that clients and mirrors
   fetch. It's a defense against bugs where relays publish a new
   descriptor every minute.

   Now that we're putting out one consensus per hour, we're doing
   better at the total damage that can be caused by 'b'.

   There are broader-scale design changes that would help here, and
   we've had a trac entry open for years about how relays should
   recognize that they're not in the consensus, or recognize when
   their publish failed, and republish sooner.

   In the mean time, I think we should change some of the parameters
   to make the problem less painful.
changes/bug2749 [new file with mode: 0644]
src/or/or.h
src/or/routerlist.c