aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
Commit message (Expand)AuthorAge
...
* r18255@catbus: nickm | 2008-02-20 11:44:55 -0500••• Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c svn:r13618 Nick Mathewson2008-02-20
* r18236@catbus: nickm | 2008-02-19 18:55:21 -0500••• Explain why I am right and veracode is wrong in routerparse.c line 1141. Using math! svn:r13602 Nick Mathewson2008-02-19
* r18230@catbus: nickm | 2008-02-19 18:29:43 -0500••• Add a few asserts to catch possible errors found by veracode. svn:r13598 Nick Mathewson2008-02-19
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* If the networkstatus consensus lists no recommended versions, don't•••complain to the user and demand that they upgrade to one of "". svn:r13401 Roger Dingledine2008-02-06
* r17936@catbus: nickm | 2008-02-06 00:31:11 -0500••• Fix/downgrade some more XXX020s. svn:r13397 Nick Mathewson2008-02-06
* r17933@catbus: nickm | 2008-02-05 19:54:28 -0500••• Stamp out a bunch of atoi users; make more tor_parse_long() users check their outputs. svn:r13395 Nick Mathewson2008-02-06
* r17909@catbus: nickm | 2008-02-05 14:48:22 -0500••• As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete. svn:r13383 Nick Mathewson2008-02-05
* Fix bug 571: associate certificates with keys, not dirservers, so that we can...•••svn:r13304 Nick Mathewson2008-01-26
* Fix a warning•••svn:r13243 Peter Palfrader2008-01-23
* r17639@catbus: nickm | 2008-01-15 19:09:21 -0500••• Fix some hard to trigger but nonetheless real memory leaks spotted by an anonymous contributor. Needs review. Partial backport candidate. svn:r13147 Nick Mathewson2008-01-16
* r17614@catbus: nickm | 2008-01-14 13:55:25 -0500••• Add a missing "goto err" when parsing v2 ns docs svn:r13133 Nick Mathewson2008-01-14
* r17610@catbus: nickm | 2008-01-14 13:20:49 -0500••• Fix a bogus free() call on a base64 failure in router_append_dirobj_signature(). svn:r13129 Nick Mathewson2008-01-14
* minor cleanups•••svn:r13095 Roger Dingledine2008-01-10
* r17554@catbus: nickm | 2008-01-10 12:48:29 -0500••• Do not send bridge descriptors over unencrypted connections. svn:r13094 Nick Mathewson2008-01-10
* r15779@tombo: nickm | 2008-01-01 23:43:24 -0500••• Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.) svn:r13017 Nick Mathewson2008-01-02
* 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