]> git.ipfire.org Git - thirdparty/tor.git/commit
don't build preemptive conflux circuits if no predicted ports
authorRoger Dingledine <arma@torproject.org>
Tue, 15 Oct 2024 06:54:27 +0000 (02:54 -0400)
committerRoger Dingledine <arma@torproject.org>
Tue, 15 Oct 2024 19:59:25 +0000 (15:59 -0400)
commit7cca6dc1a36ff201eaab62a11699259e3ef9ce22
treecf7b07edf2ccb80f09be3424cc4af1ee348ad4c2
parent6feaea8fa44d4594388232f4e104a7c656013e19
don't build preemptive conflux circuits if no predicted ports

Conflux circuit building was ignoring the "predicted ports" feature,
which aims to make Tor stop building circuits if there have been
no user requests lately. This bug led to every idle Tor on the
network building and discarding circuits every 30 seconds, which
added overall load to the network, used bandwidth and battery from
clients that weren't actively using their Tor, and kept sockets open
on guards which added connection padding essentially forever.

Bug went in on commit 39c2927d when we added preemptive conflux circuit
pools.

Fixes bug 40981; bugfix on 0.4.8.1-alpha.
changes/bug40981 [new file with mode: 0644]
src/core/or/circuituse.c