Commit Graph

532 Commits

Author SHA1 Message Date
Nick Mathewson
831639e080 Describe behavior on authority certs from the past or future. 2022-07-08 11:11:55 -04:00
Alexander Færøy
26a2dc7470 Merge remote-tracking branch 'nickm/prop275' 2022-03-24 17:15:57 +00:00
Georg Koppen
ca33a7ca1a
DNS timeouts are not causing overload anymore
Closes: #81.
2022-03-16 12:48:54 +00:00
David Goulet
617a98c9f5 dir-spec: Add missing versions for HSv3 lines
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-19 14:45:01 -05:00
David Goulet
ab4a8d4433 Merge branch 'tor-gitlab/mr/55' 2021-12-14 12:58:40 -05:00
Nick Mathewson
57d1e7d163 Clarify how we derive ed25519 for cross-certification.
The descriptor format uses a curve25519->ed25519 conversion
algorithm to cross-certify descriptors with their ntor onion keys.

This patch clarifies two aspects of the algorithm:

1. When deriving a private key, how to derive the part of the
   private key that _isn't_ a point on the curve.

2. That there are two algorithms here, one for private->private and
   one for public->public.
2021-12-08 11:25:09 -05:00
Nick Mathewson
73d3702a49 Fold prop 335-middle-only-redux.md into the specs.
Also, mark it closed.
2021-12-08 09:41:21 -05:00
Nick Mathewson
4718e37dc2 Mark proposal 275 as closed and fold it into dir-spec. 2021-11-09 13:54:44 -05:00
David Goulet
9ef4716930 dir-spec: Mishap, the overload lines are already in the spec
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-01 16:09:03 -04:00
David Goulet
2b0093c2c9 dir-spec: Merge prop328 into main specifications
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-01 14:44:43 -04:00
Roger Dingledine
52a5e71527 fix typos/etc in dir-spec 2021-10-22 16:27:19 -04:00
Oleh Franchuk
4d4feeab4d dir-spec: Add 'Table of contents' 2021-09-22 14:42:40 +03:00
Nick Mathewson
fe5b008aea Document supported range for bandwdith values in netstatus 2021-08-16 11:34:52 -04:00
George Kadianakis
a5c03d0716 fixup! Fold proposal 328 into dir-spec.txt 2021-04-20 12:10:42 +03:00
George Kadianakis
60a830e5cb Fold proposal 328 into dir-spec.txt 2021-04-19 18:10:20 +03:00
juga0
f74b5732b2 Rename extrainfo and extra info to extra-info
Closes #41
2021-04-07 14:39:54 +00:00
David Goulet
2169b637dd dir-spec: Add "stats" line to a vote
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-03-10 09:52:08 -05:00
George Kadianakis
c24bfd8b58 Document the "Sybil" relay flag. 2021-02-24 18:17:42 +02:00
George Kadianakis
6a8e5400bd Merge remote-tracking branch 'tor-gitlab/mr/24' 2021-01-13 15:38:52 +02:00
Nick Mathewson
839348cc65 dir-spec: Remove the notion of a "current" location in our ed diffs
Tor has never generated or implemented this diff command. Found
while working on arti.
2020-12-17 15:40:51 -05:00
Nick Mathewson
a28dc7176d Document consensus method 31 as a fix for bug #19011. 2020-12-09 13:52:22 -05:00
David Goulet
ae025d5397 Merge branch 'tor-gitlab/mr/15' into master 2020-11-17 10:50:27 -05:00
Roger Dingledine
bfaf4c27e7 fix typos; more robust links between specs 2020-11-16 15:33:35 -05:00
George Kadianakis
4dd38cadbb Merge remote-tracking branch 'tor-gitlab/mr/14' into master 2020-10-30 14:12:34 +02:00
Alexander Færøy
5a35630259 Merge remote-tracking branch 'gitlab/mr/13' 2020-10-28 15:57:42 +00:00
George Kadianakis
1337eb21c8 dir-spec.txt: Introduce extrainfo fields for v3 stats. 2020-10-27 11:04:00 +02:00
Nick Mathewson
1040c2d0fc Document newly required fields from prop315. 2020-10-16 16:21:04 -04:00
Nick Mathewson
cca9ee0d81 Lower the limit for allowed protocol versions.
This change merges proposal 318.
2020-10-14 13:16:26 -04:00
Nick Mathewson
9f763ae3a3 Describe our algorithm for waiting between directory retries
Closes torspec#25
2020-10-14 10:25:31 -04:00
Nick Mathewson
111839f176 Merge remote-tracking branch 'tor-gitlab/mr/6' 2020-10-13 14:54:14 -04:00
Nick Mathewson
13d2337917 Split out list of consensus parameters into a new file.
No editing yet; only movement.
2020-09-28 09:03:55 -04:00
Nick Mathewson
42d0a841ac Better description for when a consensus must is "too early"
Since the authorities can produce a signed consensus as soon as
`ValidAfter` minus `DistSeconds`, and since they serve a signed
consensus as soon as it has enough signatures, it's possible that a
client or relay that's starting late in the hour can get an "early"
consensus.  Back in tor#25756, we fixed this issue in Tor, but we
didn't document the behavior in the spec.
2020-09-18 10:18:06 -04:00
Nick Mathewson
b92dd33888 Update dirspec to reflect REASONABLY_LIVE_TIME. 2020-09-17 13:31:42 -04:00
Nick Mathewson
61b5da1756 remove reference to a missing "download all microdescs" feature. 2020-09-17 10:59:48 -04:00
Nick Mathewson
c2e507b42a Clarify routerdesc expiration. 2020-09-17 10:59:09 -04:00
Nick Mathewson
01122c5bd7 Clarify ed25519 signatures on routerdescs. 2020-09-17 10:48:45 -04:00
Nick Mathewson
b5ab5cd4a9 dir-spec: Correct description for keyword, beginline, endline.
A keyword may not begin with '-'.  Otherwise, "-----BEGIN" would be
a keyword, and the grammar would be ambiguous.

A beginline or endline may have multiple words in its tag.
2020-09-17 10:45:10 -04:00
Nick Mathewson
38606af8ae Merge remote-tracking branch 'jigsaw/remove-padding-fix-7869' 2020-07-23 08:28:28 -04:00
Nick Mathewson
4b7d9b1b44 Add new ipv6 stats fields to dirstats from prop313 2020-07-13 11:11:39 -04:00
Nick Mathewson
8729838399 Move description of read-history and write-history to extrainfo
We moved the fields to extrainto back in 0.2.0.x, which is now
long-obsolete -- it's time to move the description of the fields
there, and remove the legacy migration note.
2020-07-13 11:08:51 -04:00
Daniel Pinto
3c1317eba8 Remove padding from ntor-onion-key #7869 2020-06-06 15:31:39 +01:00
Steven Engler
f633334867
dir-spec: descriptor differences are cosmetic if 2 hours, not 12 hours
See ticket 33573.
2020-03-09 10:01:27 -04:00
Nick Mathewson
0c42e77da8 Merge branch 'ticket4631_squashed' 2020-02-20 08:19:21 -05:00
teor
a300681487 dir-spec: Edit uploaded vote rejection spec
Be more specific: clearly distinguish between uploaded and downloaded
votes.

Add the Tor version that introduces this behaviour.

Spec for ticket 4631.
2020-02-20 08:19:12 -05:00
teor
0e44723e90
dir-spec: Fix a typo in subprotocol version voting 2020-02-12 19:56:05 +10:00
David Goulet
429dd3ab77 dir-spec: Vote should be refused after upload period
Spec change for ticket #4631.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-01-29 16:58:57 -05:00
teor
43cfa4f38f
dir-spec: Consensus methods 25-27 are no longer advertised
Part of 32695, closes 32955.
2020-01-15 21:16:30 +10:00
teor
46cba9d8da
dir-spec: Add a summary for consensus method 29
When we documented prop298 in dir-spec, we forgot the consensus
method summary.

Part of 28266.
2020-01-15 21:15:46 +10:00
Hans-Christoph Steiner
9c86f54ba0 convert text blocks into widely compatible "blockquote" syntax
This only adds newline characters to make the existing text blocks act like
"blockquote" or "code block" syntax in Markdown, asciidoc, and others.
This was accomplished by manually reviewing the output of this script:

```bash
for f in *.txt; do
  cat $f | python -c "import sys,re;print(re.sub(r'(\n {0,3}[^ \n][^\n]*\n)( {4,}[^\n]*)', r'\1\n\2', sys.stdin.read()))" > ${f}.tmp
  mv ${f}.tmp $f
done
```
2019-12-10 16:06:53 +01:00
George Kadianakis
2b47d247b3 Merge remote-tracking branch 'dgoulet/ticket32617_01' 2019-12-02 12:46:27 +02:00