diff options
author | Roger Dingledine <arma@torproject.org> | 2004-12-05 07:10:08 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-12-05 07:10:08 +0000 |
commit | ef6c9d18e799e5b02505ba73bbf36bfe92ce5a8b (patch) | |
tree | 24e864902bc7196fb3e2ca1a39fc7463c2582d1c /doc | |
parent | 32e74d352500dc228a1de5d5bc97e219897ef09b (diff) | |
download | tor-ef6c9d18e799e5b02505ba73bbf36bfe92ce5a8b.tar.gz tor-ef6c9d18e799e5b02505ba73bbf36bfe92ce5a8b.zip |
New circuit building strategy: keep a list of ports that we've used in the past 6 hours, and always try to have 2 circuits open or on the way
that will handle each such port. (We can extend this to include addresses
if exit policies shift to require that.) Seed us with port 80 so web
browsers won't complain that Tor is "slow to start up".
This was necessary because our old circuit building strategy just involved
counting circuits, and as time went by we would build up a big pile of
circuits that had peculiar exit policies (e.g. only exit to 9001-9100)
which would take up space in the circuit pile but never get used.
Fix router_compare_addr_to_addr_policy: it was not treating a port of *
as always matching, so we were picking reject *:* nodes as exit nodes too.
If you haven't used a clean circuit in an hour, throw it away, just to
be on the safe side.
This means after 6 hours a totally unused Tor client will have no
circuits open.
svn:r3078
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions