Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 config.h | Sebastian Hahn | |
2010-07-27 | Create rendcommon.h | Sebastian Hahn | |
2010-07-27 | Create routerlist.h | Sebastian Hahn | |
2010-07-27 | Create router.h | Sebastian Hahn | |
2010-02-28 | Merge branch 'fix_routerparse_bug' | 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-27 | Fix a consensus-extension bug found by outofwords | Nick Mathewson | |
When the bandwidth-weights branch added the "directory-footer" token, and began parsing the directory footer at the first occurrence of "directory-footer", it made it possible to fool the parsing algorithm into accepting unsigned data at the end of a consensus or vote. This patch fixes that bug by treating the footer as starting with the first "directory-footer" or the first "directory-signature", whichever comes first. | |||
2010-02-27 | fix some wide lines in routerparse.c | Nick Mathewson | |
2010-02-27 | Merge remote branch 'origin/maint-0.2.1' | Nick Mathewson | |
Conflicts: ChangeLog src/or/routerparse.c | |||
2010-02-27 | Properly handle non-terminated strings | Sebastian Hahn | |
Treat strings returned from signed_descriptor_get_body_impl() as not NUL-terminated. Since the length of the strings is available, this is not a big problem. Discovered by rieo. | |||
2010-02-26 | Don't segfault when checking the consensus | Sebastian Hahn | |
2010-02-26 | Don't believe unauthenticated info in a consensus. | Nick Mathewson | |
Don't allow anything but directory-signature tokens in a consensus after the first directory-signature token. Fixes bug in bandwidth-weights branch. Found by "outofwords." | |||
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-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 | network-status-version must come first in a vote/consensus | Sebastian Hahn | |
Spec conformance issue: The code didn't force the network-status-version token to be the first token in a v3 vote or consensus. Problem discovered by Parakeep. | |||
2009-12-18 | Remove duplicate words and a duplicate newline. | Karsten Loesing | |
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-10-18 | Document the microdescriptor code better. | Nick Mathewson | |
2009-10-15 | Parse detached signatures and microdesc networkstatuses correctly. | Nick Mathewson | |
2009-10-15 | Parse detached signature documents with multiple flavors and algorithms. | 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 | Add ability to parse one or more m line from a vote. | Nick Mathewson | |
2009-10-15 | Allow signed data to include other hashes later. | Nick Mathewson | |
Previously, we insisted that a valid signature must be a signature of the expected digest. Now we accept anything that starts with the expected digest. This lets us include another digest later. | |||
2009-10-15 | Signature-checking code can handle longer digests. | Nick Mathewson | |
2009-10-15 | Make signature-generation code handle different key and digest lengths. | Nick Mathewson | |
2009-10-14 | Code to parse and access network parameters. | Nick Mathewson | |
Partial backport of 381766ce4b1145460. Partial backport of 56c6d78520a98fb64. | |||
2009-09-16 | Merge commit 'sebastian/specconformance' | Roger Dingledine | |
2009-09-15 | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | |
Resolved conflicts in: src/or/circuitbuild.c | |||
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. | |||
2009-09-14 | Fix a memory leak when parsing a ns | Sebastian Hahn | |
Adding the same vote to a networkstatus consensus leads to a memory leak on the client side. Fix that by only using the first vote from any given voter, and ignoring the others. Problem found by Rotor, who also helped writing the patch. Thanks! | |||
2009-09-14 | Fix a spec conformance issue when parsing a ns vote | Sebastian Hahn | |
A vote may only contain exactly one signature. Make sure we reject votes that violate this. Problem found by Rotor, who also helped writing the patch. Thanks! | |||
2009-09-01 | Fix compile warnings on Snow Leopard | Sebastian Hahn | |
Big thanks to nickm and arma for helping me with this! | |||
2009-09-01 | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | |
2009-09-01 | Fix compile warnings on Snow Leopard | Sebastian Hahn | |
Big thanks to nickm and arma for helping me with this! | |||
2009-08-26 | When Tor fails to parse a descriptor of any kind, dump it to disk. | Karsten Loesing | |
2009-08-26 | Merge commit 'karsten/proposal-166-impl-master' | Nick Mathewson | |
2009-08-21 | Add the first 8 bytes of the git commit digest to our versions. | Nick Mathewson | |
Note that unlike subversion revision numbers, it isn't meaningful to compare these for anything but equality. We define a sort-order anyway, in case one of these accidentally slips into a recommended-versions list. | |||
2009-08-17 | Include contents of *-stats files in descriptor. | Karsten Loesing | |
2009-08-06 | Implement measured bw parsing + unit tests. | Mike Perry | |