aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Expand)AuthorAge
* r15731@catbus: nickm | 2007-10-12 17:27:48 -0400••• Move "sort a list of routerinfo_t" into its own function in routerlist.c svn:r11903 Nick Mathewson2007-10-12
* r14887@Kushana: nickm | 2007-10-11 11:19:39 -0400••• Fix some XXX020s in dirserv.c svn:r11870 Nick Mathewson2007-10-11
* r15679@catbus: nickm | 2007-10-11 09:51:33 -0400••• Remove code to generate v1 directories. svn:r11866 Nick Mathewson2007-10-11
* r15670@catbus: nickm | 2007-10-10 20:08:14 -0400••• Restore a removed assert. svn:r11861 Nick Mathewson2007-10-11
* let bridge authorities write bridge descriptors to their•••cached-descriptors* files. nick, did i get this right? svn:r11855 Roger Dingledine2007-10-10
* get r11842 closer to what i want•••svn:r11851 Roger Dingledine2007-10-10
* Tweak the implementation of proposal 109 slightly: allow at most•••two Tor servers on the same IP address, except if it's the location of a directory authority, in which case allow five. svn:r11842 Roger Dingledine2007-10-10
* r15599@catbus: nickm | 2007-10-09 16:44:36 -0400••• Fix the bug that was making moria1 set valid-after wrong in its votes: we were looking at the preferred timing when we should have been looking at the consensus timing. svn:r11818 Nick Mathewson2007-10-09
* 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
* 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
* bugfix on r11110:•••Fix a bug that made servers send a "404 Not found" in response to attempts to fetch their server descriptor. This caused Tor servers to take many minutes to establish reachability for their DirPort, and it totally crippled bridges. Bugfix on 0.2.0.5-alpha. svn:r11545 Roger Dingledine2007-09-20
* it works better when it compiles•••svn:r11531 Roger Dingledine2007-09-20
* Resume listing "AUTHORITY" flag for authorities in network status.•••Bugfix on 0.2.0.3-alpha; reported by Alex de Joode. svn:r11530 Roger Dingledine2007-09-20
* trivial doxygen thing•••svn:r11463 Roger Dingledine2007-09-17
* r14448@Kushana: nickm | 2007-09-17 14:26:56 -0400••• Unify all of the divergent median/nth-percentile code in container.[ch] svn:r11457 Nick Mathewson2007-09-17
* r14185@Kushana: nickm | 2007-08-22 11:07:01 -0400••• Add some voting-related documentation. svn:r11255 Nick Mathewson2007-08-22
* r14758@catbus: nickm | 2007-08-21 01:36:03 -0400••• Finish implementing and documenting proposal 108: Authorities now use MTBF data to set their stability flags, once they have at least 4 days of data to use. svn:r11240 Nick Mathewson2007-08-21
* help nick work on proposal 108•••svn:r11148 Roger Dingledine2007-08-17
* 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
* r14020@Kushana: nickm | 2007-08-14 16:07:37 -0400••• return 404 properly when somebody requests a bunch of nonexistent statuses/servers svn:r11110 Nick Mathewson2007-08-14
* r14546@catbus: nickm | 2007-08-13 17:19:01 -0400••• Make if-modified-since work on consensuses svn:r11095 Nick Mathewson2007-08-13
* r13985@Kushana: nickm | 2007-08-13 16:05:07 -0400••• Fix some simple logic errors in voting. svn:r11089 Nick Mathewson2007-08-13
* r14536@catbus: nickm | 2007-08-13 15:54:17 -0400••• Make voting actually function. svn:r11088 Nick Mathewson2007-08-13
* dirserv.c:782: warning: `set_v1_dirty' might be used uninitialized in this fu...•••svn:r11068 Roger Dingledine2007-08-10
* r13989@catbus: nickm | 2007-07-29 19:11:07 -0400••• More directory voting code. Now, if everything works, and I haven't forgotten anything, it is possible to set up some v3 authorities and start voting. Of course, I have probably forgotten something, and there are probably bugs in there somewhere too. svn:r10976 Nick Mathewson2007-07-29
* r13986@catbus: nickm | 2007-07-29 09:15:03 -0400••• Answer comment from Roger. svn:r10971 Nick Mathewson2007-07-29
* patches on r10968: compare advertised capacity, not bandwidthrate;•••and make the sorting order deterministic to avoid flapping. also note that we could take the "is_auth" checks out of the sorting entirely. svn:r10970 Roger Dingledine2007-07-29
* r13982@catbus: nickm | 2007-07-29 01:31:53 -0400••• Actually, we missed a rule about what routers to prefer: first prefer authority to non-authority, *then* running, *then* bandwidth. svn:r10969 Nick Mathewson2007-07-29
* r13979@catbus: nickm | 2007-07-29 01:20:20 -0400••• Implement proposal 109: As an authority, never call more than 3 servers per IP Running and Valid. Prefer Running servers to non-running ones; then prefer high-bandwidth to low-bandwidth. Needs testing. svn:r10968 Nick Mathewson2007-07-29
* r13951@catbus: nickm | 2007-07-27 18:39:28 -0400••• Make it so we can actually compile with FULL_V1_DIRECTORIES disabled. svn:r10952 Nick Mathewson2007-07-27
* r13902@catbus: nickm | 2007-07-25 17:43:52 -0400••• Some dirvote code to handle generating votes and slinging them around. More code is still needed. svn:r10927 Nick Mathewson2007-07-25
* r13901@catbus: nickm | 2007-07-25 16:23:51 -0400••• Make all code to generate v1 directories into conditional code. svn:r10926 Nick Mathewson2007-07-25
* Directory authorities now call routers Fast if their bandwidth is•••at least 100KB/s, and consider their bandwidth adequate to be a Guard if it is at least 250KB/s. This fix complements proposal 107. [Bugfix on 0.1.2.x] svn:r10897 Roger Dingledine2007-07-21
* r13821@catbus: nickm | 2007-07-18 16:29:17 -0400••• Initial code to manipulate vote timing correctly. svn:r10873 Nick Mathewson2007-07-18
* Change routerlist_remove to not take an index argument we do not need anyway.•••Now the only remaining caller of _routerlist_find_elt is an assert() svn:r10869 Peter Palfrader2007-07-18
* r13801@catbus: nickm | 2007-07-17 13:49:12 -0400••• More tweaks to dir-spec.txt; not complete, but closing in. svn:r10856 Nick Mathewson2007-07-17
* r13438@catbus: nickm | 2007-06-15 15:01:42 -0400••• document some functions svn:r10637 Nick Mathewson2007-06-17
* extra points for making the function name reflect what it does•••svn:r10608 Roger Dingledine2007-06-15
* Directories no longer return a "304 not modified" when they don't•••have the networkstatus the client asked for. Also fix a memory leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha] svn:r10607 Roger Dingledine2007-06-15
* point out a bug in our If-Modified-Since handling in 0.2.0.2-alpha.•••svn:r10605 Roger Dingledine2007-06-15
* r13395@catbus: nickm | 2007-06-13 15:01:23 -0400••• Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents. svn:r10589 Nick Mathewson2007-06-13
* r13393@catbus: nickm | 2007-06-13 14:29:14 -0400••• More vote unit tests: check that we are parsing routerstatuses correctly. svn:r10588 Nick Mathewson2007-06-13
* r13387@catbus: nickm | 2007-06-13 14:15:49 -0400••• Unit tests and debugging for vote generation and parsing code. svn:r10587 Nick Mathewson2007-06-13
* r13338@catbus: nickm | 2007-06-10 15:13:32 -0400••• Fix bug in 10533: put "opt v" line at the end of a routerstatus section; overwriting is bad. svn:r10549 Nick Mathewson2007-06-10
* Be clearer on the various roles for auth dir types.•••Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545 Roger Dingledine2007-06-09
* don't complain when approved-routers isn't there and we•••don't need it. svn:r10544 Roger Dingledine2007-06-09
* r13325@catbus: nickm | 2007-06-08 15:02:37 -0400••• Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error. svn:r10540 Nick Mathewson2007-06-08