[tor-bugs] #31644 [Core Tor/Tor]: NumPrimaryGuards is set to 6, but the log file keep reports that is missing descriptors for 1/3 of our primary entry guards

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 6 09:02:05 UTC 2019


#31644: NumPrimaryGuards is set to 6, but the log file keep reports that is missing
descriptors for 1/3 of our primary entry guards
-------------------------------------------------+-------------------------
 Reporter:  s7r                                  |          Owner:  (none)
     Type:  defect                               |         Status:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.4.1.2-alpha
 Severity:  Normal                               |     Resolution:  not a
 Keywords:  tor-guard, tor-client, state-file,   |  bug
  035-backport-maybe, 040-backport-maybe, 041    |  Actual Points:
  -backport-maybe                                |
Parent ID:  #31657                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by s7r):

 Ok, won't reopen this since it's not a bug, but just asking to confirm:
 If `NumPrimaryGuards` is set to something > 3, this will be transparent in
 the log file as Tor will just sample more primary guards in the list and
 only complain if it is missing descriptors for one or more of our
 '''primary entry''' guards (`NumEntryGuards`), correct?

 And because of #25853 when `NumEntryGuards` is set to <= 3, Tor will
 default to 3 (but actually try hard to just use 1) and also default to
 `NumPrimaryGuards` to 3 if not set to a higher number.

 So this means only if `NumEntryGuards = 6` would be used we would see
 "missing descriptors for '''n/6''' of our primary entry guards", and if
 `NumEntryGuards = 6` this means `NumPrimaryGuards = 6` as well, unless
 manually set to something > 6.

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


More information about the tor-bugs mailing list