Age | Commit message (Collapse) | Author |
|
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
|
|
svn:r11531
|
|
Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
svn:r11530
|
|
svn:r11463
|
|
Unify all of the divergent median/nth-percentile code in container.[ch]
svn:r11457
|
|
Add some voting-related documentation.
svn:r11255
|
|
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
|
|
svn:r11148
|
|
Add unit tests for median functions; enforce sensible ranges for intervals and delays.
svn:r11121
|
|
return 404 properly when somebody requests a bunch of nonexistent statuses/servers
svn:r11110
|
|
Make if-modified-since work on consensuses
svn:r11095
|
|
Fix some simple logic errors in voting.
svn:r11089
|
|
Make voting actually function.
svn:r11088
|
|
function
svn:r11068
|
|
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
|
|
Answer comment from Roger.
svn:r10971
|
|
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
|
|
Actually, we missed a rule about what routers to prefer: first prefer authority to non-authority, *then* running, *then* bandwidth.
svn:r10969
|
|
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
|
|
Make it so we can actually compile with FULL_V1_DIRECTORIES disabled.
svn:r10952
|
|
Some dirvote code to handle generating votes and slinging them around. More code is still needed.
svn:r10927
|
|
Make all code to generate v1 directories into conditional code.
svn:r10926
|
|
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
|
|
Initial code to manipulate vote timing correctly.
svn:r10873
|
|
Now the only remaining caller of _routerlist_find_elt is an assert()
svn:r10869
|
|
More tweaks to dir-spec.txt; not complete, but closing in.
svn:r10856
|
|
document some functions
svn:r10637
|
|
svn:r10608
|
|
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
|
|
svn:r10605
|
|
Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents.
svn:r10589
|
|
More vote unit tests: check that we are parsing routerstatuses correctly.
svn:r10588
|
|
Unit tests and debugging for vote generation and parsing code.
svn:r10587
|
|
Fix bug in 10533: put "opt v" line at the end of a routerstatus section; overwriting is bad.
svn:r10549
|
|
Bridge authorities no longer write bridge descriptors to their
cached-routers file -- this gets complex because of extrainfo documents.
svn:r10545
|
|
don't need it.
svn:r10544
|
|
Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error.
svn:r10540
|
|
Make versions get added to networkstatuses correctly again.
svn:r10535
|
|
Refactor v3 vote generation code into "build a networkstatus_vote_t" and "format a networkstatus_vote_t". This should make testing possible.
svn:r10533
|
|
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
|
|
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
|
|
Remove an obsoleted function
svn:r10460
|
|
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents.
svn:r10451
|
|
Cleanup whitespace.
svn:r10425
|
|
More code for voting and vote parsing (checkpointing)
svn:r10423
|
|
Make "authdir_newdesc rejected" work again.
svn:r10421
|
|
Oops. Authorities should recommend nodes as exits.
svn:r10403
|
|
fix for bug 439: make _sure_ *msg is set when we leave dirserv_add_multiple_descriptors().
svn:r10396
|
|
Resolve all but 3 DOCDOCs.
svn:r10393
|
|
More messing around to try to address possible root causes of bug 436.
svn:r10388
|