Commit Graph

54 Commits

Author SHA1 Message Date
Nick Mathewson
9ea9d7c7ae Adjust cbtlearntimeout default to match the code 2018-02-14 10:06:47 -05:00
Mike Perry
b9700afd49 Document new consensus params for bug24769. 2018-02-14 10:04:46 -05:00
Nick Mathewson
b729833bef Explain more about primary guards and about building circuits
In path-spec: explain our rules (post-21242) for waiting to build
circuits.

In guard-spec:
  - explain what to do about missing descriptors
  - explain parallel use of multiple primary guards, based on parameters.
2017-02-01 08:54:07 -05:00
Nick Mathewson
6fddd69ec0 Start a new guard-spec.txt as a copy of prop271.
Remove the old guard section of path-spec, now that guard-spec is
separate.
2017-01-31 12:47:59 -05:00
Isis Lovecruft
38d9df22ac
Document our current guard selection algorithm in path-spec.txt.
* ADDS new section, "§5.1. Guard selection algorithm", to path-spec.txt.
 * FIXES #17261: https://bugs.torproject.org/17261
2015-10-23 16:33:05 +00:00
Damian Johnson
ed1a0dbfbb Standardizing on the name 'server descriptor'
We use a few names for the main self-published descriptor documents...

  https://trac.torproject.org/projects/tor/ticket/14987

Standardizing on the name 'server descriptor'. This change was made with a
few quick runs of sed...

% find ./* -type f -exec sed -i 's/router descriptor/server descriptor/' "{}" +;
% find ./* -type f -exec sed -i 's/Router descriptor/Server descriptor/' "{}" +;
% find ./* -type f -exec sed -i 's/Router Descriptor/Server Descriptor/' "{}" +;

... then reverting the attic changes, and scanning the rest to be sure it
doesn't include any functional impact.
2015-02-24 20:12:39 -08:00
Nick Mathewson
9098fab087 Actually, this patch is going into 0.2.6.2-alpha, not 0.2.6.1-alpha 2014-12-30 09:56:14 -05:00
teor
96f068af44 If the consensus doesn't contain exits, don't build exit paths
If the consensus doesn't contain exits, we only build internal paths.
This is enough to allow reachability tests (which can enable exits to
bootstrap), and hidden services.

If we subsequently receive a consensus with exits, start building exit paths.

Update dir-spec and path-spec to document this.
Update control-spec to document changes in controller bootstrap messages.

Based on changes made in tor to resolve bug #13814.
2014-12-20 11:29:47 +11:00
George Kadianakis
b5b771b19d Set default value for bw weights if absent from consensus. 2014-11-26 09:03:50 -05:00
Nick Mathewson
920edeeef6 Define 'family' better in path-spec
Inspired by tor-talk thread "Family path selection"
2013-04-18 00:32:11 -04:00
Nick Mathewson
1e8be32123 Merge remote-tracking branch 'mikeperry/bug5178' 2013-04-11 01:34:28 -04:00
Mike Perry
5d42cd782a Describe path bias consensus parameters and clarify some wording. 2013-03-27 17:05:40 -07:00
Mike Perry
cf98616491 Improve CBT network liveness section to match code.
We simplified this code a while back and forgot to update the spec.
2013-03-26 19:40:08 -07:00
Mike Perry
5d5742d68e Initial draft of path bias spec updates.
Still needs parameter description.
2013-03-25 21:45:41 -07:00
Sebastian Hahn
57efa12578 Trivial whitespace cleanup 2011-11-26 04:09:21 +01:00
Robert Ransom
051ed9a172 Fix minor issues 2011-05-09 19:32:55 -07:00
Nick Mathewson
56a66372d4 In specs, do not say "server" when we mean "relay" or "node"
Fixes bug 2936.
2011-05-09 10:37:02 -04:00
Sebastian Hahn
e87c3c6a98 Fix a typo spotted by Roger 2011-01-15 19:42:17 +01:00
Sebastian Hahn
038f759779 Sanity-check consensus param values
We need to make sure that the worst thing that a weird consensus param
can do to us is to break our Tor (and only if the other Tors are
reliably broken in the same way) so that the majority of directory
authorities can't pull any attacks that are worse than the DoS that
they can trigger by simply shutting down.

One of these worse things was the cbtnummodes parameter, which could
lead to heap corruption on some systems if the value was sufficiently
large.

This commit fixes this particular issue and also introduces sanity
checking for all consensus parameters.
2011-01-15 19:42:17 +01:00
Nick Mathewson
c87cb3f6d8 Merge remote branch 'mikeperry/cbt-bugfixes3' 2010-06-29 18:57:50 -04:00
Nick Mathewson
7dee71ff31 Make spec docs reference RFC2119
Now people will have no excuse for not knowing what "MUST" and "MAY"
mean.  Fixes bug 1310.
2010-06-25 14:58:25 -04:00
Mike Perry
e77a833b3b Update spec with new right-censored pareto estimators. 2010-06-09 00:22:39 -07:00
Mike Perry
14d8e2a8a0 Bug 1296: Add option+logic to disable CBT learning.
There are now four ways that CBT can be disabled:

1. Network-wide, with the cbtdisabled consensus param.
2. Via config, with "LearnCircuitBuildTimeout 0"
3. Via config, with "AuthoritativeDirectory 1"
4. Via a state file write failure.
2010-05-10 13:11:48 -07:00
Mike Perry
2ad5819a73 Update path-spec.txt with contents of proposal 151. 2010-05-10 12:59:05 -07:00
Mike Perry
41ff0089b4 Update specs for weight computation and use. 2010-02-22 16:52:11 -08:00
Nick Mathewson
1e72c9c8b6 path-spec: Clarify what we mean by "a server's bandwidth."
This just got a little complicated, since old clients use "clipped
advertised bandwith" and new clients now use "consensus bandwidth" but
fall back to "clipped advertised bandwidth".
2009-06-22 14:23:39 -04:00
Sebastian Hahn
6bd09d5076 Remove all svn metadata minus what I missed.
Tor doesn't use SVN anymore, making $Revision$, $Id$ and $Date$
meaningless. Remove them without replacement.
2009-05-05 17:05:46 +02:00
Roger Dingledine
1427208658 some minor changes i found in my sandbox
svn:r17215
2008-11-08 06:32:46 +00:00
Roger Dingledine
90b6a9e6a1 fix typo in path-spec, spotted by keb
svn:r14384
2008-04-16 16:25:10 +00:00
Roger Dingledine
1f321b2992 explain a bit about router descriptor purposes
svn:r13154
2008-01-17 05:47:44 +00:00
Roger Dingledine
b10b242d96 patch from mike perry to a) stop overloading guards as much, and
b) raise the max-believable-bandwidth to 10MB/s.


svn:r11258
2007-08-24 06:30:34 +00:00
Nick Mathewson
aa37ab00dc 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
Roger Dingledine
18e35dbf11 clean up a few confusions brian levine pointed out
svn:r10415
2007-05-31 03:47:41 +00:00
Nick Mathewson
841b9176d6 r11994@catbus: nickm | 2007-02-28 13:08:52 -0500
Re-number misnumbered spec sections.  No more having to refer to "the first of two section 6.1s."


svn:r9683
2007-02-28 18:08:58 +00:00
Roger Dingledine
77d040439b start to rewrite path spec. still needs more work.
svn:r9566
2007-02-12 09:06:25 +00:00
Nick Mathewson
4309505f33 r11700@catbus: nickm | 2007-02-08 02:03:50 -0500
Fix several bugs in computing recommended versions. 1) refactor is-this-version-good handling and which-vesions-are-good handling to be in the same place. 2) a version is recommended if more than half of the versioning authorities like it, not >= half.  3) "NEW_IN_SERIES" should mean, "I don't know of an 0.1.1.x this recent, and there are some 0.1.2.x versions out", not "I don't know of an 0.1.1.x this recent, but I know some older ones."  This should resolve bug 383.


svn:r9523
2007-02-08 07:24:06 +00:00
Roger Dingledine
e44bef9f31 cleanups based on looking through svn commits
svn:r9491
2007-02-06 00:27:03 +00:00
Nick Mathewson
9373585797 r11606@catbus: nickm | 2007-01-30 16:52:23 -0500
Write the entry guards section of path-spec; note a possible bug in cirbuitbuild.c; add a const; defer work on torrc.complete to be part of a bigger config documentation reorg.


svn:r9465
2007-01-30 22:19:31 +00:00
Roger Dingledine
f89ed001a0 minor cleanups
svn:r9387
2007-01-22 19:20:33 +00:00
Nick Mathewson
7f30f36bdf r9091@totoro: nickm | 2006-10-19 11:45:28 -0400
Change to BadExit logic: Let authorities set an "I list bad exits" flag.  Consider an exit bad if it is listed as bad by more than half of *those* authorities.  This gives us a better migration path.


svn:r8756
2006-10-19 15:45:48 +00:00
Nick Mathewson
bb825879af r9004@totoro: nickm | 2006-10-11 18:05:24 -0400
Add client support for a 'BadExit' flag, so authorities can say "Server X is a poor choise for your nytimes.com connections, as it seems to direct them to HoorayForMao.com or (more likely) WouldYouLikeToBuyTheseFineEncyclopedias.com"
 


svn:r8690
2006-10-11 22:06:01 +00:00
Roger Dingledine
0739e41e73 more minor cleanups
svn:r8630
2006-10-07 06:28:50 +00:00
Nick Mathewson
992a3b271b r8826@totoro: nickm | 2006-10-01 17:58:45 -0400
Disprefer exit nodes for entry, middle positions (fixes bug 200).  Also, switch to using a uint64_t to hold "total bandwidth for all nodes" under consideration; crypt_rand_int would have died at 2GB/s network capacity.


svn:r8571
2006-10-01 21:59:09 +00:00
Nick Mathewson
5353ddd05e r8824@totoro: nickm | 2006-10-01 17:35:55 -0400
note valid flag in path spec.


svn:r8569
2006-10-01 21:59:00 +00:00
Roger Dingledine
d31a98fa21 try to explain when we cannibalize circuits.
svn:r8557
2006-10-01 00:22:20 +00:00
Roger Dingledine
28fadef1c9 document predicted ports better.
svn:r8556
2006-10-01 00:00:23 +00:00
Nick Mathewson
708f543d76 r8775@totoro: nickm | 2006-09-29 00:29:02 -0400
Note that EnforceDistinctSubnets can override subnet rule for path generation.


svn:r8528
2006-09-29 04:51:23 +00:00
Roger Dingledine
dc2329ca10 begin to revise path-spec
svn:r8511
2006-09-28 15:03:01 +00:00
Nick Mathewson
b66f4ddd4c r8912@Kushana: nickm | 2006-09-22 16:18:51 -0400
Write more of path-spec.txt


svn:r8463
2006-09-22 20:19:34 +00:00
Nick Mathewson
ac48f72c82 Add a few more paragraphs to path-spec.txt
svn:r6793
2006-07-20 16:48:02 +00:00