| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
svn:r11974
|
| |
|
|
| |
svn:r11973
|
| |
|
|
| |
svn:r11972
|
| |
|
|
| |
svn:r11971
|
| |
|
|
| |
svn:r11970
|
| |
|
|
| |
svn:r11969
|
| |
|
|
|
|
|
| |
config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
svn:r11968
|
| |
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
| |
svn:r11955
|
| |
|
|
| |
svn:r11954
|
| |
|
|
| |
svn:r11953
|
| |
|
|
| |
svn:r11952
|
| |
|
|
|
|
|
| |
Do not set "have published consensus" to 1 after we recalculate timing.
svn:r11951
|
| |
|
|
| |
svn:r11948
|
| |
|
|
|
|
|
| |
Fix bug 528: fix memory leak in base32_decode(). While there, also make base32_decode() accept upper-case inputs.
svn:r11946
|
| |
|
|
|
|
|
| |
Make discard_old_votes part of the consensus publishing process, so we conform to spec, and so we avoid a weird bugs where publishing sets the consensus, setting the consensus makes us reschedule, and rescheduling makes us delay vote-discarding.
svn:r11944
|
| |
|
|
|
|
|
| |
Fix the implementation of "download votes by digest".
svn:r11943
|