Commit Graph

543 Commits

Author SHA1 Message Date
Georg Koppen
3169512d71
Fix typo
Closes: #199.
2023-05-08 13:29:00 +00:00
David Goulet
0da1241f98 Merge branch 'tor-gitlab/mr/104' 2023-01-26 10:11:26 -05:00
Ian Jackson
8f7f6f9e97 Clarify and tidy up KeywordLine Argument
* Introduce the notion of Argument, which is relied on in the
  rest of the document, but not defined here formally.

Spec changes implied by this diff:

* Forbid the arguments from containing form feeds, carriage returns,
  and vertical tabs.

* Forbid trailing whitespace after the last argument.  I'm not sure
  whether this is correct, but it seems anomalous to permit it for
  only for keyword lines with arguments, and not anywhere else.
2023-01-20 18:18:33 +00:00
Ian Jackson
3c68fd57e1 Give a formal name to shared_random_value 2023-01-19 10:20:45 -05:00
Nick Mathewson
83fd14cbae dir-spec: Make Object multiplicity "?", not "*".
We have never actually generated an Item with multiple Objects.
What's more, neither the C tor implementation nor Arti actually
supports parsing such and item.
2023-01-17 08:17:29 -05:00
David Goulet
d3904cbe4b Merge branch 'tor-gitlab/mr/93' 2023-01-10 13:53:47 -05:00
David Goulet
93e2f2f574 Merge branch 'tor-gitlab/mr/94' 2023-01-10 13:53:15 -05:00
Nick Mathewson
e66dd71fac Clarify that SRV is 256 bits. 2022-12-20 12:49:25 -05:00
Nick Mathewson
28d1f6379e Document the extra NL that sometimes comes with a descriptor
This NL isn't so easy to remove in Tor, since some older
control-port code depends on it IIRC.  But not having documented it
caused arti#637: let's explain that, so that the next unfortunate
implementor doesn't hit it.
2022-11-15 17:16:56 -05:00
Ian Jackson
bf877ec998 dir-spec: Expect authority.z to always be available
And discuss the places where it is used.
2022-10-31 14:24:23 +00:00
Roger Dingledine
5642732fc0 Authorities shouldn't get Measured= keyword
Corresponds to the bugfixes for bugs 40698 and 40700.

Also, document our MeasuredButAuthority= keyword that we include instead
(but that nothing uses).
2022-10-24 04:46:09 -04:00
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