| Commit message (Expand) | Author | Age |
... | |
* | r16032@catbus: nickm | 2007-10-22 11:56:53 -0400••• When our directory status or our v3 authority status changes, reschedule operations as appropriate. (Fixes some xxxx020 items)
svn:r12102
| Nick Mathewson | 2007-10-22 |
* | r16031@catbus: nickm | 2007-10-22 11:45:00 -0400••• Remove an unused and unneeded layer of abstraction: we only have one store for routers. (I had thought we might need a second one for annotated routers, but that's silly.
svn:r12101
| Nick Mathewson | 2007-10-22 |
* | r16016@catbus: nickm | 2007-10-21 20:44:19 -0400••• Check a platform assumption we have made without checking for too long: "Characters are represented in ascii."
svn:r12088
| Nick Mathewson | 2007-10-22 |
* | r16014@catbus: nickm | 2007-10-21 20:29:14 -0400••• Fix a unit test in test_crypto_base32_decode that would fail one time in 32.
svn:r12087
| Nick Mathewson | 2007-10-22 |
* | r15997@catbus: nickm | 2007-10-21 20:25:40 -0400••• New code (disabled for now) to use the SSL context's cert store instead of using its "extra chain cert" list to get our identity certificate sent. This is a little close to what OpenSSL expects people to do, and it has the advantage that we should be able to keep the id cert from being sent by setting the NO_CHAIN_CERT bit. I have tried turning new code on, and it seemed to work fine.
svn:r12086
| Nick Mathewson | 2007-10-22 |
* | r15995@catbus: nickm | 2007-10-21 00:40:46 -0400••• More fixes for bad behavior when downloading extrainfos: do not download an ei if we lack the key to verify it, and do not download it if we already got it and found (weirdly) that it didn't match the corresponding server descriptor.
svn:r12071
| Nick Mathewson | 2007-10-21 |
* | Bugfix on r7072, which turned out to basically be a no-op:•••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
| Roger Dingledine | 2007-10-21 |
* | r15991@catbus: nickm | 2007-10-20 20:08:29 -0400••• Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum.
svn:r12069
| Nick Mathewson | 2007-10-21 |
* | r15989@catbus: nickm | 2007-10-20 19:48:29 -0400••• Fix implementation of sdmap_size and rimap_size() and eimap_size(). Nobody was using them, so no backport needed.
svn:r12068
| Nick Mathewson | 2007-10-20 |
* | r15976@catbus: nickm | 2007-10-20 19:44:47 -0400••• Prioritize fetching descriptors and networkstatus docs over fetching more extrainfo docs.
svn:r12067
| Nick Mathewson | 2007-10-20 |
* | r15974@catbus: nickm | 2007-10-19 16:47:27 -0400••• When we decode to use consensus method 2 or later, compute Unnamed and Named more or less as described in 122. Don't actually use consensus method 2 yet, so we can be sure we didn't screw up v1..
svn:r12055
| Nick Mathewson | 2007-10-19 |
* | r15968@catbus: nickm | 2007-10-19 14:39:51 -0400••• Implement code to compute which method to use to compute a consensus. Also, fix leak in consensus calculation.
svn:r12054
| Nick Mathewson | 2007-10-19 |
* | r15967@catbus: nickm | 2007-10-19 14:14:47 -0400••• Change meaning of "freefn" argument to smartlist_uniq so that we can remove duplicates from a list without freeing them.
svn:r12053
| Nick Mathewson | 2007-10-19 |
* | r15966@catbus: nickm | 2007-10-19 13:56:28 -0400••• Voting side of proposal 122
svn:r12052
| Nick Mathewson | 2007-10-19 |
* | r15965@catbus: nickm | 2007-10-19 13:32:11 -0400••• Client-side implementation for proposal 122.
svn:r12051
| Nick Mathewson | 2007-10-19 |
* | r15964@catbus: nickm | 2007-10-19 12:43:49 -0400••• Sort out that need_to_mirror is for routerstatuses in v2 networkstatuses only.
svn:r12050
| Nick Mathewson | 2007-10-19 |
* | r15961@catbus: nickm | 2007-10-19 12:40:15 -0400••• Learn the difference between "mismatched vote digest" and "mismatched vote times": the latter is more informative.
svn:r12049
| Nick Mathewson | 2007-10-19 |
* | r15960@catbus: nickm | 2007-10-19 12:30:17 -0400••• Make authority_certs_fetch_missing() honor should_delay_dir_fetches()
svn:r12048
| Nick Mathewson | 2007-10-19 |
* | r15957@catbus: nickm | 2007-10-19 12:22:18 -0400••• Report our IP address in our vote if it turns out that our hostname isn't a fqdn.
svn:r12047
| Nick Mathewson | 2007-10-19 |
* | r15956@catbus: nickm | 2007-10-19 11:18:14 -0400••• Encode address in certificates. Also, make it possible to create certs reusing an old key.
svn:r12046
| Nick Mathewson | 2007-10-19 |
* | r15939@catbus: nickm | 2007-10-18 22:14:15 -0400••• 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
| Nick Mathewson | 2007-10-19 |
* | Call routers_update_all_from_networkstatus() from router_reload_consensus_net...•••svn:r12038
| Peter Palfrader | 2007-10-19 |
* | revert a tiny bit of r12035•••svn:r12037
| Roger Dingledine | 2007-10-18 |
* | various fixes from reading or-cvs the past few days•••svn:r12035
| Roger Dingledine | 2007-10-18 |
* | r15934@catbus: nickm | 2007-10-18 15:32:56 -0400••• When we have plenty of directory information, don't try to launch descriptor downloads quite so eagerly.
svn:r12033
| Nick Mathewson | 2007-10-18 |
* | r15919@catbus: nickm | 2007-10-18 10:57:47 -0400••• Add a log message to router_remove_old_routers to try to figure out why peacetime has such a big cache.
svn:r12024
| Nick Mathewson | 2007-10-18 |
* | r15917@catbus: nickm | 2007-10-18 10:50:01 -0400••• Better log messages about extrainfo downloads.
svn:r12023
| Nick Mathewson | 2007-10-18 |
* | r15915@catbus: nickm | 2007-10-18 10:26:44 -0400••• Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority.
svn:r12022
| Nick Mathewson | 2007-10-18 |
* | r15913@catbus: nickm | 2007-10-18 10:22:19 -0400••• Fix segfault in init_keys()
svn:r12021
| Nick Mathewson | 2007-10-18 |
* | r15907@catbus: nickm | 2007-10-18 10:18:53 -0400••• 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
| Nick Mathewson | 2007-10-18 |
* | r15906@catbus: nickm | 2007-10-18 10:00:08 -0400••• Remove the obsolete warned_conflicts field: a v3 consensus cannot conflict with itself.
svn:r12019
| Nick Mathewson | 2007-10-18 |
* | r15905@catbus: nickm | 2007-10-18 09:58:54 -0400••• Document some functions while I can still rememberf what they do. Fix up some whitespace.
svn:r12018
| Nick Mathewson | 2007-10-18 |
* | r15899@catbus: nickm | 2007-10-18 07:49:15 -0400••• "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
| Nick Mathewson | 2007-10-18 |
* | r15887@catbus: nickm | 2007-10-17 17:25:32 -0400••• 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
| Nick Mathewson | 2007-10-17 |
* | r15886@catbus: nickm | 2007-10-17 17:21:10 -0400••• Treat it as an error when a v3 authority cant load its keys or certificates
svn:r12004
| Nick Mathewson | 2007-10-17 |
* | r15882@catbus: nickm | 2007-10-17 15:23:05 -0400••• 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
| Nick Mathewson | 2007-10-17 |
* | r15880@catbus: nickm | 2007-10-17 14:56:51 -0400••• Patch from robert hogan: do not reset trusted dir server list when we get a config option.
svn:r12001
| Nick Mathewson | 2007-10-17 |
* | r15877@catbus: nickm | 2007-10-17 12:54:56 -0400••• 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
| Nick Mathewson | 2007-10-17 |
* | r15876@catbus: nickm | 2007-10-17 12:39:05 -0400••• Treat certificates as reason to note directory info as arrived
svn:r11999
| Nick Mathewson | 2007-10-17 |
* | r15871@catbus: nickm | 2007-10-16 14:47:00 -0400••• Add a debugging info msg to routerlist
svn:r11995
| Nick Mathewson | 2007-10-16 |
* | r15868@catbus: nickm | 2007-10-16 14:18:29 -0400••• Remove nearly all calls to routerlist_remove_old(). Backport candidate.
svn:r11994
| Nick Mathewson | 2007-10-16 |
* | r15862@catbus: nickm | 2007-10-16 13:19:29 -0400••• Correct mismatches between DirServer lines and authority configuration.
svn:r11992
| Nick Mathewson | 2007-10-16 |
* | r15861@catbus: nickm | 2007-10-16 13:10:22 -0400••• Fix example use of hash table iterators
svn:r11991
| Nick Mathewson | 2007-10-16 |
* | r15860@catbus: nickm | 2007-10-16 13:09:57 -0400••• Avoid an infinite loop in networkstatus_reset_download_failures().
svn:r11990
| Nick Mathewson | 2007-10-16 |
* | r15859@catbus: nickm | 2007-10-16 13:09:28 -0400••• Reset the is_named flag only on non-naming directories.
svn:r11989
| Nick Mathewson | 2007-10-16 |
* | r15853@catbus: nickm | 2007-10-16 11:32:55 -0400••• Fix "Error adding vote: OK" message.
svn:r11986
| Nick Mathewson | 2007-10-16 |
* | r15849@catbus: nickm | 2007-10-16 10:24:38 -0400••• Correct and additional fix to bug 529.
svn:r11985
| Nick Mathewson | 2007-10-16 |
* | r15848@catbus: nickm | 2007-10-16 10:17:02 -0400••• Only drop routers for not appearing in the consensus if their purpose is GENERAL.
svn:r11984
| Nick Mathewson | 2007-10-16 |
* | r15847@catbus: nickm | 2007-10-16 10:15:07 -0400••• Fix the simpler bit of bug 529: update routerinfo_t.is_named from the consensus.
svn:r11983
| Nick Mathewson | 2007-10-16 |
* | r15843@catbus: nickm | 2007-10-16 09:58:49 -0400••• Clean up our code to fix a warning under gcc 4.2
svn:r11982
| Nick Mathewson | 2007-10-16 |