diff options
author | David Goulet <dgoulet@torproject.org> | 2019-06-27 13:32:58 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-08-06 07:58:14 -0400 |
commit | e53796854811724fdd1db5127bb67943ba5d423c (patch) | |
tree | 9b938ea370fec4a7a642ff06d5452e92d555823c /src/test/test_hs_intropoint.c | |
parent | be8bd2a46eaba4c992ec912a1bef8d950e481bd4 (diff) | |
download | tor-e53796854811724fdd1db5127bb67943ba5d423c.tar.gz tor-e53796854811724fdd1db5127bb67943ba5d423c.zip |
dos: Update HS intro circuits if parameters change
In case the consensus parameters for the rate/burst changes, we need to update
all already established introduction circuits to the newest value.
This commit introduces a "get all intro circ" function from the HS circuitmap
(v2 and v3) so it can be used by the HS DoS module to go over all circuits and
adjust the INTRODUCE2 token bucket parameters.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs_intropoint.c')
0 files changed, 0 insertions, 0 deletions