summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
AgeCommit message (Collapse)Author
2007-09-20bugfix on r11110:Roger Dingledine
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
2007-09-20it works better when it compilesRoger Dingledine
svn:r11531
2007-09-20Resume listing "AUTHORITY" flag for authorities in network status.Roger Dingledine
Bugfix on 0.2.0.3-alpha; reported by Alex de Joode. svn:r11530
2007-09-17trivial doxygen thingRoger Dingledine
svn:r11463
2007-09-17 r14448@Kushana: nickm | 2007-09-17 14:26:56 -0400Nick Mathewson
Unify all of the divergent median/nth-percentile code in container.[ch] svn:r11457
2007-08-22 r14185@Kushana: nickm | 2007-08-22 11:07:01 -0400Nick Mathewson
Add some voting-related documentation. svn:r11255
2007-08-21 r14758@catbus: nickm | 2007-08-21 01:36:03 -0400Nick Mathewson
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
2007-08-17help nick work on proposal 108Roger Dingledine
svn:r11148
2007-08-15 r14032@Kushana: nickm | 2007-08-15 11:35:16 -0400Nick Mathewson
Add unit tests for median functions; enforce sensible ranges for intervals and delays. svn:r11121
2007-08-14 r14020@Kushana: nickm | 2007-08-14 16:07:37 -0400Nick Mathewson
return 404 properly when somebody requests a bunch of nonexistent statuses/servers svn:r11110
2007-08-13 r14546@catbus: nickm | 2007-08-13 17:19:01 -0400Nick Mathewson
Make if-modified-since work on consensuses svn:r11095
2007-08-13 r13985@Kushana: nickm | 2007-08-13 16:05:07 -0400Nick Mathewson
Fix some simple logic errors in voting. svn:r11089
2007-08-13 r14536@catbus: nickm | 2007-08-13 15:54:17 -0400Nick Mathewson
Make voting actually function. svn:r11088
2007-08-10dirserv.c:782: warning: `set_v1_dirty' might be used uninitialized in this ↵Roger Dingledine
function svn:r11068
2007-07-29 r13989@catbus: nickm | 2007-07-29 19:11:07 -0400Nick Mathewson
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
2007-07-29 r13986@catbus: nickm | 2007-07-29 09:15:03 -0400Nick Mathewson
Answer comment from Roger. svn:r10971
2007-07-29patches on r10968: compare advertised capacity, not bandwidthrate;Roger Dingledine
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
2007-07-29 r13982@catbus: nickm | 2007-07-29 01:31:53 -0400Nick Mathewson
Actually, we missed a rule about what routers to prefer: first prefer authority to non-authority, *then* running, *then* bandwidth. svn:r10969
2007-07-29 r13979@catbus: nickm | 2007-07-29 01:20:20 -0400Nick Mathewson
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
2007-07-27 r13951@catbus: nickm | 2007-07-27 18:39:28 -0400Nick Mathewson
Make it so we can actually compile with FULL_V1_DIRECTORIES disabled. svn:r10952
2007-07-25 r13902@catbus: nickm | 2007-07-25 17:43:52 -0400Nick Mathewson
Some dirvote code to handle generating votes and slinging them around. More code is still needed. svn:r10927
2007-07-25 r13901@catbus: nickm | 2007-07-25 16:23:51 -0400Nick Mathewson
Make all code to generate v1 directories into conditional code. svn:r10926
2007-07-21Directory authorities now call routers Fast if their bandwidth isRoger Dingledine
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
2007-07-18 r13821@catbus: nickm | 2007-07-18 16:29:17 -0400Nick Mathewson
Initial code to manipulate vote timing correctly. svn:r10873
2007-07-18Change routerlist_remove to not take an index argument we do not need anyway.Peter Palfrader
Now the only remaining caller of _routerlist_find_elt is an assert() svn:r10869
2007-07-17 r13801@catbus: nickm | 2007-07-17 13:49:12 -0400Nick Mathewson
More tweaks to dir-spec.txt; not complete, but closing in. svn:r10856
2007-06-17 r13438@catbus: nickm | 2007-06-15 15:01:42 -0400Nick Mathewson
document some functions svn:r10637
2007-06-15extra points for making the function name reflect what it doesRoger Dingledine
svn:r10608
2007-06-15Directories no longer return a "304 not modified" when they don'tRoger Dingledine
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
2007-06-15point out a bug in our If-Modified-Since handling in 0.2.0.2-alpha.Roger Dingledine
svn:r10605
2007-06-13 r13395@catbus: nickm | 2007-06-13 15:01:23 -0400Nick Mathewson
Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents. svn:r10589
2007-06-13 r13393@catbus: nickm | 2007-06-13 14:29:14 -0400Nick Mathewson
More vote unit tests: check that we are parsing routerstatuses correctly. svn:r10588
2007-06-13 r13387@catbus: nickm | 2007-06-13 14:15:49 -0400Nick Mathewson
Unit tests and debugging for vote generation and parsing code. svn:r10587
2007-06-10 r13338@catbus: nickm | 2007-06-10 15:13:32 -0400Nick Mathewson
Fix bug in 10533: put "opt v" line at the end of a routerstatus section; overwriting is bad. svn:r10549
2007-06-09Be clearer on the various roles for auth dir types.Roger Dingledine
Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545
2007-06-09don't complain when approved-routers isn't there and weRoger Dingledine
don't need it. svn:r10544
2007-06-08 r13325@catbus: nickm | 2007-06-08 15:02:37 -0400Nick Mathewson
Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error. svn:r10540
2007-06-08 r13315@catbus: nickm | 2007-06-08 14:33:24 -0400Nick Mathewson
Make versions get added to networkstatuses correctly again. svn:r10535
2007-06-08 r13313@catbus: nickm | 2007-06-08 14:23:11 -0400Nick Mathewson
Refactor v3 vote generation code into "build a networkstatus_vote_t" and "format a networkstatus_vote_t". This should make testing possible. svn:r10533
2007-06-04 r13250@catbus: nickm | 2007-06-04 18:28:55 -0400Nick Mathewson
Adapt code to parse v3 networkstatus votes so it can also parse a consensus. Make networkstatus_vote_t the catch-all type for votes and conensuses. Correct/clarify the second argument to directory-signature. svn:r10491
2007-06-04 r13243@catbus: nickm | 2007-06-04 15:17:15 -0400Nick Mathewson
Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack. svn:r10489
2007-06-03 r13165@catbus: nickm | 2007-06-02 22:55:22 -0400Nick Mathewson
Remove an obsoleted function svn:r10460
2007-06-02 r13154@catbus: nickm | 2007-06-02 11:26:44 -0400Nick Mathewson
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents. svn:r10451
2007-05-31 r13111@catbus: nickm | 2007-05-31 15:03:41 -0400Nick Mathewson
Cleanup whitespace. svn:r10425
2007-05-31 r13109@catbus: nickm | 2007-05-31 14:59:30 -0400Nick Mathewson
More code for voting and vote parsing (checkpointing) svn:r10423
2007-05-31 r13102@catbus: nickm | 2007-05-31 13:56:25 -0400Nick Mathewson
Make "authdir_newdesc rejected" work again. svn:r10421
2007-05-29 r13079@catbus: nickm | 2007-05-29 17:05:38 -0400Nick Mathewson
Oops. Authorities should recommend nodes as exits. svn:r10403
2007-05-29 r13057@catbus: nickm | 2007-05-29 14:39:27 -0400Nick Mathewson
fix for bug 439: make _sure_ *msg is set when we leave dirserv_add_multiple_descriptors(). svn:r10396
2007-05-29 r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson
Resolve all but 3 DOCDOCs. svn:r10393
2007-05-29 r13041@catbus: nickm | 2007-05-29 10:40:05 -0400Nick Mathewson
More messing around to try to address possible root causes of bug 436. svn:r10388