Commit Graph

196 Commits

Author SHA1 Message Date
Roger Dingledine
500899cc53 backward compatibility with control protocol v0 no longer specified
to work


svn:r11040
2007-08-02 21:18:26 +00:00
Nick Mathewson
66bdb8cd12 r13920@Kushana: nickm | 2007-08-02 11:00:05 -0700
Document new authentication behavior in control-spec.txt


svn:r11039
2007-08-02 21:04:00 +00:00
Nick Mathewson
34a3a5e2f4 r14016@catbus: nickm | 2007-07-30 13:45:55 -0400
More documentation


svn:r10992
2007-07-30 17:46:14 +00:00
Roger Dingledine
ca7c53d3cc Be even more aggressive about separating local traffic from relayed
traffic when RelayBandwidthRate is set. (Refines proposal 111.)


svn:r10974
2007-07-29 22:13:44 +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
Nick Mathewson
afcc3a4785 r13977@catbus: nickm | 2007-07-29 00:09:52 -0400
Add compatibility note to control-spec.txt


svn:r10966
2007-07-29 04:10:05 +00:00
Nick Mathewson
964e4a305d r13972@catbus: nickm | 2007-07-29 00:01:38 -0400
Make our control events for multi-line async replies conform to our old grammar.  Change back to the old grammar (which got "corrected" in r10931).


svn:r10964
2007-07-29 04:03:25 +00:00
Nick Mathewson
76a408941c r13959@catbus: nickm | 2007-07-28 18:09:56 -0400
Use the correct formula to calculate exit weights.


svn:r10956
2007-07-28 22:14:39 +00:00
Nick Mathewson
5b82188333 r13906@catbus: nickm | 2007-07-25 18:49:50 -0400
Patch from tup: correct grammar for asynchonous reply lines in control-spec.txt


svn:r10931
2007-07-25 22:56:58 +00:00
Nick Mathewson
a8821e2d82 r13905@catbus: nickm | 2007-07-25 18:48:44 -0400
ADDRMAP events should never have specified local time.  Extend them to have the proper gmt time, and make GETINFO address-mappings always do the right thing (since it is new in this version).


svn:r10930
2007-07-25 22:56:54 +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
9bfe9cfb40 r13854@catbus: nickm | 2007-07-20 13:40:45 -0400
Patches to proposal 117 from coderman (from or-dev, 18 Jun)


svn:r10892
2007-07-20 17:40:49 +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
26a25edaec r13777@catbus: nickm | 2007-07-16 12:58:08 -0400
Patch from tup: new address-mappings/ GETINFO that includes expiry times.


svn:r10844
2007-07-16 16:58:11 +00:00
Roger Dingledine
8ad4b8a640 some cleanups on phrasing in proposal 114
svn:r10821
2007-07-12 18:06:13 +00:00
Roger Dingledine
6ade658732 admit that our rend spec was lying. sorry karsten!
svn:r10798
2007-07-12 15:27:52 +00:00
Nick Mathewson
4325fc5e83 r13674@catbus: nickm | 2007-07-10 13:27:30 -0400
Re-wrap proposal 117 so it fits in 80 columns.


svn:r10784
2007-07-10 17:27:33 +00:00
Nick Mathewson
81083cf0ce r13672@catbus: nickm | 2007-07-10 13:17:08 -0400
Add IPv6 exit proposal from coderman.


svn:r10783
2007-07-10 17:17:14 +00:00
Nick Mathewson
a8465adaa2 r13667@catbus: nickm | 2007-07-10 13:12:52 -0400
Patch from tup: add GETINFO status/enough-dir-info


svn:r10782
2007-07-10 17:14:55 +00:00
Nick Mathewson
74711479eb r13666@catbus: nickm | 2007-07-10 13:10:00 -0400
Get the RESOLVE controller code working.


svn:r10781
2007-07-10 17:14:51 +00:00
Karsten Loesing
ef246793d3 incorporated suggestions by Roger, added status of specification and implementation for upcoming GSoC mid-term evaluation
svn:r10773
2007-07-09 14:54:48 +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
Roger Dingledine
5c1daed3ad the non-controversial changes i found in my sandbox
svn:r10729
2007-07-02 22:07:53 +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
Karsten Loesing
c045c8909d set svn properties
svn:r10685
2007-06-26 21:57:09 +00:00
Nick Mathewson
be069d3cd1 r13524@catbus: nickm | 2007-06-26 17:48:39 -0400
Update 108 based on conversation with Roger.  I think this is the version to build.


svn:r10684
2007-06-26 21:48:42 +00:00
Nick Mathewson
986df49950 r13522@catbus: nickm | 2007-06-26 17:37:43 -0400
Add proposal 116 from Mike Lieberman: Two hop paths from entry guards.


svn:r10683
2007-06-26 21:40:19 +00:00
Nick Mathewson
d828915136 r13463@catbus: nickm | 2007-06-17 11:10:17 -0400
Add a SOURCE_ADDR field to STREAM NEW events so that controllers can match requests to applications. (Patch from Robert Hogan.)


svn:r10639
2007-06-17 15:10:51 +00:00
Nick Mathewson
f15df2d837 r13437@catbus: nickm | 2007-06-15 14:29:56 -0400
Incorporate comments [from april, ugh] into proposal 108.


svn:r10636
2007-06-17 15:10:40 +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
Karsten Loesing
547073bedc unified svn properties and keywords for proposals and address spec
svn:r10625
2007-06-16 23:23:19 +00:00
Karsten Loesing
702011b151 last attempt before reading the manual
svn:r10622
2007-06-16 22:37:23 +00:00
Karsten Loesing
0bd4364277 attempt to fix revision and date tags
svn:r10620
2007-06-16 22:25:47 +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
Mike Perry
bafff6362c Fix some typos, clarify some minor semantics, change phases to reflect
PathlenCoinWeight-style implementation (for fingerprinting resistance).



svn:r10508
2007-06-06 02:12:26 +00:00
Mike Perry
6ad4c8a376 Attempt to address points brought up in #tor flamewar. In particular, moved
"Who will enable this option?" section towards the top of the proposal, to
attempt to get everyone on the same page right away as far as assumptions
go.

Also, added section on "Consideration of risks for node operators" where
the additional risk of should-be-3-but-actually-2 hop users pose to node
operators is discussed. Upon consideration of this, determined that two hop
users should be made to rotate guards with some frequency on the order of
days (basically, long enough to help scan the network for active adversary
guards, and then move on).

Please re-flame if you feel these or other issues have not been adequately
addressed.



svn:r10498
2007-06-05 07:44:52 +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
Mike Perry
2b054774a5 Think a little harder about guard nodes. What if they could be made to be
reliable and not rotate as much for dialup, mobile, or transient network
users, and what if users were actually notified more visibly who their guards
were and came to trust the guard nodes they have? Some effects of this are
considered.



svn:r10470
2007-06-03 19:41:51 +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
Mike Perry
1f4e93ce56 Add Two Hop Paths proposal as 115. Mark 112 superseded by 115.
svn:r10435
2007-06-01 04:41:51 +00:00
Roger Dingledine
cf8153beff grammar fixes and terminology changes from starting
to read karsten's distributed-storage proposal


svn:r10430
2007-05-31 23:58:29 +00:00
Roger Dingledine
b4fbe0b7e3 clean up a few confusions brian levine pointed out
svn:r10415
2007-05-31 03:47:41 +00:00
Karsten Loesing
07ed34aadb proposal 114: changed descriptor format, key length discussion, typos
svn:r10413
2007-05-30 09:01:10 +00:00
Roger Dingledine
7ba1d9f3c8 add proposal 114-distributed-storage.txt
svn:r10374
2007-05-28 16:45:40 +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
cd23b65a07 Backport candidate: count it as a failure if we fetch a valid
network-status but we don't want to keep it. Otherwise we'll keep fetching
it and keep not wanting to keep it. Fixes part of bug 422.


svn:r10153
2007-05-10 05:12:20 +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
Nick Mathewson
f3d1121ff7 r12642@catbus: nickm | 2007-05-03 13:43:24 -0400
Document the nonpersistent controller-only options.


svn:r10107
2007-05-03 17:43:49 +00:00
Nick Mathewson
14fbc90a41 r12636@catbus: nickm | 2007-05-02 15:38:58 -0400
Fix dir-spec: there is not actually any such item as link-key. (Found by Benedikt.)


svn:r10095
2007-05-02 19:39:23 +00:00
Nick Mathewson
bbd4ef1cd1 r12605@catbus: nickm | 2007-04-30 21:10:48 -0400
Add an expiry date to key certificates.


svn:r10079
2007-05-01 01:10:50 +00:00
Nick Mathewson
c5c282d1e4 r12576@catbus: nickm | 2007-04-30 13:16:31 -0400
Changes to 103 based on or-dev mail from arma.


svn:r10065
2007-04-30 17:16:40 +00:00
Nick Mathewson
43385b9bc9 r12565@catbus: nickm | 2007-04-30 10:09:07 -0400
Misc cleanup and bulletproofing on r10056.


svn:r10058
2007-04-30 14:09:11 +00:00
Roger Dingledine
5ba4eaba1c Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
so we can exit from the middle of the circuit.


svn:r10056
2007-04-30 11:10:45 +00:00
Roger Dingledine
2711ac2f62 minor tweaks on proposals
svn:r10055
2007-04-30 11:10:03 +00:00
Roger Dingledine
2d56d883c2 minor cleanups
svn:r10050
2007-04-30 04:00:06 +00:00
Roger Dingledine
5bdb138d11 cleanups, and note a bug
svn:r10022
2007-04-25 06:05:46 +00:00
Roger Dingledine
c148dc7eb4 patch on 112-bring-back-pathlencoinweight.txt from mikeperry
svn:r10001
2007-04-22 03:59:55 +00:00
Nick Mathewson
c277b742f4 r12489@catbus: nickm | 2007-04-21 13:48:39 -0400
The ten thousandth Tor commit: add two new proposals (one from Mike Perry about randomized path length, and one from me about simplifyin authority operation) and expand and/or refine serveral older ones.  Most notable  there are changes to 103 that will allow us to make authorities more resistant to key compromise.


svn:r10000
2007-04-21 17:48:50 +00:00
Nick Mathewson
671b990f51 r12760@Kushana: nickm | 2007-04-20 11:23:21 -0400
Describe a simpler implementation for proposal 108, and note some limitations in the proposal.


svn:r9993
2007-04-20 17:17:13 +00:00
Nick Mathewson
97e1b68e43 r12412@catbus: nickm | 2007-04-16 15:11:29 -0400
Mark proposal 104 accepted


svn:r9974
2007-04-16 19:11:34 +00:00
Roger Dingledine
8e53ac4dff minor cleanups on proposal 104
svn:r9973
2007-04-16 19:09:35 +00:00
Nick Mathewson
108f1c255f r12386@catbus: nickm | 2007-04-15 23:55:34 -0400
Document multiplicity on some router elements better.


svn:r9964
2007-04-16 04:18:06 +00:00
Nick Mathewson
5b220f65c8 r12385@catbus: nickm | 2007-04-15 22:55:58 -0400
Initial code to parse extra-info documents as described in proposal 104.  This is making me realize that the parsing code in routerparse.c is a little daft.


svn:r9963
2007-04-16 04:17:58 +00:00
Nick Mathewson
81e3e90472 r12366@catbus: nickm | 2007-04-14 17:30:12 -0400
Clarify some points in proposal 104, mostly based on mail from arma on or-dev.


svn:r9955
2007-04-14 21:30:25 +00:00
Nick Mathewson
ae878699d7 r12365@catbus: nickm | 2007-04-14 16:43:09 -0400
Try to clarify window verbiage a little in tor-spec.


svn:r9954
2007-04-14 21:30:20 +00:00
Roger Dingledine
5282600662 cleanups on proposal 105
svn:r9893
2007-03-21 06:09:54 +00:00
Roger Dingledine
6753128bb9 clean up proposal 104 more
svn:r9892
2007-03-21 05:45:44 +00:00
Nick Mathewson
2ceac73fce r12259@catbus: nickm | 2007-03-21 00:12:02 -0400
Incorporate ideas from or-dev discussion.


svn:r9891
2007-03-21 04:12:08 +00:00
Nick Mathewson
09136b1d69 r12257@catbus: nickm | 2007-03-20 23:17:52 -0400
Add specification to proposal 104; settle on "extra info" approach rather than "long descriptor" approach.


svn:r9890
2007-03-21 03:20:01 +00:00
Nick Mathewson
c50cf094b1 r12212@catbus: nickm | 2007-03-17 17:05:54 -0400
Merge or-dev discussion into 109; mark 109 accepted.


svn:r9864
2007-03-17 21:10:08 +00:00
Roger Dingledine
75754b4d8e other minor fixes lurking in my sandbox
svn:r9854
2007-03-17 04:34:31 +00:00
Nick Mathewson
c901e2c927 r12188@catbus: nickm | 2007-03-15 12:27:23 -0400
Add proposal 111: Prioritizing local traffic over relayed traffic.


svn:r9830
2007-03-15 16:28:01 +00:00
Nick Mathewson
e50e6b4e3c r12182@catbus: nickm | 2007-03-15 10:58:12 -0400
Clarify section of dir-spec.txt that explains how "v" resolution happens.


svn:r9829
2007-03-15 16:27:57 +00:00
Roger Dingledine
2ad403129d clean up proposal 108
svn:r9824
2007-03-15 07:26:11 +00:00
Roger Dingledine
ad304a5cbb change my mind -- correct the spec to match the code's
behavior for getinfo addr-mappings/*. this is because
the code and spec have been mismatched since at least
0.1.1.x, so i would be surprised if nobody at all is
relying on the current behavior.

backport candidate.
backbackport candidate.


svn:r9823
2007-03-15 06:25:00 +00:00
Roger Dingledine
5740071674 the spec called it a GUARDS event, but the code called
it a GUARD event. standardize on GUARD, but support people
asking for GUARDS too. reported by daejees.

backport candidate.


svn:r9817
2007-03-14 23:50:41 +00:00
Roger Dingledine
17c055ce6e clarify a confusion weasel had
svn:r9816
2007-03-14 23:06:19 +00:00
Roger Dingledine
f0b131f1c0 put some dates on the proposals, and add an acknowledgments section
to proposal 110. the proposals that were around before the proposals
scheme got started still don't have dates.


svn:r9815
2007-03-14 04:48:13 +00:00
Nick Mathewson
ded02139f0 r12165@catbus: nickm | 2007-03-13 23:43:14 -0400
Add "Avoid infinite length circuits" as proposal 110.


svn:r9814
2007-03-14 03:43:35 +00:00
Roger Dingledine
b4bcd12709 clarify roger's alternatives on proposal 109
svn:r9810
2007-03-13 02:37:43 +00:00
Roger Dingledine
bf3b3a44f3 Stop allowing hibernating servers to be "stable" or "fast".
This is what I meant to do in r9690 but didn't actually do.


svn:r9808
2007-03-13 01:59:09 +00:00
Nick Mathewson
a70be61dd5 r12154@catbus: nickm | 2007-03-11 23:20:58 -0400
Add "sybil-checking.txt" as "109-no-sharing-ips.txt"


svn:r9805
2007-03-12 13:04:20 +00:00
Roger Dingledine
4abf2163fc cleanups on proposal 105. saving my substantive comments
for or-dev.


svn:r9802
2007-03-11 22:44:34 +00:00
Nick Mathewson
85402283ab r12528@Kushana: nickm | 2007-03-11 00:19:05 -0500
Oops; rename file for proposal 108.


svn:r9796
2007-03-11 05:20:24 +00:00
Roger Dingledine
146b1e919f a few tweaks, plus actually close 107
svn:r9794
2007-03-10 08:13:34 +00:00
Nick Mathewson
abd1ca188e r12522@Kushana: nickm | 2007-03-10 02:38:33 -0500
Mark 107 closed (since it was implemented and merged into the spec). Put MTBF proposal in 108.


svn:r9793
2007-03-10 07:39:23 +00:00
Nick Mathewson
4a2ed13370 r12521@Kushana: nickm | 2007-03-10 01:15:58 -0500
Update and close proposal 107.


svn:r9792
2007-03-10 07:39:20 +00:00
Nick Mathewson
887b87614d r12520@Kushana: nickm | 2007-03-10 00:57:59 -0500
add initial uptime-sanity-checking proposal by Kevin Buaer and Damon McCoy.


svn:r9791
2007-03-10 07:39:17 +00:00
Roger Dingledine
a247792169 Directory authorities now call routers stable if they have an
uptime of at least 30 days, even if that's not the median uptime
in the network. Implements proposal 1xx, suggested by Kevin Bauer
and Damon McCoy.


svn:r9788
2007-03-10 05:43:35 +00:00