[tor-bugs] #21717 [Applications/Orbot]: be more data plan friendly by setting DirCache 0 when possible

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 13 07:58:41 UTC 2017


#21717: be more data plan friendly by setting DirCache 0 when possible
--------------------------------+-----------------------------------
 Reporter:  anstein             |          Owner:  n8fr8
     Type:  defect              |         Status:  needs_information
 Priority:  Medium              |      Milestone:
Component:  Applications/Orbot  |        Version:
 Severity:  Normal              |     Resolution:
 Keywords:                      |  Actual Points:
Parent ID:                      |         Points:
 Reviewer:                      |        Sponsor:
--------------------------------+-----------------------------------
Changes (by teor):

 * status:  new => needs_information
 * type:  enhancement => defect


Comment:

 Replying to [ticket:21717 anstein]:
 > The default of "DirCache 1" causes all (two) consensus versions to be
 downloaded when the typical client use on a mobile phone only requires one
 version.

 DirCache is documented to only apply to directory servers:
 {{{
 DIRECTORY SERVER OPTIONS
        The following options are useful only for directory servers (that
 is,
        if DirPort is non-zero):
 ...
        DirCache 0|1
 }}}

 It actually applies to most relays (see #21720).

 Is Orbot running a relay or directory server?

 > Either set DirCache automatically depending on the given configuration
 options or add a GUI option with a default of 0.
 > Note that most users of orbot will probably not thoroughly read the
 orbot man page, have a look at the source code and then use the custom
 torrc option, thus superfluous data will be downloaded which is not so
 nice with a mobile data plan.

 Have you confirmed this issue by looking at the filesystem?
 If so, what files are present?

 When I start a recent tor client on my desktop, I see the following
 downloaded directory files:
 {{{
 cached-certs
 cached-microdesc-consensus
 cached-microdescs
 cached-microdescs.new
 }}}

 Do you see these files?
 (They are the extra files downloaded by directory servers.)
 {{{
 cached-consensus
 cached-descriptors
 cached-descriptors.new
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21717#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list