[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #30687 [Core Tor/Tor]: Implement a generic counter token bucket
#30687: Implement a generic counter token bucket
--------------------------------+--------------------------------
Reporter: dgoulet | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.4.2.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID: #15516
Points: 0.1 | Reviewer:
Sponsor: Sponsor27-must |
--------------------------------+--------------------------------
We have the `_raw_t` interface and a `_rw_t` specialized one. Many use
cases only need a single counter like for instance the circuit creation
DoS defense would use that. Or #15516 introduce2 rate limiting.
After a discussion with nickm, it would be wise if we can simply implement
a generic counter token bucket:
{{{
token_bucket_ctr_t
}}}
... with a single bucket in it and thus could generically be used by many
subsystems.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30687>
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