aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
Commit message (Collapse)AuthorAge
* r18913@catbus: nickm | 2008-03-18 10:30:39 -0400Nick Mathewson2008-03-18
| | | | | | | 16, not 64. svn:r14094
* point out another bug for nick. and if it's *not* a bug, that'sRoger Dingledine2008-03-18
| | | | | | | stunning and i want to know why. :) svn:r14088
* r18896@catbus: nickm | 2008-03-17 16:10:54 -0400Nick Mathewson2008-03-17
| | | | | | | Fix bug in earlier bugfix. Note stupidness of allowing NULL policies at all. Disallow empty exit policies in router descriptors. svn:r14082
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson2008-02-22
| | | | | | | More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
* r18255@catbus: nickm | 2008-02-20 11:44:55 -0500Nick Mathewson2008-02-20
| | | | | | | Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c svn:r13618
* r18236@catbus: nickm | 2008-02-19 18:55:21 -0500Nick Mathewson2008-02-19
| | | | | | | Explain why I am right and veracode is wrong in routerparse.c line 1141. Using math! svn:r13602
* r18230@catbus: nickm | 2008-02-19 18:29:43 -0500Nick Mathewson2008-02-19
| | | | | | | Add a few asserts to catch possible errors found by veracode. svn:r13598
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* If the networkstatus consensus lists no recommended versions, don'tRoger Dingledine2008-02-06
| | | | | | | complain to the user and demand that they upgrade to one of "". svn:r13401
* r17936@catbus: nickm | 2008-02-06 00:31:11 -0500Nick Mathewson2008-02-06
| | | | | | | Fix/downgrade some more XXX020s. svn:r13397
* r17933@catbus: nickm | 2008-02-05 19:54:28 -0500Nick Mathewson2008-02-06
| | | | | | | Stamp out a bunch of atoi users; make more tor_parse_long() users check their outputs. svn:r13395
* r17909@catbus: nickm | 2008-02-05 14:48:22 -0500Nick Mathewson2008-02-05
| | | | | | | As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete. svn:r13383
* Fix bug 571: associate certificates with keys, not dirservers, so that we ↵Nick Mathewson2008-01-26
| | | | | | can have certificates for dirservers we do not recognize. svn:r13304
* Fix a warningPeter Palfrader2008-01-23
| | | | svn:r13243
* r17639@catbus: nickm | 2008-01-15 19:09:21 -0500Nick Mathewson2008-01-16
| | | | | | | Fix some hard to trigger but nonetheless real memory leaks spotted by an anonymous contributor. Needs review. Partial backport candidate. svn:r13147
* r17614@catbus: nickm | 2008-01-14 13:55:25 -0500Nick Mathewson2008-01-14
| | | | | | | Add a missing "goto err" when parsing v2 ns docs svn:r13133
* r17610@catbus: nickm | 2008-01-14 13:20:49 -0500Nick Mathewson2008-01-14
| | | | | | | Fix a bogus free() call on a base64 failure in router_append_dirobj_signature(). svn:r13129
* minor cleanupsRoger Dingledine2008-01-10
| | | | svn:r13095
* r17554@catbus: nickm | 2008-01-10 12:48:29 -0500Nick Mathewson2008-01-10
| | | | | | | Do not send bridge descriptors over unencrypted connections. svn:r13094
* r15779@tombo: nickm | 2008-01-01 23:43:24 -0500Nick Mathewson2008-01-02
| | | | | | | 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
* tiny tweaks on r12900Roger Dingledine2007-12-21
| | | | svn:r12901
* revert r12841 and r12842, and commit karsten's "patch 13"Roger Dingledine2007-12-21
| | | | svn:r12900
* Only Tors that want to mirror the v2 directory info shouldRoger Dingledine2007-12-20
| | | | | | | | | | | 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
* When we were reading router descriptors from cache, we were ignoringRoger Dingledine2007-12-19
| | | | | | | | the annotations -- including reading in bridge-purpose descriptors as general-purpose descriptors. svn:r12867
* fix another mem leak, and point out another for karstenRoger Dingledine2007-12-16
| | | | svn:r12841
* our unit tests leak memory like a sieve.Roger Dingledine2007-12-16
| | | | | | | fix two actual memory leaks found while cleaning up a bit. svn:r12829
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* Stop thinking that 0.1.2.x directory servers can handle "begin_dir"Roger Dingledine2007-12-03
| | | | | | | | requests. Should ease bugs 406 and 419 where 0.1.2.x relays are crashing or mis-answering these requests. svn:r12658
* start to refactor dirserver_mode()Roger Dingledine2007-12-01
| | | | svn:r12621
* r16881@catbus: nickm | 2007-11-30 15:07:42 -0500Nick Mathewson2007-11-30
| | | | | | | Do not keep a string representation of every single addr_policy_t lying around. This might save a few hundred K. svn:r12617
* easy tweaks on r12607Roger Dingledine2007-11-29
| | | | svn:r12608
* karsten's second refactoring patchRoger Dingledine2007-11-29
| | | | svn:r12607
* Our new v2 hidden service descriptor format allows descriptorsRoger Dingledine2007-11-27
| | | | | | | | | | 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
* r16525@catbus: nickm | 2007-11-07 12:10:01 -0500Nick Mathewson2007-11-07
| | | | | | | 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
* Nov 03 11:15:13.103 [info] connection_dir_client_reached_eof(): Received ↵Roger Dingledine2007-11-03
| | | | | | | | | | consensus directory (size 330543) from server '86.59.21.38:80' 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
* r16367@catbus: nickm | 2007-11-02 13:13:15 -0400Nick Mathewson2007-11-02
| | | | | | | Space fixes. svn:r12345
* r14623@tombo: nickm | 2007-11-01 22:25:18 -0400Nick Mathewson2007-11-02
| | | | | | | More tweaks from karsten, with some cleanup and commentary. svn:r12319
* r16300@catbus: nickm | 2007-10-31 15:36:41 -0400Nick Mathewson2007-10-31
| | | | | | | Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299
* r16262@catbus: nickm | 2007-10-29 13:21:35 -0400Nick Mathewson2007-10-29
| | | | | | | Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272
* r16237@catbus: nickm | 2007-10-28 15:45:25 -0400Nick Mathewson2007-10-28
| | | | | | | 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
* r16236@catbus: nickm | 2007-10-28 14:36:30 -0400Nick Mathewson2007-10-28
| | | | | | | Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254
* r16154@catbus: nickm | 2007-10-25 10:29:47 -0400Nick Mathewson2007-10-25
| | | | | | | Fix more memory leaks, with help from dmalloc. svn:r12188
* Stop leaking memory every time we parse a v3 certificate. BugfixRoger Dingledine2007-10-25
| | | | | | | on 0.2.0.1-alpha. svn:r12185
* r16034@catbus: nickm | 2007-10-22 12:30:38 -0400Nick Mathewson2007-10-22
| | | | | | | Move an XXX020 to the logical place. svn:r12104
* r15967@catbus: nickm | 2007-10-19 14:14:47 -0400Nick Mathewson2007-10-19
| | | | | | | Change meaning of "freefn" argument to smartlist_uniq so that we can remove duplicates from a list without freeing them. svn:r12053
* r15965@catbus: nickm | 2007-10-19 13:32:11 -0400Nick Mathewson2007-10-19
| | | | | | | Client-side implementation for proposal 122. svn:r12051
* r15956@catbus: nickm | 2007-10-19 11:18:14 -0400Nick Mathewson2007-10-19
| | | | | | | Encode address in certificates. Also, make it possible to create certs reusing an old key. svn:r12046
* r15939@catbus: nickm | 2007-10-18 22:14:15 -0400Nick Mathewson2007-10-19
| | | | | | | | | | | | 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
* r15806@catbus: nickm | 2007-10-15 19:14:57 -0400Nick Mathewson2007-10-15
| | | | | | | 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
* r14892@Kushana: nickm | 2007-10-11 14:00:33 -0400Nick Mathewson2007-10-11
| | | | | | | 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