aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2015-04-20 15:51:06 -0400
committerDavid Goulet <dgoulet@ev0ke.net>2015-04-20 17:38:31 -0400
commit6f6881c4324f35d44b997591939de7e847cca7a3 (patch)
tree378446299ad2585a4ab139391492a7283c3591af /src/or/entrynodes.c
parent06939551f4c081c46a09864465a4989ca8bb2e42 (diff)
downloadtor-6f6881c4324f35d44b997591939de7e847cca7a3.tar.gz
tor-6f6881c4324f35d44b997591939de7e847cca7a3.zip
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: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/entrynodes.c')
0 files changed, 0 insertions, 0 deletions