aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
Commit message (Collapse)AuthorAge
* Fix some apparent leaks in voting. If authorities suddenly start ↵Nick Mathewson2008-09-10
| | | | | | segfaulting, this could be a patch to look harder at. svn:r16830
* It is probably some kind of misdeed to say for (i=0;i<2;++i) { A=i?x:y; ↵Nick Mathewson2008-09-05
| | | | | | foo(bar(A)); } rather than foo(bar(x)); foo(bar(y)); . Also, it can confuse tools. svn:r16777
* Two consensus fixes: always reset has_* to 0, and use a buffer of proper ↵Peter Palfrader2008-08-17
| | | | | | length for exitsummaries. svn:r16575
* spacemanPeter Palfrader2008-08-14
| | | | svn:r16555
* Add exitpolicy summaries to the consensusPeter Palfrader2008-08-14
| | | | svn:r16554
* Add bw to consensusPeter Palfrader2008-08-14
| | | | svn:r16551
* Do not show policy and bw in v2 statusesPeter Palfrader2008-08-14
| | | | svn:r16537
* Document that we break ties in favor of smaller SD digest if there are still ↵Peter Palfrader2008-08-05
| | | | | | ties after comparing the published timestamp svn:r16432
* r17337@aud-055: nickm | 2008-07-24 10:17:43 +0200Nick Mathewson2008-07-24
| | | | | | | Refactor the is_vote field of networkstatus_t to add a third possibility ("opinion") in addition to vote and opinion. First part of implementing proposal 147. svn:r16166
* Added prefixes to testing-network-only configuration options.Karsten Loesing2008-06-20
| | | | svn:r15375
* check-spaces, fix a typoRoger Dingledine2008-06-18
| | | | svn:r15355
* Patch from Karsten to implement proposal 135 ("Testing Tor Networks").Nick Mathewson2008-06-14
| | | | svn:r15253
* implement proposal 138: removing down routers from consensusPeter Palfrader2008-06-13
| | | | svn:r15230
* r19694@catbus: nickm | 2008-05-12 00:21:37 -0400Nick Mathewson2008-05-12
| | | | | | | Add unit tests for last patch; make it more testable; fix a bug or two. svn:r14586
* r19690@catbus: nickm | 2008-05-11 22:13:31 -0400Nick Mathewson2008-05-12
| | | | | | | Implement a proposal to let a directory authority migrate its identity key without ceasing to sign consensuses. svn:r14584
* r15230@tombo: nickm | 2008-04-17 16:18:08 -0400Nick Mathewson2008-04-17
| | | | | | | Do not allocate excess space for named_flag and unnamed_flag in dirvote.c. Fixes bug 662. Not a dangerous bug: sizeof(int*) is at least as big as sizeof(int) everywhere. svn:r14391
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson2008-02-22
| | | | | | | More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
* r18272@catbus: nickm | 2008-02-20 18:20:33 -0500Nick Mathewson2008-02-20
| | | | | | | add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority. svn:r13630
* r18255@catbus: nickm | 2008-02-20 11:44:55 -0500Nick Mathewson2008-02-20
| | | | | | | Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c svn:r13618
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500Nick Mathewson2008-02-06
| | | | | | | Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
* misc small fixesRoger Dingledine2008-02-06
| | | | svn:r13403
* r17914@catbus: nickm | 2008-02-05 16:12:16 -0500Nick Mathewson2008-02-05
| | | | | | | Remove or downgrade some XXX020 items. svn:r13388
* r17911@catbus: nickm | 2008-02-05 15:53:22 -0500Nick Mathewson2008-02-05
| | | | | | | Fix a potential bug that would make authorities fail to vote under bizarre circumstances that probably never happened. svn:r13385
* r17909@catbus: nickm | 2008-02-05 14:48:22 -0500Nick Mathewson2008-02-05
| | | | | | | As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete. svn:r13383
* Some log messages during dirvoting - maybe downgrade to debug if you wantPeter Palfrader2008-01-24
| | | | svn:r13261
* patch from karsten to make vote logs more usefulRoger Dingledine2008-01-24
| | | | svn:r13260
* Some people still think letters fall off the side of the code if they go ↵Peter Palfrader2008-01-23
| | | | | | farther than 80 chars svn:r13242
* Log where uploaded consensus signatures come fromPeter Palfrader2008-01-23
| | | | svn:r13241
* r17624@catbus: nickm | 2008-01-15 00:42:01 -0500Nick Mathewson2008-01-15
| | | | | | | Fixes to more anonymously-reported typos and logic errors. svn:r13136
* Jan 08 19:55:01.865 [notice] Added -2 pending signatures while building ↵Roger Dingledine2008-01-09
| | | | | | consensus. svn:r13080
* r17503@catbus: nickm | 2008-01-07 14:15:30 -0500Nick Mathewson2008-01-07
| | | | | | | Change set_current_consensus interface to take a flags variable. Do not try to fetch certificates until after we have tried loading the fallback consensus. Should fix bug 583. svn:r13058
* r17246@catbus: nickm | 2007-12-18 18:45:17 -0500Nick Mathewson2007-12-18
| | | | | | | Fix some xxx020 items. svn:r12864
* Make bridge authorities test reachability of bridges.Roger Dingledine2007-12-18
| | | | | | | Added two XXX020's that we need to think harder about. svn:r12859
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* emo tehRoger Dingledine2007-12-09
| | | | svn:r12747
* weasel wanted us to log the source of v3 votes we don't likeRoger Dingledine2007-12-04
| | | | svn:r12665
* r16174@catbus: nickm | 2007-10-26 10:55:26 -0400Nick Mathewson2007-10-26
| | | | | | | Better log on vote from unknown authority. Make get_by_v3_authority_id retrun only v3 authorities. svn:r12203
* the other half of the question for nickRoger Dingledine2007-10-26
| | | | svn:r12196
* ask nick about a possible bugRoger Dingledine2007-10-25
| | | | svn:r12193
* When there's no concensus, we were forming a vote every 30Roger Dingledine2007-10-23
| | | | | | | | | | | | | | | | | | | | | | | | 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
* r16054@catbus: nickm | 2007-10-22 20:22:13 -0400Nick Mathewson2007-10-23
| | | | | | | 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
* r16042@catbus: nickm | 2007-10-22 13:30:49 -0400Nick Mathewson2007-10-22
| | | | | | | Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality. svn:r12107
* r16033@catbus: nickm | 2007-10-22 12:26:13 -0400Nick Mathewson2007-10-22
| | | | | | | Download some XXXX020s in dirvote.c and mark some functions that may not belong there. svn:r12103
* r15974@catbus: nickm | 2007-10-19 16:47:27 -0400Nick Mathewson2007-10-19
| | | | | | | 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
* r15968@catbus: nickm | 2007-10-19 14:39:51 -0400Nick Mathewson2007-10-19
| | | | | | | Implement code to compute which method to use to compute a consensus. Also, fix leak in consensus calculation. svn:r12054
* r15961@catbus: nickm | 2007-10-19 12:40:15 -0400Nick Mathewson2007-10-19
| | | | | | | Learn the difference between "mismatched vote digest" and "mismatched vote times": the latter is more informative. svn:r12049
* r15915@catbus: nickm | 2007-10-18 10:26:44 -0400Nick Mathewson2007-10-18
| | | | | | | Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority. svn:r12022
* r15905@catbus: nickm | 2007-10-18 09:58:54 -0400Nick Mathewson2007-10-18
| | | | | | | Document some functions while I can still rememberf what they do. Fix up some whitespace. svn:r12018
* r15853@catbus: nickm | 2007-10-16 11:32:55 -0400Nick Mathewson2007-10-16
| | | | | | | Fix "Error adding vote: OK" message. svn:r11986