[tor-bugs] #21642 [Core Tor/Tor]: Prop275: Eliminate "published" times from microdescriptor consensus
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed May 10 20:09:58 UTC 2017
#21642: Prop275: Eliminate "published" times from microdescriptor consensus
------------------------------------------------+--------------------------
Reporter: nickm | Owner: nickm
Type: enhancement | Status:
| merge_ready
Priority: Medium | Milestone: Tor:
| 0.3.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: TorCoreTeam201703, review-group-17 | Actual Points: .5
Parent ID: | Points: 2
Reviewer: | Sponsor: Sponsor4
------------------------------------------------+--------------------------
Comment (by arma):
Replying to [comment:23 nickm]:
> That's 15/>9000 uploads, though? It seems like it might not matter a
great deal then. I think we can also merge these patches now, and
investigate how to fix the "version listed in consensus is quite old" bug
before we actually change the published logic. Agreed?
Alas, disagree. I think those "not specified" uploads represent a bug
where some relays upload when they don't need to (i.e. they didn't mark
their descriptor dirty in any way before uploading), and where nearly all
of those uploads are discarded because they have only cosmetic changes.
Here's the stat after 12.5 hours:
{{{
$ grep "New descriptor post, because:" moria1-info|cut -d: -f5-|sort|uniq
-c
1324 bandwidth has changed
279 config change
3 configured managed proxies
436 DirPort found reachable
2 dns resolvers back
2 IP address changed
3434 not listed in consensus
421560 not specified
1120 ORPort found reachable
674 rotated onion key
4003 time for new descriptor
868 version listed in consensus is quite old
}}}
And out of the "is quite old", we have
{{{
$ grep -A1 "is quite old" moria1-info|grep "Added descriptor"|cut -d\'
-f2-|sort|uniq -c|wc -l
426
}}}
So 426 of our ~7300 relays stayed in the consensus in the last 12.5 hours
because of this hack.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21642#comment:24>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list