aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
Commit message (Expand)AuthorAge
* Fix potential null pointer deref during dirvote•••Found by using clang's analyzer. Sebastian Hahn2011-05-09
* Handle crypto_pk_get_digest failures semi-sensibly•••Fixes bug 3106. Robert Ransom2011-05-04
* Fix log message when we have too few dirauths•••The calculation of when to send the logmessage was correct, but we didn't give the correct number of relays required: We want more than half of all authorities we know about. Fixes bug 2663. Sebastian Hahn2011-03-07
* Fix authority side of 2203.•••Do not add Exit bandwidth to E if BadExit is set. Mike Perry2011-01-25
* Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2011-01-03
|\
| * Bump copyright statements to 2011Nick Mathewson2011-01-03
* | Implement new Wxx constraints.•••Cases 1 and 3b are provably correct. Case 2b has a fallback to first try to maximize entropy. Mike Perry2010-09-27
* | Fix misplaced labelsSebastian Hahn2010-08-16
* | Fix a memory leak in dirvote_compute_consensuses()Sebastian Hahn2010-08-16
* | Fix a memory leak•••It happened in dirvote_add_signatures_to_pending_consesus(). Sebastian Hahn2010-08-16
* | Create routerparse.hSebastian Hahn2010-07-27
* | Create rephist.hSebastian Hahn2010-07-27
* | Create policies.hSebastian Hahn2010-07-27
* | Create networkstatus.hSebastian Hahn2010-07-27
* | Create microdesc.hSebastian Hahn2010-07-27
* | Create dirvote.hSebastian Hahn2010-07-27
* | Create dirserv.hSebastian Hahn2010-07-27
* | Create directory.hSebastian Hahn2010-07-27
* | Create config.hSebastian Hahn2010-07-27
* | Create routerlist.hSebastian Hahn2010-07-27
* | Create router.hSebastian Hahn2010-07-27
* | immediate reachability check for new relaysRoger Dingledine2010-04-21
* | fetch unknown descriptors if we see them in a voteRoger Dingledine2010-04-20
* | minor cleanupsRoger Dingledine2010-04-20
* | Merge branch 'asprintf'Nick Mathewson2010-04-02
|\ \
| * | Tweak users of snprintf to use asprintf where appropriateNick Mathewson2010-02-28
* | | Segfault less during consensus generation without params•••If no authority votes on any params, Tor authorities segfault when trying to make a new consensus from the votes. Let's change that. Sebastian Hahn2010-03-29
* | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\ \ \ | | |/ | |/|
| * | Update Tor Project copyright yearsNick Mathewson2010-02-27
* | | For integers, if !(E<G), then we can infer that E>=G.•••This means that "if (E<G) {abc} else if (E>=G) {def}" can be replaced with "if (E<G) {abc} else {def}" Doing the second test explicitly made my mingw gcc nervous that we might never be initializing casename. Nick Mathewson2010-02-25
* | | Fix 64-bit printf issues in consensus-bw-weights5-merge.•••For my 64-bit Linux system running with GCC 4.4.3-fc12-whatever, you can't do 'printf("%lld", (int64_t)x);' Instead you need to tell the compiler 'printf("%lld", (long long int)x);' or else it doesn't believe the types match. This is why we added U64_PRINTF_ARG; it looks like we needed an I64_PRINTF_ARG too. Nick Mathewson2010-02-25
* | | Check snprintf return values in format_networkstatus_vote.•••Maybe this is what parakeep was complaining about? Really wish he would stick around more. Playing these guessing games is not fun :( Mike Perry2010-02-25
* | | Cast our weights down to ints from int64.•••They are capped to be between 0 and weight_scale (10000) by the code just before the snprintf. Mike Perry2010-02-25
* | | Make unit tests work.•••Still not sure why they generate an empty consensus document.. Too much frobbing going on there. Mike Perry2010-02-24
* | | Add consensus method #defines.Mike Perry2010-02-22
* | | Clearly mark directory footer so we parse the new weight line.Mike Perry2010-02-22
* | | Add parsing+verification for bw weight values.Mike Perry2010-02-22
* | | Perform calculation of consensus bandwidth weights.•••Also add bwweightscale consensus param. Use it as our fixed-point calculation width. Mike Perry2010-02-22
| |/ |/|
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
* | *_free functions now accept NULL•••Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary. Sebastian Hahn2009-12-12
* | Not everybody likes debugging printfs as much as INick Mathewson2009-11-18
* | Do not report a partially-successful detached signature add as failed.•••Also, regenerate the detached-signature document whenever any signatures are successfully added. Nick Mathewson2009-11-17
* | Fix a memory leak on directory authorities during voting•••Fix a memory leak on directory authorities during voting that was introduced in 0.2.2.1-alpha. Found via valgrind. Roger Dingledine2009-11-12
* | Fix bug 1066.•••If all authorities restart at once right before a consensus vote, nobody will vote about "Running", and clients will get a consensus with no usable relays. Instead, authorities refuse to build a consensus if this happens. Karsten Loesing2009-10-26
* | Fix two bugs found by Coverity scan.•••One was a simple buffer overrun; the other was a high-speed pointer collision. Both were introduced by my microdescs branch. Nick Mathewson2009-10-19
* | Fix compile with warnings problems on Snow LeopardSebastian Hahn2009-10-19
* | Document the microdescriptor code better.Nick Mathewson2009-10-18
* | Actually remember all the consensus types when we are done generating them.Nick Mathewson2009-10-15
* | Implement signatures for microdesc consensuses right.•••This means we need to handle the existence of multiple flavors of signature in a detached signatures document, generate them correctly, and so on. Nick Mathewson2009-10-15
* | Generate all the flavors of consensuses when building consensuses.Nick Mathewson2009-10-15