[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #31062 [Core Tor/Tor]: token bucket: Improve library to handle under/overflow and clock jump



#31062: token bucket: Improve library to handle under/overflow and clock jump
-------------------------------+--------------------------------
     Reporter:  dgoulet        |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: 0.4.2.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:  token-bucket
Actual Points:                 |  Parent ID:
       Points:  0.2            |   Reviewer:
      Sponsor:  Sponsor27-can  |
-------------------------------+--------------------------------
 The DoS subsystem implements a very simple token bucket but has a lot of
 safeguards against under/overflows and clock jump.

 We should take those, move them into the token-bucket implementation and
 then make the DoS subsystem use it.

 This is quite important to not wait too long on it because of #15516 will
 soon be used extensively using the generic token bucket.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31062>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs