[tor-bugs] #30909 [Core Tor/sbws]: sbws consensus timestamp updates incorrectly use the current time
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jun 17 08:12:15 UTC 2019
#30909: sbws consensus timestamp updates incorrectly use the current time
-------------------------------+------------------------------------
Reporter: teor | Owner: teor
Type: defect | Status: assigned
Priority: Medium | Milestone: sbws: 1.1.x-final
Component: Core Tor/sbws | Version: sbws: 1.1.0
Severity: Normal | Keywords: sbws-ci-fail-sometimes
Actual Points: 0.2 | Parent ID: #30733
Points: 0.2 | Reviewer:
Sponsor: |
-------------------------------+------------------------------------
There is a race condition in the sbws relay consensus timestamp update
code.
sbws uses the current timestamp (now) when the same consensus is retrieved
twice. Instead, it should just keep the same (valid-after) timestamp.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30909>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list