Make EntryNodes config option much more aggressive.
commit1a65bdd2327f671bb4bb4f5828de10d1f2042f10
authorRoger Dingledine <arma@torproject.org>
Sun, 20 Sep 2009 00:56:57 +0000 (19 20:56 -0400)
committerRoger Dingledine <arma@torproject.org>
Mon, 21 Dec 2009 08:52:31 +0000 (21 03:52 -0500)
treeca1145fbd1d7c12e29b045d84e0d2d3a5243c1ff
parent580066f2f6fb9be141edab80396035f43895ac6f
Make EntryNodes config option much more aggressive.

Before it would prepend your requested entrynodes to your list of guard
nodes, but feel free to use others after that. Now it chooses only
from your EntryNodes if any of those are available, and only falls back
to others if a) they're all down and b) StrictNodes is not set.

Also, now we refresh your entry guards from EntryNode at each consensus
fetch (rather than just at startup and then they slowly rot as the
network changes).

The goal here is to make users less likely to set StrictNodes, since
it's doing closer to what they expect it should be doing.
src/or/circuitbuild.c
src/or/directory.c
src/or/or.h