Commit Graph

57 Commits

Author SHA1 Message Date
Roger Dingledine
2cdaa93d96 change the specs to match the code
svn:r12799
2007-12-13 05:47:08 +00:00
Roger Dingledine
ee6ae92670 New config options AuthDirBadDir and AuthDirListBadDirs for
authorities to mark certain relays as "bad directories" in the
networkstatus documents. Also supports the "!baddir" directive in
the approved-routers file.


svn:r12754
2007-12-10 16:49:54 +00:00
Roger Dingledine
e9b999ff22 and one last fix
svn:r12610
2007-11-29 16:16:50 +00:00
Roger Dingledine
996b8719e5 fix some typos (i think) in the dir spec. also, note that you'd
better *not* publish a cosmetically similar descriptor within 12
hours of the last one.


svn:r12605
2007-11-29 13:19:11 +00:00
Roger Dingledine
b258d3ec5a is this a good idea, karsten/nick?
svn:r12604
2007-11-29 13:05:52 +00:00
Roger Dingledine
ff981c8805 doc fixes from karsten
svn:r12603
2007-11-29 12:51:50 +00:00
Nick Mathewson
e0b9c893bc r16573@catbus: nickm | 2007-11-08 11:57:16 -0500
Mess with the formula for the Guard flag again.  Now it requires that you be in the most familiar 7/8 of nodes, and have above median wfu for that 7/8th.  See spec for details.  Also, log thresholds better.


svn:r12440
2007-11-08 16:58:59 +00:00
Nick Mathewson
8fa7071121 r16195@catbus: nickm | 2007-10-26 18:48:52 -0400
base "Guard" flag on WFU rather than MTBF.  Note an issue in the TODO. Roger: thoughts?


svn:r12219
2007-10-26 22:50:42 +00:00
Roger Dingledine
ea4c3d6d1d finish cleaning up r12175
svn:r12179
2007-10-25 04:17:59 +00:00
Roger Dingledine
ae7ef3fc6a ispell dir-spec; inspired by r12175.
svn:r12178
2007-10-25 04:01:08 +00:00
Nick Mathewson
766c41c820 r16134@catbus: nickm | 2007-10-24 23:34:59 -0400
Merge 122 into dir-spec.txt; mark it closed.


svn:r12175
2007-10-25 03:41:25 +00:00
Nick Mathewson
eba143611b r16053@catbus: nickm | 2007-10-22 20:20:23 -0400
Note that consensus-method is not a means for making backward-incompatible format changes.  Because any point that confuses Roger will *definitely* confuse many non-Roger readers of dir-spec.txt ;)


svn:r12112
2007-10-23 00:23:32 +00:00
Nick Mathewson
5f8f498207 r15968@catbus: nickm | 2007-10-19 14:39:51 -0400
Implement code to compute which method to use to compute a consensus. Also, fix leak in consensus calculation.


svn:r12054
2007-10-19 18:56:30 +00:00
Nick Mathewson
106e01db3d 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
2007-10-19 16:28:10 +00:00
Peter Palfrader
fb295ba4dd typo
svn:r12044
2007-10-19 02:31:43 +00:00
Nick Mathewson
90de3ca9ae r15938@catbus: nickm | 2007-10-18 22:04:59 -0400
Misc clarifications and corrections in dir-spec.txt


svn:r12040
2007-10-19 02:15:43 +00:00
Nick Mathewson
6670122619 r14885@Kushana: nickm | 2007-10-11 10:36:16 -0400
Document minimal values for voting times.  Use a macro instead of a magic number.  Remove an "enforce this" xxxx020 that was already enforced.


svn:r11868
2007-10-11 16:06:42 +00:00
Nick Mathewson
c03d0f9e83 r15603@catbus: nickm | 2007-10-09 17:02:27 -0400
Clarify "median".


svn:r11819
2007-10-09 21:02:32 +00:00
Nick Mathewson
f4f780b526 r15510@catbus: nickm | 2007-10-02 16:14:42 -0400
Add support for more vote URLs that weasel wanted.  Weasel: please test this before I inflict it on anybody else. :)


svn:r11749
2007-10-02 20:19:43 +00:00
Peter Palfrader
5ba6fd9e7b Add a "fingerprint" in a smart place
svn:r11670
2007-09-27 16:45:15 +00:00
Nick Mathewson
33b715f91b r15416@catbus: nickm | 2007-09-27 12:30:19 -0400
Fix a copy-paste error in dir-spec.txt


svn:r11667
2007-09-27 16:34:02 +00:00
Roger Dingledine
b29cf4cc05 a dir-spec typo (in two places) caught by steve
svn:r11557
2007-09-21 17:23:14 +00:00
Roger Dingledine
5985135ed6 two dir-spec cleanups from steve
svn:r11485
2007-09-18 16:05:39 +00:00
Nick Mathewson
cf2ac9b9e1 r14202@Kushana: nickm | 2007-08-24 09:55:30 -0400
Add purposes for new things we need to fetch for v3 directory system.


svn:r11268
2007-08-24 14:41:06 +00:00
Nick Mathewson
8cb6b2bc74 r14757@catbus: nickm | 2007-08-21 01:35:24 -0400
Merge a condensed proposal 108 (without too much implementation detail, since that's implementation detail, into dir-spec.txt.


svn:r11239
2007-08-21 05:37:21 +00:00
Nick Mathewson
484a580698 r14028@Kushana: nickm | 2007-08-14 17:07:51 -0400
Implement cert-retrieval URLs. (Also, update TODO)


svn:r11112
2007-08-14 21:09:30 +00:00
Nick Mathewson
9a30f8ba0e r14021@Kushana: nickm | 2007-08-14 16:16:58 -0400
Document http status codes


svn:r11111
2007-08-14 20:20:06 +00:00
Nick Mathewson
42fa1de585 r14017@Kushana: nickm | 2007-08-14 15:13:14 -0400
Enable more code for v3 voting timing information.  Also, spec clarification.


svn:r11107
2007-08-14 20:19:40 +00:00
Nick Mathewson
9031bbd4d8 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
2007-07-29 05:32:03 +00:00
Nick Mathewson
1b665b3c7e 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
2007-07-29 05:20:31 +00:00
Roger Dingledine
83f605f2e3 clarify that when we say 'above the median' we mean 'at least
the median'


svn:r10899
2007-07-22 00:50:28 +00:00
Roger Dingledine
56d3119581 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
2007-07-21 23:40:55 +00:00
Nick Mathewson
670db47e1b r13801@catbus: nickm | 2007-07-17 13:49:12 -0400
More tweaks to dir-spec.txt; not complete, but closing in.


svn:r10856
2007-07-17 17:49:16 +00:00
Nick Mathewson
92b0fc2e53 r13451@kushana: nickm | 2007-06-20 09:43:26 -0400
Fix typos and clarify points in dir-spec. Patch from Karsten.


svn:r10736
2007-07-05 14:49:57 +00:00
Nick Mathewson
b092f7f8d2 r13594@catbus: nickm | 2007-07-02 15:53:35 -0400
dir-spec.txt clarifications suggested by Lee Fisher.


svn:r10725
2007-07-02 19:53:57 +00:00
Nick Mathewson
5d68fc1075 r13419@catbus: nickm | 2007-06-14 14:05:17 -0400
Clarify some rules about 


svn:r10635
2007-06-17 15:10:27 +00:00
Roger Dingledine
af658b7828 More work towards making bridge users able to connect via bridges:
- demand options->Bridges and options->TunnelDirConns if 
    options->UseBridges is set.
  - after directory fetches, accept descriptors that aren't referenced by
    our networkstatuses, *if* they're for a configured bridge.
  - delay directory fetching until we have at least one bridge descriptor.
  - learn how to build a one-hop circuit when we have neither routerinfo
    nor routerstatus for our destination.
  - teach directory connections how to pick a bridge as the destination
    directory when doing non-anonymous fetches.
  - tolerate directory commands for which the dir_port is 0.
  - remember descriptors when the requested_resource was "authority", 
    rather than just ignoring them.
  - put bridges on our entry_guards list once we have a descriptor for them.
    When UseBridges is set, only pick entry guards that are bridges. Else
    vice versa.


svn:r10571
2007-06-12 09:17:23 +00:00
Nick Mathewson
81cb092004 r13366@catbus: nickm | 2007-06-11 20:38:38 -0400
Clarify what we mean by digest, for people who ignore "as signed" and who don't read section 1.3.


svn:r10568
2007-06-12 00:38:44 +00:00
Nick Mathewson
8b0e6a4466 r13250@catbus: nickm | 2007-06-04 18:28:55 -0400
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 22:29:00 +00:00
Nick Mathewson
bb6f53d60c r13243@catbus: nickm | 2007-06-04 15:17:15 -0400
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-04 19:19:01 +00:00
Nick Mathewson
f4ce7f9c9b r13166@catbus: nickm | 2007-06-02 23:02:40 -0400
First cut at code to parse and validate v3 networkstatus votes.


svn:r10461
2007-06-03 03:05:10 +00:00
Nick Mathewson
adf95e7f00 r12794@catbus: nickm | 2007-05-18 20:24:26 -0400
Make caches-extra-info lines parseable.


svn:r10215
2007-05-19 00:24:29 +00:00
Nick Mathewson
4b18c3ea76 r12983@Kushana: nickm | 2007-05-18 16:46:15 -0400
Note that we do not permit you to exit to port 0, no matter what.  Closes bug 409.


svn:r10211
2007-05-18 21:19:58 +00:00
Nick Mathewson
43d64df4fc r12979@Kushana: nickm | 2007-05-18 12:52:50 -0400
More work on merging stuff into dir-spec.txt


svn:r10207
2007-05-18 21:19:08 +00:00
Roger Dingledine
440b7f0c70 polish r9726-r9903
svn:r10182
2007-05-13 09:25:06 +00:00
Nick Mathewson
866313aafc r12726@catbus: nickm | 2007-05-11 06:41:47 -0400
Checkpoint some more dir-spec.txt edits.


svn:r10165
2007-05-11 10:41:59 +00:00
Roger Dingledine
5ea3f37db7 point to the dir-spec files more correctly
svn:r10126
2007-05-07 05:06:18 +00:00
Roger Dingledine
d9e7e45688 spec tweaks
svn:r10110
2007-05-04 07:22:11 +00:00
Nick Mathewson
2cb40def2d Fork current dir-spec.txt into dir-spec-v2.txt in order to record the state of the world as of 0.1.2.13. Start revising dir-spec.txt to incorporate proposals 101, 103, and 104.
svn:r10109
2007-05-03 21:38:47 +00:00
Nick Mathewson
fda7e4d8d9 r12643@catbus: nickm | 2007-05-03 13:43:47 -0400
Note that extensions to the directory protocol should begin their item keywords with "x-" or "X-".


svn:r10108
2007-05-03 17:43:54 +00:00