Age | Commit message (Collapse) | Author |
|
base "Guard" flag on WFU rather than MTBF. Note an issue in the TODO. Roger: thoughts?
svn:r12219
|
|
Keep circuitless TLS connections open for 1.5 x MaxCircuitDirtiness: this ensures that we don't thrash closing and repoening connections to our guards.
svn:r12218
|
|
Better log on vote from unknown authority. Make get_by_v3_authority_id retrun only v3 authorities.
svn:r12203
|
|
Drop support for OpenSSL 0.9.6.
svn:r12191
|
|
Free v2_network_status_map on exit.
svn:r12189
|
|
Fix more memory leaks, with help from dmalloc.
svn:r12188
|
|
do not set authority cert bodies twice: fixes memory leak bug 536.
svn:r12187
|
|
on 0.2.0.1-alpha.
svn:r12185
|
|
on 0.2.0.x.
svn:r12182
|
|
svn:r12172
|
|
Tolerate a slightly dead consensus when deciding whether to download descriptors and build circuits.
svn:r12167
|
|
Fix logic for downloading consensuses: make getting an duplicate or not-currently-valid consensus count as a failure. Make running out of time to get certificates count as a failure. Delay while fetching certificates.
svn:r12159
|
|
Allow multiple download schedules to exist. At the moment, we use one for consensus, and the other one for everything else.
svn:r12158
|
|
Refactor the arguments for router_pick_{directory_|trusteddir}server[_impl] so that they all take the same flags, and so that their flags have names. Fix their documentation too.
svn:r12157
|
|
Detect mmap failures from empty descriptor files, and only warn if the file was not supposed to be empty. Fixes bug 533
svn:r12154
|
|
answer question from arma
svn:r12151
|
|
(nick, i added a question for you in here.)
svn:r12141
|
|
it" errors to Tor servers that aren't online all the time. We're
supposed to tolerate these servers now.
svn:r12136
|
|
ports are reachable" if we haven't been able to build any circuits
yet. Bug found by spending four hours without a v3 consensus.
svn:r12133
|
|
minutes, but writing the "valid-after" line in our vote based
on our configured V3AuthVotingInterval: so unless the intervals
matched up, we immediately rejected our own vote because it didn't
start at the voting interval that caused us to construct a vote.
This caused log entries like:
Oct 23 01:16:16.303 [notice] Choosing expected valid-after time
as 2007-10-23 05:30:00: consensus_set=0, interval=1800
...
Oct 23 01:20:01.203 [notice] Choosing valid-after time in vote as
2007-10-23 06:00:00: consensus_set=0, interval=3600
Oct 23 01:20:01.290 [warn] Rejecting vote with valid-after time of
2007-10-23 06:00:00; we were expecting 2007-10-23 05:30:00
Oct 23 01:20:01.291 [warn] Couldn't store my own vote! (I told
myself, 'Bad valid-after time'.)
Nick, you should look at this, as it's your design. :)
svn:r12129
|
|
Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality.
svn:r12107
|
|
Reattempt certificate downloads immediately on failure, as appropriate.
svn:r12106
|
|
When our directory status or our v3 authority status changes, reschedule operations as appropriate. (Fixes some xxxx020 items)
svn:r12102
|
|
svn:r12094
|
|
kept for posterity, and so we can unclutter the download page.
svn:r12093
|
|
Check a platform assumption we have made without checking for too long: "Characters are represented in ascii."
svn:r12088
|
|
Respond to INT and TERM SIGNAL commands before we execute the
signal, in case the signal shuts us down. We had a patch in
0.1.2.1-alpha that tried to do this by queueing the response on
the connection's buffer before shutting down, but that really
isn't the same thing. Bug located by Matt Edman.
This is a bug in 0.1.2.x too, but there's no way we should backport
this fix. Speaking of which, can somebody double-check it? :)
svn:r12070
|
|
Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum.
svn:r12069
|
|
Prioritize fetching descriptors and networkstatus docs over fetching more extrainfo docs.
svn:r12067
|
|
Implement code to compute which method to use to compute a consensus. Also, fix leak in consensus calculation.
svn:r12054
|
|
Voting side of proposal 122
svn:r12052
|
|
Client-side implementation for proposal 122.
svn:r12051
|
|
Learn the difference between "mismatched vote digest" and "mismatched vote times": the latter is more informative.
svn:r12049
|
|
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
|
|
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
|
|
svn:r12034
|
|
When we have plenty of directory information, don't try to launch descriptor downloads quite so eagerly.
svn:r12033
|
|
Import tor-ctrl.sh by Stefan Behte into svn repository.
svn:r12028
|
|
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
|
|
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
|
|
Remove nearly all calls to routerlist_remove_old(). Backport candidate.
svn:r11994
|
|
Correct mismatches between DirServer lines and authority configuration.
svn:r11992
|
|
|
|
Fix "Error adding vote: OK" message.
svn:r11986
|
|
config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
svn:r11968
|