[tor-bugs] #1511 [Tor - Relay]: Accounting Resets when System Timezone Changes

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Aug 5 02:03:21 UTC 2010


#1511: Accounting Resets when System Timezone Changes
-------------------------+--------------------------------------------------
 Reporter:  BarkerJr     |       Owner:  nickm              
     Type:  defect       |      Status:  assigned           
 Priority:  normal       |   Milestone:  Tor: 0.2.2.x-final 
Component:  Tor - Relay  |     Version:  Tor: 0.2.2.13-alpha
 Keywords:               |      Parent:                     
-------------------------+--------------------------------------------------

Comment(by nickm):

 So, here's the best revised behavior I can think of on changing an
 accounting period in progress:

  * If the period start moves backwards, remember the old bytes.
  * If the period start moves forwards, and there's more than 2% overlap,
 remember the old bytes.
  * Otherwise, if the period start moves forward and the old period
 overlaps the new one less than 2%, then don't remember the old bytes.

 But before we implement this, we should figure out bug #1789, which might
 mean that accounting is broken in other ways.

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


More information about the tor-bugs mailing list