aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
Commit message (Expand)AuthorAge
* tiny tweaks on r12900•••svn:r12901 Roger Dingledine2007-12-21
* revert r12841 and r12842, and commit karsten's "patch 13"•••svn:r12900 Roger Dingledine2007-12-21
* Only Tors that want to mirror the v2 directory info should•••create the "cached-status" directory in their datadir. All Tors used to create it. Bugfix on 0.1.2.x. Bridge relays with DirPort set to 0 no longer cache v1 or v2 directory information; there's no point. Bugfix on trunk. svn:r12887 Roger Dingledine2007-12-20
* When we were reading router descriptors from cache, we were ignoring•••the annotations -- including reading in bridge-purpose descriptors as general-purpose descriptors. svn:r12867 Roger Dingledine2007-12-19
* fix another mem leak, and point out another for karsten•••svn:r12841 Roger Dingledine2007-12-16
* our unit tests leak memory like a sieve.•••fix two actual memory leaks found while cleaning up a bit. svn:r12829 Roger Dingledine2007-12-16
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* Stop thinking that 0.1.2.x directory servers can handle "begin_dir"•••requests. Should ease bugs 406 and 419 where 0.1.2.x relays are crashing or mis-answering these requests. svn:r12658 Roger Dingledine2007-12-03
* start to refactor dirserver_mode()•••svn:r12621 Roger Dingledine2007-12-01
* r16881@catbus: nickm | 2007-11-30 15:07:42 -0500••• Do not keep a string representation of every single addr_policy_t lying around. This might save a few hundred K. svn:r12617 Nick Mathewson2007-11-30
* easy tweaks on r12607•••svn:r12608 Roger Dingledine2007-11-29
* karsten's second refactoring patch•••svn:r12607 Roger Dingledine2007-11-29
* Our new v2 hidden service descriptor format allows descriptors•••that have no introduction points. But Tor crashed when we tried to build a descriptor with no intro points (and it would have crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch by Karsten Loesing. svn:r12579 Roger Dingledine2007-11-27
* r16525@catbus: nickm | 2007-11-07 12:10:01 -0500••• Clean up log messages from bug 543 fix, and make old_routers also keep track of their indices. This will probably crash some until all the bugs are fixed. svn:r12412 Nick Mathewson2007-11-07
* Nov 03 11:15:13.103 [info] connection_dir_client_reached_eof(): Received cons...•••Nov 03 11:15:13.129 [info] networkstatus_set_current_consensus(): Got a consensus we already have Nov 03 11:15:13.129 [warn] Unable to load consensus directory dowloaded from server '86.59.21.38:80' svn:r12359 Roger Dingledine2007-11-03
* r16367@catbus: nickm | 2007-11-02 13:13:15 -0400••• Space fixes. svn:r12345 Nick Mathewson2007-11-02
* r14623@tombo: nickm | 2007-11-01 22:25:18 -0400••• More tweaks from karsten, with some cleanup and commentary. svn:r12319 Nick Mathewson2007-11-02
* r16300@catbus: nickm | 2007-10-31 15:36:41 -0400••• Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299 Nick Mathewson2007-10-31
* r16262@catbus: nickm | 2007-10-29 13:21:35 -0400••• Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272 Nick Mathewson2007-10-29
* r16237@catbus: nickm | 2007-10-28 15:45:25 -0400••• Tidy v2 hidden service descriptor format code: fix memory leaks, fix reference problems, note magic numbers, note questions, remove redundant checks, remove a possible stack smashing bug when encoding a descriptor with no protocols supported. svn:r12255 Nick Mathewson2007-10-28
* r16236@catbus: nickm | 2007-10-28 14:36:30 -0400••• Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254 Nick Mathewson2007-10-28
* r16154@catbus: nickm | 2007-10-25 10:29:47 -0400••• Fix more memory leaks, with help from dmalloc. svn:r12188 Nick Mathewson2007-10-25
* Stop leaking memory every time we parse a v3 certificate. Bugfix•••on 0.2.0.1-alpha. svn:r12185 Roger Dingledine2007-10-25
* r16034@catbus: nickm | 2007-10-22 12:30:38 -0400••• Move an XXX020 to the logical place. svn:r12104 Nick Mathewson2007-10-22
* r15967@catbus: nickm | 2007-10-19 14:14:47 -0400••• Change meaning of "freefn" argument to smartlist_uniq so that we can remove duplicates from a list without freeing them. svn:r12053 Nick Mathewson2007-10-19
* r15965@catbus: nickm | 2007-10-19 13:32:11 -0400••• Client-side implementation for proposal 122. svn:r12051 Nick Mathewson2007-10-19
* r15956@catbus: nickm | 2007-10-19 11:18:14 -0400••• Encode address in certificates. Also, make it possible to create certs reusing an old key. svn:r12046 Nick Mathewson2007-10-19
* r15939@catbus: nickm | 2007-10-18 22:14:15 -0400••• Remember the valid-until time of the most recent consensus that listed a router, and (if we are a cache) never delete the routerdesc until that conensus is expired. This is way easier than retaining multiple consensuses. (Of course, the info isn't retained across restarts, but that only affects a few caches at a time.) svn:r12041 Nick Mathewson2007-10-19
* r15806@catbus: nickm | 2007-10-15 19:14:57 -0400••• Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list. svn:r11957 Nick Mathewson2007-10-15
* r14892@Kushana: nickm | 2007-10-11 14:00:33 -0400••• Fix a bunch of XXX020s: treat some 403s as INFO severity; remove some dead code; share the retry path for consensus routerdescs that are also listed in the v2 networkstatus; check even more aspects of votes when parsing them. svn:r11871 Nick Mathewson2007-10-11
* bugfix on r11480:•••Stop calling tor_strlower() on uninitialized memory in some cases. svn:r11858 Roger Dingledine2007-10-10
* r15598@catbus: nickm | 2007-10-09 16:37:35 -0400••• Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode(). svn:r11817 Nick Mathewson2007-10-09
* r15587@catbus: nickm | 2007-10-09 15:05:27 -0400••• When parsing two concatenated networkstatuses (as we do when voting), detect the end of the first one properly. svn:r11810 Nick Mathewson2007-10-09
* r14769@Kushana: nickm | 2007-10-07 14:00:17 -0400••• Fetch networkstatus consensus documents as needed. Disabled for clients until more caches support it. svn:r11788 Nick Mathewson2007-10-08
* r15530@catbus: nickm | 2007-10-04 12:16:27 -0400••• Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke. svn:r11761 Nick Mathewson2007-10-04
* r15436@catbus: nickm | 2007-10-01 21:17:27 -0400••• Fix disgusting O(n^2) behavior in router_parse_list_from_string. Noticed by Li-Hui Zhou; found with oprofile. svn:r11738 Nick Mathewson2007-10-02
* r15422@catbus: nickm | 2007-09-27 16:42:35 -0400••• Use descriptor annotations to record the source, download t time, and purpose of every descriptor we add to the store. The remaining to-do item is to stop setting do_not_cache on bridges. svn:r11680 Nick Mathewson2007-09-27
* r15412@catbus: nickm | 2007-09-27 12:04:24 -0400••• More annotated-store work: handle annotations in lists correctly. Add ability to prepend annotations to a routerdesc (and to every rtouredesc in a list), while verifying that the routerdesc is not already annotated. svn:r11665 Nick Mathewson2007-09-27
* r15400@catbus: nickm | 2007-09-26 12:13:12 -0400••• Backend for descriptor annotations: parse annotations as keywords; only allow them to appear in the cache; do not serve them as part of the descriptor if we are a dirserver. Still need mechanism to set annotations. Still need to rename cache file. svn:r11654 Nick Mathewson2007-09-26
* r15279@catbus: nickm | 2007-09-22 02:00:06 -0400••• V3 authority work: fetch missing votes and/or signatures as needed. svn:r11575 Nick Mathewson2007-09-22
* r15140@catbus: nickm | 2007-09-18 11:34:54 -0400••• Get rid of a needless malloc() when parsing address policies. Original patch from "Some guy on #tor", via arma. Altered to have a sufficiently large buffer, and not use the buffer so much, and to save a strlcpy. svn:r11480 Nick Mathewson2007-09-18
* backport candidate:•••Stop leaking part of the descriptor when we run into a particularly unparseable piece of it. Bugfix on 0.1.2.x. svn:r11249 Roger Dingledine2007-08-22
* r14032@Kushana: nickm | 2007-08-15 11:35:16 -0400••• Add unit tests for median functions; enforce sensible ranges for intervals and delays. svn:r11121 Nick Mathewson2007-08-15
* r14003@kushana: nickm | 2007-08-13 22:23:49 -0400••• Resolve a pile of XXXXs in and around voting code svn:r11099 Nick Mathewson2007-08-14
* r13886@Kushana: nickm | 2007-08-01 09:43:06 -0700••• Unit tests and debugging for detached signature manipulation. svn:r11015 Nick Mathewson2007-08-01
* r14016@catbus: nickm | 2007-07-30 13:45:55 -0400••• More documentation svn:r10992 Nick Mathewson2007-07-30
* r13936@catbus: nickm | 2007-07-27 12:23:26 -0400••• Code to implement detached signature documents. svn:r10944 Nick Mathewson2007-07-27
* r13924@catbus: nickm | 2007-07-26 16:46:45 -0400••• We can have multiple authority certificates for an authority at a time: make the code reflect that. svn:r10937 Nick Mathewson2007-07-26
* r13921@catbus: nickm | 2007-07-26 16:26:48 -0400••• Code to add signatures to a pending consensus directory. svn:r10936 Nick Mathewson2007-07-26
* r13834@catbus: nickm | 2007-07-19 15:40:42 -0400••• Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time. svn:r10881 Nick Mathewson2007-07-19