[tor-bugs] #22449 [Core Tor/Tor]: Remove timestamp_dirty kludge from mark_circuit_unusable_for_new_conns()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 30 14:38:37 UTC 2017


#22449: Remove timestamp_dirty kludge from mark_circuit_unusable_for_new_conns()
------------------------------+--------------------------------------
     Reporter:  nickm         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Low           |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-client refactor easy
Actual Points:                |  Parent ID:
       Points:  3             |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------------
 In mark_circuit_unsusable_for_new_conns(), we set the
 unusable_for_new_conns flag... but we also carry around some old code that
 messes around with timestamp_dirty.

 The root problem here is that the old code makes timestamp_dirty into a
 lie; "unusable" and "dirty" are not the same concept.

 We should carefully audit timestamp_dirty and its users to make sure that
 it's safe to remove this old kludge, and then remove it or replace it with
 something more accurate.

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


More information about the tor-bugs mailing list