aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAge
...
* r16157@catbus: nickm | 2007-10-25 10:36:34 -0400••• Free v2_network_status_map on exit. svn:r12189 Nick Mathewson2007-10-25
* r16154@catbus: nickm | 2007-10-25 10:29:47 -0400••• Fix more memory leaks, with help from dmalloc. svn:r12188 Nick Mathewson2007-10-25
* r16153@catbus: nickm | 2007-10-25 10:21:42 -0400••• do not set authority cert bodies twice: fixes memory leak bug 536. svn:r12187 Nick Mathewson2007-10-25
* Stop leaking memory every time we parse a v3 certificate. Bugfix•••on 0.2.0.1-alpha. svn:r12185 Roger Dingledine2007-10-25
* r16145@catbus: nickm | 2007-10-25 00:41:27 -0400••• Bump trunk version to 0.2.0.9-alpha-dev svn:r12183 Nick Mathewson2007-10-25
* Refuse to start if both ORPort and UseBridges are set. Bugfix•••on 0.2.0.x. svn:r12182 Roger Dingledine2007-10-25
* r16130@catbus: nickm | 2007-10-24 23:28:00 -0400••• Fix null-pointer dereference in set_current_consensus. svn:r12174 Nick Mathewson2007-10-25
* bump to 0.2.0.9-alpha in preparation for a release•••svn:r12173 Roger Dingledine2007-10-25
* more cleanups•••svn:r12172 Roger Dingledine2007-10-25
* r16128@catbus: nickm | 2007-10-24 22:52:16 -0400••• Fix windows mmap changes. svn:r12171 Nick Mathewson2007-10-25
* r16124@catbus: nickm | 2007-10-24 22:11:09 -0400••• We want to extend the valid_until for "reasonably live", not the valid_after time svn:r12169 Nick Mathewson2007-10-25
* r16115@catbus: nickm | 2007-10-24 21:52:33 -0400••• Tolerate a slightly dead consensus when deciding whether to download descriptors and build circuits. svn:r12167 Nick Mathewson2007-10-25
* r16112@catbus: nickm | 2007-10-24 15:52:03 -0400••• 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 Nick Mathewson2007-10-24
* r16111@catbus: nickm | 2007-10-24 15:03:57 -0400••• Allow multiple download schedules to exist. At the moment, we use one for consensus, and the other one for everything else. svn:r12158 Nick Mathewson2007-10-24
* r16108@catbus: nickm | 2007-10-24 14:41:12 -0400••• 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 Nick Mathewson2007-10-24
* r16101@catbus: nickm | 2007-10-24 11:44:40 -0400••• Detect mmap failures from empty descriptor files, and only warn if the file was not supposed to be empty. Fixes bug 533 svn:r12154 Nick Mathewson2007-10-24
* r16100@catbus: nickm | 2007-10-24 11:33:52 -0400••• Make tor_mmap_file() set and preserve errno in a useful way. svn:r12153 Nick Mathewson2007-10-24
* Authorities no longer send back "400 you're unreachable please fix•••it" errors to Tor servers that aren't online all the time. We're supposed to tolerate these servers now. svn:r12136 Roger Dingledine2007-10-24
* Don't complain that "your server has not managed to confirm that its•••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 Roger Dingledine2007-10-23
* When there's no concensus, we were forming a vote every 30•••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 Roger Dingledine2007-10-23
* r16057@catbus: nickm | 2007-10-23 00:08:31 -0400••• What the heck is wrong with me that I can not type un? svn:r12128 Nick Mathewson2007-10-23
* r16054@catbus: nickm | 2007-10-22 20:22:13 -0400••• Make authorities start accepting (and advertising their acceptance of) consensus method 2. If all goes well, we'll have a working Unnamed flag. Otherwise, we'll have a fun backtrace. svn:r12113 Nick Mathewson2007-10-23
* r16051@catbus: nickm | 2007-10-22 18:53:53 -0400••• fix a dumb bug in r12102. svn:r12111 Nick Mathewson2007-10-22
* r16049@catbus: nickm | 2007-10-22 15:31:16 -0400••• fix trunk compile svn:r12110 Nick Mathewson2007-10-22
* r16047@catbus: nickm | 2007-10-22 14:00:46 -0400••• Resolve some XXX020s in networkstatus.c svn:r12109 Nick Mathewson2007-10-22
* r16045@catbus: nickm | 2007-10-22 13:35:02 -0400••• Oops; fix a typo that would have messed with the Unnamed implementation. svn:r12108 Nick Mathewson2007-10-22
* r16042@catbus: nickm | 2007-10-22 13:30:49 -0400••• Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality. svn:r12107 Nick Mathewson2007-10-22
* r16041@catbus: nickm | 2007-10-22 13:02:14 -0400••• Reattempt certificate downloads immediately on failure, as appropriate. svn:r12106 Nick Mathewson2007-10-22
* r16035@catbus: nickm | 2007-10-22 12:31:22 -0400••• fix compile svn:r12105 Nick Mathewson2007-10-22
* r16034@catbus: nickm | 2007-10-22 12:30:38 -0400••• Move an XXX020 to the logical place. svn:r12104 Nick Mathewson2007-10-22
* r16033@catbus: nickm | 2007-10-22 12:26:13 -0400••• Download some XXXX020s in dirvote.c and mark some functions that may not belong there. svn:r12103 Nick Mathewson2007-10-22
* 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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Dingledine2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-10-19
* r15966@catbus: nickm | 2007-10-19 13:56:28 -0400••• Voting side of proposal 122 svn:r12052 Nick Mathewson2007-10-19
* r15965@catbus: nickm | 2007-10-19 13:32:11 -0400••• Client-side implementation for proposal 122. svn:r12051 Nick Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-10-19