Skip to content
Snippets Groups Projects
Commit 6f6881c4 authored by David Goulet's avatar David Goulet
Browse files

Use a random count of INTRODUCE2 for IP rotation


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: default avatarDavid Goulet <dgoulet@ev0ke.net>
parent 06939551
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment