[tor-bugs] #23499 [Core Tor/Tor]: dir server responses should include a Date: header even when not responding 200

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 13 04:59:17 UTC 2017


#23499: dir server responses should include a Date: header even when not responding
200
------------------------------+--------------------------------
     Reporter:  arma          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Catalyst noticed that when the Tor client fetches a consensus from moria1
 but moria1 responds "302 Not modified", moria1 does not include a Date:
 header in that response. So a Tor client whose clock is wrong won't be
 told about it at this stage.

 The fix is that all dir responses should include the Date: header, not
 just 200 responses.

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


More information about the tor-bugs mailing list