aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
Commit message (Collapse)AuthorAge
* Document the microdescriptor code better.Nick Mathewson2009-10-18
|
* Parse detached signatures and microdesc networkstatuses correctly.Nick Mathewson2009-10-15
|
* Parse detached signature documents with multiple flavors and algorithms.Nick Mathewson2009-10-15
|
* Refactor consensus signature storage for multiple digests and flavors.Nick Mathewson2009-10-15
| | | | | | | | 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>.
* Code to generate, store, and parse microdescriptors and consensuses.Nick Mathewson2009-10-15
| | | | | The consensus documents are not signed properly, not served, and not exchanged yet.
* Add ability to parse one or more m line from a vote.Nick Mathewson2009-10-15
|
* Allow signed data to include other hashes later.Nick Mathewson2009-10-15
| | | | | | 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.
* Signature-checking code can handle longer digests.Nick Mathewson2009-10-15
|
* Make signature-generation code handle different key and digest lengths.Nick Mathewson2009-10-15
|
* Merge commit 'sebastian/specconformance'Roger Dingledine2009-09-16
|\
| * Fix a spec conformance issue when parsing a ns voteSebastian Hahn2009-09-14
| | | | | | | | | | | | | | 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!
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-15
|\ \ | | | | | | | | | | | | Resolved conflicts in: src/or/circuitbuild.c
| * | Fix a memory leak when parsing a nsSebastian Hahn2009-09-14
| | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | Implement proposal 167: Authorities vote on network parameters.Nick Mathewson2009-09-14
| |/ |/| | | | | | | | | | | | | 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.
* | Fix compile warnings on Snow LeopardSebastian Hahn2009-09-01
| | | | | | | | Big thanks to nickm and arma for helping me with this!
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-01
|\|
| * Fix compile warnings on Snow LeopardSebastian Hahn2009-09-01
| | | | | | | | Big thanks to nickm and arma for helping me with this!
* | When Tor fails to parse a descriptor of any kind, dump it to disk.Karsten Loesing2009-08-26
| |
* | Merge commit 'karsten/proposal-166-impl-master'Nick Mathewson2009-08-26
|\ \
| * | Include contents of *-stats files in descriptor.Karsten Loesing2009-08-17
| |/
* | Add the first 8 bytes of the git commit digest to our versions.Nick Mathewson2009-08-21
| | | | | | | | | | | | | | 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.
* | Implement measured bw parsing + unit tests.Mike Perry2009-08-06
|/
* Spell-check Tor.Nick Mathewson2009-05-27
|
* Update copyright to 2009.Karsten Loesing2009-05-04
|
* Fix a few crash bugs related to malormed descriptors. Lark found one; ↵Nick Mathewson2009-04-09
| | | | | | fuzzing found the rest. svn:r19250
* uh, and commit the patch too.Roger Dingledine2009-02-09
| | | | svn:r18423
* Fix a possible cause of bug 915 when parsing multiple votes one of which was ↵Nick Mathewson2009-01-31
| | | | | | bad. Bugfix on 0.2.0.8-alpha. svn:r18354
* Fix up (I hope) most ot the things that coverity suddenly claimed were ↵Nick Mathewson2009-01-13
| | | | | | REVERSE_INULL. This is what we get for bragging about being down to 0 issues. svn:r18096
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* Downgrade the last xxx021 in routerparse. The duplicate code stands for now.Nick Mathewson2008-12-29
| | | | svn:r17817
* Extact parse-the-token-arguments to its own function, and change it to a ↵Nick Mathewson2008-12-29
| | | | | | single-pass algorithm. This simplifies the parsing code and speeds it up a little. svn:r17812
* Remove a call to find_whitespace_eos that didn't actually do anything.Nick Mathewson2008-12-29
| | | | svn:r17811
* Refactor some exit-policy-related functions that showed up in oprofile.Nick Mathewson2008-12-29
| | | | | | | | | | Specifically, split compare_tor_addr_to_addr_policy() from a loop with a bunch of complicated ifs inside into some ifs, each with a simple loop. Rearrange router_find_exact_exit_enclave() to run a little faster. Bizarrely, router_policy_rejects_all() shows up on oprofile, so precalculate it per routerinfo. svn:r17802
* Document most undocumented variables.Nick Mathewson2008-12-23
| | | | svn:r17754
* Add DOCDOC entries for undocumented static and global variables.Nick Mathewson2008-12-22
| | | | svn:r17739
* Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson2008-12-22
| | | | svn:r17734
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson2008-12-22
| | | | | | comments so that they will get recognized as doxygen. svn:r17729
* Use ctags and a python script to find identifiers that are never used ↵Nick Mathewson2008-12-17
| | | | | | anywhere, and remove the ones that we really want gone. svn:r17651
* Add cross-certification to authority key certificates. Partial ↵Nick Mathewson2008-12-12
| | | | | | implementation of proposal 157. svn:r17610
* Now that tor_assert is no longer using a broken force-to-boolean ↵Nick Mathewson2008-12-11
| | | | | | formulation, we can tor_assert a bitfield without a gcc compile error. svn:r17598
* Refactor find_first_by_keyword into one variant that can return NULL and one ↵Nick Mathewson2008-12-11
| | | | | | | | that can't. This makes it easier for us to avoid errors where we we forgot to list a keyword as mandatory, and easier for Coverity to detect cases like this too. svn:r17595
* Add a couple of sanity-checks for return values that coverity thinks we ↵Nick Mathewson2008-12-05
| | | | | | ought to have. CIDs 337, 335. svn:r17485
* fix bug 880: find the end of an authority cert by looking for the first ↵Nick Mathewson2008-12-03
| | | | | | ----END SIGNATURE----- after the first dir-key-certification, not for the first ----END SIGNATURE. Harmless bug, but it made us non-spec-compliant. svn:r17470
* The chunk_size field in memarea_t was never actually set. Remove the whole ↵Nick Mathewson2008-11-05
| | | | | | thing. svn:r17195
* Fix unit test failure related to intro point parsing.Nick Mathewson2008-11-03
| | | | svn:r17188
* Proposal 152 implementation from Josh Albrecht, with tweaks.Nick Mathewson2008-09-26
| | | | svn:r16983
* Add country-code support to configured node lists to implement the ↵Nick Mathewson2008-09-25
| | | | | | ever-popular "no exits in Monaco" feature (ExcludeExitNodes {MC}). Also allow country codes and IP ranges in ExitNodes. (EntryNodes needs more work.) Based on code by Robert Hogan. Needs more testing. svn:r16966
* make r16598 compile on 64-bit tooRoger Dingledine2008-08-20
| | | | svn:r16604
* Apply proposal 121 patch 3, with minor tweaks and a few comments.Nick Mathewson2008-08-19
| | | | svn:r16598
* Do not split stored exit policy summary into type(accept/reject) and ↵Peter Palfrader2008-08-14
| | | | | | portlist. At least not just yet svn:r16553