aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
Commit message (Expand)AuthorAge
* r17246@catbus: nickm | 2007-12-18 18:45:17 -0500••• Fix some xxx020 items. svn:r12864 Nick Mathewson2007-12-18
* Make bridge authorities test reachability of bridges.•••Added two XXX020's that we need to think harder about. svn:r12859 Roger Dingledine2007-12-18
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* emo teh•••svn:r12747 Roger Dingledine2007-12-09
* weasel wanted us to log the source of v3 votes we don't like•••svn:r12665 Roger Dingledine2007-12-04
* r16174@catbus: nickm | 2007-10-26 10:55:26 -0400••• Better log on vote from unknown authority. Make get_by_v3_authority_id retrun only v3 authorities. svn:r12203 Nick Mathewson2007-10-26
* the other half of the question for nick•••svn:r12196 Roger Dingledine2007-10-26
* ask nick about a possible bug•••svn:r12193 Roger Dingledine2007-10-25
* 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
* 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
* 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
* 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
* 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
* 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
* 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 Mathewson2007-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 Mathewson2007-10-18
* r15853@catbus: nickm | 2007-10-16 11:32:55 -0400••• Fix "Error adding vote: OK" message. svn:r11986 Nick Mathewson2007-10-16
* r15806@catbus: nickm | 2007-10-15 19:14:57 -0400••• 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 Nick Mathewson2007-10-15
* Add some debugging logs related to dir vote timing.•••svn:r11952 Nick Mathewson2007-10-15
* r15793@catbus: nickm | 2007-10-15 15:50:52 -0400••• Do not set "have published consensus" to 1 after we recalculate timing. svn:r11951 Nick Mathewson2007-10-15
* r15781@catbus: nickm | 2007-10-15 10:59:26 -0400••• 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 Nick Mathewson2007-10-15
* r15721@catbus: nickm | 2007-10-12 13:30:48 -0400••• Base vote timing only on a currently live consensus. svn:r11896 Nick Mathewson2007-10-12
* r14892@Kushana: nickm | 2007-10-11 14:00:33 -0400••• Fix a bunch of XXX020s: treat some 403s as INFO severity; remove some dead code; share the retry path for consensus routerdescs that are also listed in the v2 networkstatus; check even more aspects of votes when parsing them. svn:r11871 Nick Mathewson2007-10-11
* r15635@catbus: nickm | 2007-10-10 15:27:07 -0400••• Remove extraneous whitespace svn:r11840 Nick Mathewson2007-10-10
* r15634@catbus: nickm | 2007-10-10 14:26:49 -0400••• Resolve/ignore some XXXXs, and be even more careful about listing a server as a v3 authority. svn:r11839 Nick Mathewson2007-10-10
* r15632@catbus: nickm | 2007-10-10 13:48:44 -0400••• Merge networkstatus_add_signatures_impl into the only function that calls it. svn:r11837 Nick Mathewson2007-10-10
* r15608@catbus: nickm | 2007-10-09 19:01:50 -0400••• Give better messages and return values from signature uploads and downlaods; also, log actual errors when we screw up. svn:r11823 Nick Mathewson2007-10-09
* r15593@catbus: nickm | 2007-10-09 15:31:10 -0400••• Fix an infinite loop when parsing multiple votes. svn:r11813 Nick Mathewson2007-10-09
* r15590@catbus: nickm | 2007-10-09 15:14:42 -0400••• Change dirvote_get_vote to take named flags rather than 3 boolean inputs. Fix a bug that was caused by the order of the boolean inputs in or.h not matching the order of boolean inputs in dirvote.c. svn:r11812 Nick Mathewson2007-10-09
* r15589@catbus: nickm | 2007-10-09 15:08:00 -0400••• Fix dumb typo in vote retrieval: we want to check the pending votes to see what we are missing; not the previous period. svn:r11811 Nick Mathewson2007-10-09
* make r11808 build on my 64-bit•••svn:r11809 Roger Dingledine2007-10-09
* r15581@catbus: nickm | 2007-10-09 14:36:47 -0400••• Recompute voting schedule whenever a consensus is set. svn:r11808 Nick Mathewson2007-10-09
* Bugfixes in fetching certificates for a consensus: fetch tor/keys/fp/X, not t...•••svn:r11805 Nick Mathewson2007-10-09
* r15574@catbus: nickm | 2007-10-09 13:01:53 -0400••• Fix the "400 OK" issue when replying to a vote. svn:r11801 Nick Mathewson2007-10-09
* r15530@catbus: nickm | 2007-10-04 12:16:27 -0400••• Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke. svn:r11761 Nick Mathewson2007-10-04
* r15512@catbus: nickm | 2007-10-02 16:27:43 -0400••• Make some functions static; remove some dead code. svn:r11750 Nick Mathewson2007-10-02
* r15510@catbus: nickm | 2007-10-02 16:14:42 -0400••• Add support for more vote URLs that weasel wanted. Weasel: please test this before I inflict it on anybody else. :) svn:r11749 Nick Mathewson2007-10-02
* r15371@catbus: nickm | 2007-09-25 19:53:13 -0400••• Always set status_out when adding a vote. svn:r11646 Nick Mathewson2007-09-25
* r15367@catbus: nickm | 2007-09-25 19:31:11 -0400••• It is amazing how reliable missing svk st are at breaking code. svn:r11644 Nick Mathewson2007-09-25
* r15279@catbus: nickm | 2007-09-22 02:00:06 -0400••• V3 authority work: fetch missing votes and/or signatures as needed. svn:r11575 Nick Mathewson2007-09-22
* r15253@catbus: nickm | 2007-09-21 15:03:51 -0400••• Oops; we had vote_delay and dist_delay switched when computing when to generate our consensus. Harmless so far, but let's get that fixed. svn:r11558 Nick Mathewson2007-09-21
* r15233@catbus: nickm | 2007-09-20 18:58:23 -0400••• 19:00 < weasel> Sep 21 01:00:01.926 [warn] Consensus published. 19:00 < weasel> hah 19:00 < nickm> ha indeed 19:00 < nickm> a winner is me 19:00 < weasel> _warn_ :) 19:01 < nickm> watch out! It could go off at any moment! 19:01 * weasel backs away svn:r11546 Nick Mathewson2007-09-20
* Minor whitespace fix•••svn:r11543 Peter Palfrader2007-09-20
* r14448@Kushana: nickm | 2007-09-17 14:26:56 -0400••• Unify all of the divergent median/nth-percentile code in container.[ch] svn:r11457 Nick Mathewson2007-09-17
* r14391@Kushana: nickm | 2007-09-12 10:56:17 -0400••• Remove some needless complexity from the code to add signatures to a consensus: previously, we had a path to add new signatures, and a second path to replace signatures. But the second path sufficed as a common case, and the code isn't invoked nearly enough to justify the optimization of having the first path. svn:r11433 Nick Mathewson2007-09-12
* r15049@catbus: nickm | 2007-09-11 16:05:50 -0400••• When we get a consensus for which we are missing the right certificates, keep it around pending more certificates; do not just drop it. svn:r11430 Nick Mathewson2007-09-11
* r15048@catbus: nickm | 2007-09-11 14:20:39 -0400••• Add code to warn about mauthorities on a consensus when they are not what we expect to find. svn:r11429 Nick Mathewson2007-09-11
* r15045@catbus: nickm | 2007-09-11 11:52:29 -0400••• Reject incoming votes when the valid-after time does not match the period that we're trying to vote for. svn:r11426 Nick Mathewson2007-09-11
* r14363@Kushana: nickm | 2007-09-08 16:25:45 -0400••• Another round of whitespeace fixes. svn:r11407 Nick Mathewson2007-09-08