mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
6f6881c432
An introduction point is currently rotated when the amount of INTRODUCE2 cells reached a fixed value of 16384. This makes it pretty easy for an attacker to inflate that number and observe when the IP rotates which leaks the popularity of the HS (amount of client that passed through the IP). This commit makes it a random count between the current value of 16384 and two times that. Fixes #15745 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
8 lines
443 B
Plaintext
8 lines
443 B
Plaintext
o Minor feature (HS popularity countermeasure):
|
|
- To avoid leaking HS popularity, don't cycle the introduction point
|
|
when we've handled a fixed number of INTRODUCE2 cells but instead
|
|
cycle it when a random value of introductions is reached thus making
|
|
it more difficult for an attacker to find out the amount of clients
|
|
that has passed through the introduction point for a specific HS.
|
|
Closes ticket 15745.
|