[tor-bugs] #21969 [Core Tor/Tor]: We're missing descriptors for some of our primary entry guards

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 6 00:22:58 UTC 2019


#21969: We're missing descriptors for some of our primary entry guards
-------------------------------------------------+-------------------------
 Reporter:  asn                                  |          Owner:  asn
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.0.6
 Severity:  Normal                               |     Resolution:
 Keywords:  needs-proposal, tor-guard, tor-      |  Actual Points:
  bridge, tor-client, tbb-needs,                 |
  034-triage-20180328, 034-removed-20180328      |
Parent ID:  #30817                               |         Points:  1.5
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 Replying to [comment:100 s7r]:
 > Replying to [comment:99 teor]:
 …
 > > In particular, tor needs to try harder to download descriptors if it
 has a good link, but backoff if it has a bad link, so that at least some
 descriptors can download. We don't know which case applies to your tor
 instance, because you only sent us 1 second worth of logs.
 > >
 >
 > I see - however regardless the case if Tor states it is missing just 1/3
 descriptors of our primary entry guards, it should still be able to build
 circuits with the available 2/3 descriptors that apparently we are not
 missing. That was the only thing that raised my attention.

 That's technically true, but it breaks tor's anonymity and safety goals.

 > I sent 1 second worth of logs because those are the only lines that were
 interesting and needed attention. Just before them were the regular
 heartbeat messages (I have sent / received / our onion service received
 etc. etc.) and that was everything in the log file as it was recently
 truncated by logrotate (and in the previous log file before rotation there
 was nothing besides the heartbeat messages as well). So, even if I would
 have sent complete log still only this 1 second worth of log would make
 reference to the issue.

 Ok, so there's no bug here: tor recovers quickly.

 > > If you'd like, we can make a ticket that delays those annoying logs
 until tor has been missing descriptors for an hour or so.
 > > That is a simple change, it will stop annoying relay operators, and it
 might get us better diagnostics.
 >
 > 1 hour seams too much. Might get a new consensus by that time. Maybe
 like 20 minutes if we really make this change? But I don't see a huge
 benefit, the logs are not annoying as they are, and we can see this way
 how often they occur in the wild and how many users are reporting them.
 What raises attention are not the logs itself but only the part where it
 complains about missing JUST 1/3 descriptors and stating it is not able to
 build circuits (why? still has 2/3 apparently). If this is expected, we
 should document and rephrase.

 I'll open a child ticket to rephrase the notice logs.

 > Also a more interesting thing is that this instance was running with
 `NumPrimaryGuards = 6` yet it was complaining about missing descriptors
 for 1/3 of primary guards but I opened this as a separate issue in #31644
 because it is slightly different and this ticket is already very large.

 Thanks! That does sound like a bug we should fix, but it doesn't appear to
 be breaking anything important.

 This is a parent ticket: I don't expect us to make fixes in this ticket.
 Instead, we should open child tickets for specific fixes.

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


More information about the tor-bugs mailing list