Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-27 | Implement new Wxx constraints. | Mike Perry | |
Cases 1 and 3b are provably correct. Case 2b has a fallback to first try to maximize entropy. | |||
2010-08-16 | Fix misplaced labels | Sebastian Hahn | |
2010-08-16 | Fix a memory leak in dirvote_compute_consensuses() | Sebastian Hahn | |
2010-08-16 | Fix a memory leak | Sebastian Hahn | |
It happened in dirvote_add_signatures_to_pending_consesus(). | |||
2010-07-27 | Create routerparse.h | Sebastian Hahn | |
2010-07-27 | Create rephist.h | Sebastian Hahn | |
2010-07-27 | Create policies.h | Sebastian Hahn | |
2010-07-27 | Create networkstatus.h | Sebastian Hahn | |
2010-07-27 | Create microdesc.h | Sebastian Hahn | |
2010-07-27 | Create dirvote.h | Sebastian Hahn | |
2010-07-27 | Create dirserv.h | Sebastian Hahn | |
2010-07-27 | Create directory.h | Sebastian Hahn | |
2010-07-27 | Create config.h | Sebastian Hahn | |
2010-07-27 | Create routerlist.h | Sebastian Hahn | |
2010-07-27 | Create router.h | Sebastian Hahn | |
2010-04-21 | immediate reachability check for new relays | Roger Dingledine | |
2010-04-20 | fetch unknown descriptors if we see them in a vote | Roger Dingledine | |
2010-04-20 | minor cleanups | Roger Dingledine | |
2010-04-02 | Merge branch 'asprintf' | Nick Mathewson | |
2010-03-29 | Segfault less during consensus generation without params | Sebastian Hahn | |
If no authority votes on any params, Tor authorities segfault when trying to make a new consensus from the votes. Let's change that. | |||
2010-02-28 | Tweak users of snprintf to use asprintf where appropriate | Nick Mathewson | |
2010-02-27 | Merge remote branch 'origin/maint-0.2.1' | Nick Mathewson | |
Conflicts: src/common/test.h src/or/test.c | |||
2010-02-27 | Update Tor Project copyright years | Nick Mathewson | |
2010-02-25 | For integers, if !(E<G), then we can infer that E>=G. | Nick Mathewson | |
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. | |||
2010-02-25 | Fix 64-bit printf issues in consensus-bw-weights5-merge. | Nick Mathewson | |
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. | |||
2010-02-25 | Check snprintf return values in format_networkstatus_vote. | Mike Perry | |
Maybe this is what parakeep was complaining about? Really wish he would stick around more. Playing these guessing games is not fun :( | |||
2010-02-25 | Cast our weights down to ints from int64. | Mike Perry | |
They are capped to be between 0 and weight_scale (10000) by the code just before the snprintf. | |||
2010-02-24 | Make unit tests work. | Mike Perry | |
Still not sure why they generate an empty consensus document.. Too much frobbing going on there. | |||
2010-02-22 | Add consensus method #defines. | Mike Perry | |
2010-02-22 | Clearly mark directory footer so we parse the new weight line. | Mike Perry | |
2010-02-22 | Add parsing+verification for bw weight values. | Mike Perry | |
2010-02-22 | Perform calculation of consensus bandwidth weights. | Mike Perry | |
Also add bwweightscale consensus param. Use it as our fixed-point calculation width. | |||
2009-12-12 | Now that FOO_free(NULL) always works, remove checks before calling it. | Nick Mathewson | |
2009-12-12 | *_free functions now accept NULL | Sebastian Hahn | |
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. | |||
2009-11-18 | Not everybody likes debugging printfs as much as I | Nick Mathewson | |
2009-11-17 | Do not report a partially-successful detached signature add as failed. | Nick Mathewson | |
Also, regenerate the detached-signature document whenever any signatures are successfully added. | |||
2009-11-12 | Fix a memory leak on directory authorities during voting | Roger Dingledine | |
Fix a memory leak on directory authorities during voting that was introduced in 0.2.2.1-alpha. Found via valgrind. | |||
2009-10-26 | Fix bug 1066. | Karsten Loesing | |
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. | |||
2009-10-19 | Fix two bugs found by Coverity scan. | Nick Mathewson | |
One was a simple buffer overrun; the other was a high-speed pointer collision. Both were introduced by my microdescs branch. | |||
2009-10-19 | Fix compile with warnings problems on Snow Leopard | Sebastian Hahn | |
2009-10-18 | Document the microdescriptor code better. | Nick Mathewson | |
2009-10-15 | Actually remember all the consensus types when we are done generating them. | Nick Mathewson | |
2009-10-15 | Implement signatures for microdesc consensuses right. | Nick Mathewson | |
This means we need to handle the existence of multiple flavors of signature in a detached signatures document, generate them correctly, and so on. | |||
2009-10-15 | Generate all the flavors of consensuses when building consensuses. | Nick Mathewson | |
2009-10-15 | Refactor consensus signature storage for multiple digests and flavors. | Nick Mathewson | |
This patch introduces a new type called document_signature_t to represent the signature of a consensus document. Now, each consensus document can have up to one document signature per voter per digest algorithm. Also, each detached-signatures document can have up to one signature per <voter, algorithm, flavor>. | |||
2009-10-15 | Code to generate, store, and parse microdescriptors and consensuses. | Nick Mathewson | |
The consensus documents are not signed properly, not served, and not exchanged yet. | |||
2009-10-15 | Functions to encode microdescriptors and their lines. | Nick Mathewson | |
2009-10-15 | Make signature-generation code handle different key and digest lengths. | Nick Mathewson | |
2009-09-15 | Fix compile on Snow Leopard | Sebastian Hahn | |
2009-09-14 | Implement proposal 167: Authorities vote on network parameters. | Nick Mathewson | |
This code adds a new field to vote on: "params". It consists of a list of sorted key=int pairs. The output is computed as the median of all the integers for any key on which anybody voted. Improved with input from Roger. |