| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Client-side implementation for proposal 122.
svn:r12051
|
|
|
|
|
|
|
| |
Sort out that need_to_mirror is for routerstatuses in v2 networkstatuses only.
svn:r12050
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remember the valid-until time of the most recent consensus that listed
a router, and (if we are a cache) never delete the routerdesc until
that conensus is expired. This is way easier than retaining multiple
consensuses. (Of course, the info isn't retained across restarts,
but that only affects a few caches at a time.)
svn:r12041
|
|
|
|
|
|
| |
router_reload_consensus_networkstatus() so that we warn about old versions when we startup Tor, not when we fetch the next consensus document
svn:r12038
|
|
|
|
| |
svn:r12035
|
|
|
|
|
|
|
| |
Better log messages about extrainfo downloads.
svn:r12023
|
|
|
|
|
|
|
| |
Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority.
svn:r12022
|
|
|
|
|
|
|
| |
Fix up logic for choosing the time at which to download a consensus: Never attempt it when the current consensus is still the most recent.
svn:r12020
|
|
|
|
|
|
|
| |
Remove the obsolete warned_conflicts field: a v3 consensus cannot conflict with itself.
svn:r12019
|
|
|
|
|
|
|
| |
Document some functions while I can still rememberf what they do. Fix up some whitespace.
svn:r12018
|
|
|
|
|
|
|
| |
When a networkstatus consensus download fails, do not wait 60 seconds to decide whether to retry. (Also, log the time at which we'll try to replace the current networkstatus.)
svn:r12005
|
|
|
|
|
|
|
| |
Make unverified-consensus get removed when it is accepted or rejected. Make a new get_datadir_fname*() set of functions to eliminate the common code of "get the options, get the datadir, append some stuff".
svn:r12000
|
|
|
|
|
|
|
| |
Avoid an infinite loop in networkstatus_reset_download_failures().
svn:r11990
|
|
|
|
|
|
|
| |
Reset the is_named flag only on non-naming directories.
svn:r11989
|
|
|
|
|
|
|
| |
Correct and additional fix to bug 529.
svn:r11985
|
|
|
|
|
|
|
| |
Fix the simpler bit of bug 529: update routerinfo_t.is_named from the consensus.
svn:r11983
|
|
|
|
|
|
|
| |
Fix last patch.
svn:r11961
|
|
|
|
|
|
|
| |
are for you.
svn:r11960
|
|
|
|
|
|
|
| |
Do not call the more interesting parts of routers_update_all_from_networkstatus if there is no live networkstatus.
svn:r11958
|
|
|
|
|
|
|
| |
Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list.
svn:r11957
|
|
|
|
|
|
|
| |
Start roughing out the functions that we'll use to replace the old ugly v2 networkstatus manipulation code".
svn:r11904
|
|
|
|
|
|
|
| |
Resolve some more voting-related XXXXs.
svn:r11860
|
|
|
|
|
|
|
| |
Retry consensus and certificate downloads properly. Do not fail when there are no certificates to download. Do not download certificates we already have when retrying.
svn:r11841
|
|
|
|
| |
svn:r11820
|
|
|
|
|
|
|
| |
Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode().
svn:r11817
|
|
|
|
|
|
|
| |
Make authority_certs_fetch_missing only fetch certificates which we are not currently downloading; fix XXXX020s in networkstatus.c
svn:r11816
|
|
|
|
|
|
|
| |
Recompute voting schedule whenever a consensus is set.
svn:r11808
|
|
|
|
|
|
|
| |
Use download_status_t for v2 networkstatuses and certs as well as for routers. Make functions to manipulate it. Next steps: use it for consensus networkstatuses, and get consensus download rescheduling working.
svn:r11800
|
|
|
|
|
|
|
| |
Merge extra fields in local_routerstatus_t back into routerstatus_t. See changelog for rationale.
svn:r11799
|
|
Refactor out about a third of routerlist.c into a new networkstatus.c. I\m not sure that I got everything that needed to move, but so far so good.
svn:r11791
|