aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
Commit message (Collapse)AuthorAge
...
* 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
* Rename a field so weasel likes it betterPeter Palfrader2008-08-14
| | | | svn:r16552
* Add bw to consensusPeter Palfrader2008-08-14
| | | | svn:r16551
* Parse policies and weight (bw) into routerstatusesPeter Palfrader2008-08-14
| | | | svn:r16550
* asserting(s) is better than segfaulting if it turns out to be NULL laterPeter Palfrader2008-08-14
| | | | svn:r16538
* Patch cleanups from karstenNick Mathewson2008-08-09
| | | | svn:r16479
* The first of Karsten's proposal 121 patches: configure and maintain client ↵Nick Mathewson2008-08-08
| | | | | | authorization data. Tweaked a bit: see comments on or-dev. svn:r16475
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400Nick Mathewson2008-08-05
| | | | | | | Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435
* r17346@aud-055: nickm | 2008-07-24 15:37:19 +0200Nick Mathewson2008-07-24
| | | | | | | Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start. svn:r16178
* 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
* r16917@tombo: nickm | 2008-07-11 12:55:26 -0400Nick Mathewson2008-07-11
| | | | | | | Remove token enum constant in routerparse.c that we do not actually use. svn:r15841
* 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
* I bet I screwed up while merging in the changes from the feature branch into ↵Peter Palfrader2008-04-24
| | | | | | my git-svn repository. Undo r14451 svn:r14452
* Merge conditional consensus downloadingPeter Palfrader2008-04-24
| | | | svn:r14451
* Enable conditional consensus downloading starting with 0.2.1.1-alpha serversPeter Palfrader2008-04-24
| | | | svn:r14449
* and the client part of the consensus-by-authority-fpr proposal (ifdef'ed out)Peter Palfrader2008-04-24
| | | | svn:r14446
* r19074@catbus: nickm | 2008-03-26 17:08:32 -0400Nick Mathewson2008-03-26
| | | | | | | Start new address policies with refcount of 1, not 2. Backport candidate once tested more. svn:r14204
* r19072@catbus: nickm | 2008-03-26 13:50:24 -0400Nick Mathewson2008-03-26
| | | | | | | Add code to debug memory area size. Use results of this code to set a couple of area sizes more sanely. svn:r14201
* r19062@catbus: nickm | 2008-03-26 12:56:25 -0400Nick Mathewson2008-03-26
| | | | | | | Fix whitespace svn:r14197
* r19061@catbus: nickm | 2008-03-26 12:53:18 -0400Nick Mathewson2008-03-26
| | | | | | | Now that every thing in routerparse.c is switched over to use memareas, there is no need to keep the heap-allocated token code. svn:r14196
* r19060@catbus: nickm | 2008-03-26 12:44:19 -0400Nick Mathewson2008-03-26
| | | | | | | Make v2 hidden service descriptors use the new area allocation logic. This works for me, but Karsten should definitely have a look at it. svn:r14195
* r19049@catbus: nickm | 2008-03-26 12:33:25 -0400Nick Mathewson2008-03-26
| | | | | | | Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies. svn:r14194
* r18913@catbus: nickm | 2008-03-18 10:30:39 -0400Nick Mathewson2008-03-18
| | | | | | | 16, not 64. svn:r14094