[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #12538 [Tor]: Make all relays automatically be dir caches



#12538: Make all relays automatically be dir caches
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:
  cypherpunks            |     Status:  needs_review
         Type:  task     |  Milestone:  Tor: 0.2.6.x-final
     Priority:  normal   |    Version:  Tor: unspecified
    Component:  Tor      |   Keywords:  tor-guard, tor-relay, prop237,
   Resolution:           |  026-triaged-1, sebastian-review
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by sysrqb):

 Yes, the idea is the flag will be on by default, but operators may opt-
 out, if they want. I also agree 0.2.7 is almost certainly too soon, but
 the timing of that change can happen when the conditions are correct, no
 rush.

 This implements a new configuration option, named DirCache. Manpage and
 some tests are included. Changes file is slightly amended so it mentions
 this new option. A chutney net seemed to operate without any surprises,
 and bridges should not be affected and do not seem affected based on
 testing. During configuration validation tor explicitly rejects configs
 which both disable DirCache and enable a DirPort or BridgeRelay. During
 validation tor also emits a warning if its detected the system has less
 than 300MB of memory. 300MB is a bit arbitrary. I originally considered
 warning at 400MB, but decided to decrease it.

 Same a last time, two branches, feature12538_rebased_3 was append-only and
 _fixup was squashed/fixed-up. Rebased on master as of ~10 hours ago.
 feature12538_rebased_3
 feature12538_rebased_3_fixup

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12538#comment:39>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs