| 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
|
| |
|
|
|
|
|
| |
Learn the difference between "mismatched vote digest" and "mismatched vote times": the latter is more informative.
svn:r12049
|
| |
|
|
|
|
|
| |
Make authority_certs_fetch_missing() honor should_delay_dir_fetches()
svn:r12048
|
| |
|
|
|
|
|
| |
Report our IP address in our vote if it turns out that our hostname isn't a fqdn.
svn:r12047
|
| |
|
|
|
|
|
| |
Encode address in certificates. Also, make it possible to create certs reusing an old key.
svn:r12046
|
| |
|
|
| |
svn:r12044
|
| |
|
|
|
|
|
| |
More TODO notes.
svn:r12043
|
| |
|
|
|
|
|
| |
Add a bit of my TODO for tomorrow, so I can close my emacs for the evening.
svn:r12042
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Misc clarifications and corrections in dir-spec.txt
svn:r12040
|
| |
|
|
|
|
| |
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:r12037
|
| |
|
|
| |
svn:r12035
|
| |
|
|
| |
svn:r12034
|
| |
|
|
|
|
|
| |
When we have plenty of directory information, don't try to launch descriptor downloads quite so eagerly.
svn:r12033
|
| |
|
|
| |
svn:r12032
|
| |
|
|
|
|
|
| |
Changes to proposal 105 based on recent or-dev exchange with sjmurdoch.
svn:r12031
|
| |
|
|
|
|
|
| |
Add tor-ctrl.sh to dist, and make it fit in 80-col terminals.
svn:r12029
|
| |
|
|
|
|
|
| |
Import tor-ctrl.sh by Stefan Behte into svn repository.
svn:r12028
|
| |
|
|
|
|
|
| |
Apply clarifications and comments from Karsten to rend-spec, with my own clarifications and comments.
svn:r12027
|
| |
|
|
|
|
|
| |
Add a log message to router_remove_old_routers to try to figure out why peacetime has such a big cache.
svn:r12024
|
| |
|
|
|
|
|
| |
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 segfault in init_keys()
svn:r12021
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
"if (!router_get_trusted_dirservers())" is a bad test: router_get_trusted_dirservers() always returns a list. Instead, check for whether the list is empty.
svn:r12013
|
| |
|
|
|
|
|
| |
i'm not even sure we use.
svn:r12008
|
| |
|
|
|
|
|
| |
Apply changes to rend-spec.txt from Karsten's proposal-114 work. Points that need to be clarified are marked with a [XXXX].
svn:r12007
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Treat it as an error when a v3 authority cant load its keys or certificates
svn:r12004
|
| |
|
|
|
|
|
| |
oprofile was telling me that a fair bit of our time in openssl was spent in base64_decode, so replace base64_decode with an all-at-once fairly optimized implementation. For decoding keys and digests, it seems 3-3.5x faster than calling out to openssl. (Yes, I wrote it from scratch.)
svn:r12002
|
| |
|
|
|
|
|
| |
Patch from robert hogan: do not reset trusted dir server list when we get a config option.
svn:r12001
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Treat certificates as reason to note directory info as arrived
svn:r11999
|
| |
|
|
|
|
|
| |
Add a debugging info msg to routerlist
svn:r11995
|
| |
|
|
|
|
|
| |
Remove nearly all calls to routerlist_remove_old(). Backport candidate.
svn:r11994
|
| |
|
|
|
|
|
| |
Correct mismatches between DirServer lines and authority configuration.
svn:r11992
|
| |
|
|
|
|
|
| |
Fix example use of hash table iterators
svn:r11991
|
| |
|
|
|
|
|
| |
Avoid an infinite loop in networkstatus_reset_download_failures().
svn:r11990
|
| |
|
|
|
|
|
| |
Reset the is_named flag only on non-naming directories.
svn:r11989
|
| |
|
|
|
|
|
| |
Add proposal 123-autonaming.txt
svn:r11988
|
| | |
|
| |
|
|
|
|
|
| |
Fix "Error adding vote: OK" message.
svn:r11986
|
| |
|
|
|
|
|
| |
Correct and additional fix to bug 529.
svn:r11985
|
| |
|
|
|
|
|
| |
Only drop routers for not appearing in the consensus if their purpose is GENERAL.
svn:r11984
|
| |
|
|
|
|
|
| |
Fix the simpler bit of bug 529: update routerinfo_t.is_named from the consensus.
svn:r11983
|
| |
|
|
|
|
|
| |
Clean up our code to fix a warning under gcc 4.2
svn:r11982
|