Commit Graph

1535 Commits

Author SHA1 Message Date
Roger Dingledine
e06b912e9d simple grammar issues in prop321 2021-09-29 05:21:39 -04:00
Neel Chauhan
b0e26eac5f Add Prop334: A Directory Authority Flag To Mark Relays As Middle-only 2021-09-17 16:07:40 -07:00
Nick Mathewson
363ea9878b Merge remote-tracking branch 'tor-gitlab/mr/45' 2021-09-13 09:35:49 -04:00
nusenu
8b1babf17c add ed25519-master-pubkey.txt description 2021-09-12 20:27:26 +00:00
David Goulet
b03be04b5f fixup! prop324: Add section for onion service handling 2021-09-08 15:33:34 -04:00
David Goulet
888d43a1ef prop324: Add section for onion service handling
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-09-08 10:30:52 -04:00
Nick Mathewson
c17c36c576 Merge remote-tracking branch 'tor-gitlab/main' 2021-08-29 22:23:17 -04:00
Nick Mathewson
7a06c12fea Prop332: add test vectors. 2021-08-26 12:15:41 -04:00
Nick Mathewson
b30b4b0d55 Prop332: Minor edits.
Document that MAC_KEY_LEN exists, and is 32.

Switch from SHAKE128 to SHAKE256: the performance difference is
negligible, and that's what we use elsewhere in Tor.
2021-08-26 10:40:19 -04:00
David Goulet
b244dd33a5 Merge branch 'tor-gitlab/mr/38' 2021-07-30 13:27:25 -04:00
Mike Perry
481bcc74de Prop 324: Fix fencepost error in SENDME BDP calculation 2021-07-30 13:45:02 +00:00
Mike Perry
532bec0551 Prop 324: Rename cc_icw to cc_cwnd_init 2021-07-29 17:02:32 +00:00
Mike Perry
baa504ea8f Prop 324: Describe clock jump and stall heuristics. 2021-07-28 01:17:11 +00:00
Mike Perry
89b9702cc7 Further Prop 324 Updates:
- Clarify what we learned in experimentation
  - Clarify N-EWMA and next_cc_event behavior
  - Clarify order of operations in BDP estimator
  - Clarify and expand on parameter tuning
  - Clarify Vegas and Nola descriptions
  - Mention that we need to test intermittent clients
  - Update old trac URLs
2021-07-27 23:38:59 +00:00
George Kadianakis
df6af4fe15 Move 332-vanguards-lite.md to 333-vanguards-lite.md.
Since 332-ntor-v3-with-extra-data.md was faster than us
2021-07-20 13:50:31 +03:00
George Kadianakis
aec36da1cd Improve vanguard-lite proposal.
- Mention that an extra hop is added on service-side intro circs
- Add circuit path length diagram
- Mention max number of L2 guards
- Add control port events to control spec
2021-07-20 13:50:31 +03:00
George Kadianakis
49196be6b7 First iteration of vanguards lite proposal. 2021-07-20 13:50:31 +03:00
Nick Mathewson
aac1ee24e8 Add proposal 332: Ntor protocol with extra data, version 3 2021-07-12 11:47:48 -04:00
Mike Perry
9e704923e7 Update Prop 324 since prototype.
- Correct algorithms to update once per cwnd
 - Clarify orconn blocking and edge connection checks
 - Mention Westwood RTT backoff, and a couple other fixes
 - Specify BDP estimators based on testing and bugfixing.
 - Specify BDP-based congestion algorithm (TOR_NOLA)
 - Update consensus parameters with tuning notes.
2021-07-09 21:41:50 +00:00
Nick Mathewson
554d63ad3a Make proposals 196/217 into an ext-orport-spec.txt.
Closes torspec#50.
2021-06-28 09:43:23 -04:00
Roger Dingledine
1850a1ebe7 fix some logic errors and typos in specs+proposals 2021-06-23 04:35:49 -04:00
Georg Koppen
42d62072d2
prop331: Fix typos 2021-06-13 12:02:53 +00:00
David Goulet
ea4250ee82 prop328: Some minor changes after implementation
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-05-21 09:37:01 -04:00
Nick Mathewson
7424472d21 Clarify part of proposal 325
We indicated that "0" meant "no more messages" but we didn't say
what happened if there was no space to put such a 0.
2021-04-14 10:43:20 -04:00
George Kadianakis
e0a1c4bd5a Prop331: Merge Res tokens proposal 2021-04-01 18:27:30 +03:00
Mike Perry
660a75f34d Tighten up some terms and phrasing. 2021-03-26 21:05:59 +00:00
Mike Perry
b2cfbecd3b Prop329: Note new comments on receive windows from Simone and Toke 2021-03-26 15:54:02 +00:00
Mike Perry
d30a5a2fff Fix dropmark citation 2021-03-26 15:20:32 +00:00
Mike Perry
d73bdd1e0b Reformat Prop329. 2021-03-26 14:49:55 +00:00
Mike Perry
f66a457cb2 Add Acknowledgements to Proposal 324. 2021-03-26 13:53:02 +00:00
David Goulet
9f39565e61 Proposal 329: Conflux traffic splitting 2021-03-26 13:52:59 +00:00
George Kadianakis
cccf29c7af prop328: Rate-limit counter should increase once per minute. 2021-03-10 14:41:40 +02:00
George Kadianakis
421bea4058 Improve some parts of prop#328.
- Rename 'overload-reached' to 'overload-general'
- Simplify 'overload-ratelimits' for engineering reasons
- Add versioning on the extra-info fields
- Add a few more metrics
2021-03-09 15:50:11 +02:00
David Goulet
8a6ef7bed4 prop325: Specify the format of a packed relay cell
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-02-22 12:48:40 -05:00
Nick Mathewson
7cfcf176dc Add proposal 330-authority-contact.md 2021-02-10 13:07:53 -05:00
George Kadianakis
3540c8f322 Merge remote-tracking branch 'tor-gitlab/mr/22' 2021-01-13 15:40:32 +02:00
David Goulet
000a3b817b Merge branch 'tor-gitlab/mr/19' 2020-12-08 09:04:36 -05:00
David Goulet
17df80f84b prop328: Initial draft
Signed-off-by: Mike Perry <mikeprry@torproject.org>
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-12-07 15:05:24 -05:00
Mike Perry
53e257ec6a Prop 324: Clarifications and improvements
- Clarify that complete algorithms are canonical
  - Break off backwards ecn idea into ideas directory.
  - Define RTT_min
  - cite prop 325
  - Count INTRODUCE1 towards SENDME, don't count SENDME.
  - note optimization for circwindow_inc variability
  - consider limiting the rate of change of circwindow_inc
  - Mention hs-ntor allows extra data fields
  - Mention if we calculate recieve window, it can become negative.
  - Track outstanding sent cells for better BDP estimates.
  - Use min of backoff multiplier vs BDP, not max.
  - We can safely set our initial congestion window much higher than TCP.
2020-12-01 19:02:48 -06:00
Nick Mathewson
ed64359369 Proposal 318 is closed. 2020-10-28 11:59:20 -04:00
nusenu
4ca9f7a9d1 326-tor-relay-well-known-uri-rfc8615.md: use more generic wording
The operatorurl field got renamed to 'url' in
https://nusenu.github.io/ContactInfo-Information-Sharing-Specification/
This motivated this change, so we do not have to change prop 326
everything the referenced spec is updated.
2020-10-10 14:40:06 +00:00
nusenu
df41296bb2 remove email address obfuscation
it is not required since only subscribed users can
send emails to this list.
2020-10-09 07:36:56 +00:00
Nick Mathewson
2f251feded reindex proposals 2020-09-22 10:10:44 -04:00
George Kadianakis
1f52ffadc9 Add proposal #327: "A First Take at PoW Over Introduction Circuits" 2020-09-22 14:30:35 +03:00
Nick Mathewson
b9f245ca72 Add proposal 326 from nusenu 2020-09-17 14:57:29 -04:00
Nick Mathewson
f688a1f4d3 Merge remote-tracking branch 'tor-gitlab/mr/3' 2020-09-17 14:56:31 -04:00
Nick Mathewson
8024ebc1f0 reindex proposals 2020-09-17 12:36:55 -04:00
Nick Mathewson
f40b3f6873 correct name of prop316 2020-09-17 12:36:44 -04:00
Nick Mathewson
9e88c40383 Merge remote-tracking branch 'pastly/flashflow-revision' 2020-09-17 12:36:18 -04:00
Nick Mathewson
54b82d0335 Move proposal 201 to reserve status per conversation with karsten 2020-09-14 10:45:43 -04:00
Matt Traudt
73f13a0dc0 Add back section numbers 2020-09-04 08:21:26 -04:00
Matt Traudt
950c64b3cf Add links for the remaining sources 2020-08-21 09:39:06 -04:00
Matt Traudt
7f0f0aa751 redo line breaks on some bad lines, no text change 2020-08-21 09:39:06 -04:00
Matt Traudt
70572f5e22 Finish response to teor feedback 2020-08-21 09:39:06 -04:00
Matt Traudt
437a0a0eaa Make meas cell contents match current reality and teor's comments 2020-08-21 09:39:06 -04:00
Matt Traudt
cf1a42403a Fix numbering of meas cell commands 2020-08-21 09:39:06 -04:00
Matt Traudt
636887f306 No length field in FF cells 2020-08-21 09:39:06 -04:00
Matt Traudt
77b5a8093a Make MEAS_ECHO a relay cell command, ...
Move scheme to allow measurers to skip cell *cryption most of the time
to an appendix; in the short term measurers will verify all cells.
2020-08-21 09:39:06 -04:00
Matt Traudt
cfc41dc951 Use PAYLOAD_LEN (509) not 514, since cells can be 512 still 2020-08-21 09:39:06 -04:00
Matt Traudt
84d9d96612 Some clarification about measurement cells going over circuits 2020-08-21 09:39:06 -04:00
Matt Traudt
c360e31bf2 MSM -> MEAS 2020-08-21 09:39:06 -04:00
Matt Traudt
ee5491e939 Add that coords do not communicate 2020-08-21 09:39:06 -04:00
Matt Traudt
11ed971dd8 First pass to make FF prop better markdown: headings, lists, code blocks 2020-08-21 09:39:06 -04:00
Matt Traudt
09e090603d Move 316 (flashflow) to .md file, no edits 2020-08-21 09:39:06 -04:00
nusenu
15ffef181b
add URL to IANA registry 2020-08-14 10:13:51 +00:00
nusenu
604bf2ecc3
Update xxx-tor-relay-well-known-uri-rfc8615.md 2020-08-14 10:11:16 +00:00
nusenu
ce86e4fa4f
add RFC8615 reference 2020-08-14 10:10:31 +00:00
nusenu
f5abfb7914
Create xxx-tor-relay-well-known-uri-rfc8615.md 2020-08-14 10:04:18 +00:00
Roger Dingledine
a906568198 fix three small typos in the specs 2020-08-09 00:31:19 -04:00
Nick Mathewson
53fdce3822 Move proposal 309 to "Open" status.
(tjr is okay with this)
2020-07-31 10:17:08 -04:00
Nick Mathewson
3305f31738 Update proposal indices 2020-07-31 09:45:00 -04:00
Nick Mathewson
4f15c4c873 Mark proposal 254-padding-negotiation.txt as Closed. 2020-07-31 09:44:23 -04:00
Nick Mathewson
fa7eb1610c Mark proposal 317 as needs-revision
It's under discussion on tor-dev.
2020-07-31 09:43:37 -04:00
Nick Mathewson
233ff46a76 Mark proposals 240, 303, and 308 as Open. 2020-07-31 09:43:02 -04:00
Nick Mathewson
b900cae434 Mark proposal 300-walking-onions.txt as Informational. 2020-07-31 09:42:27 -04:00
Nick Mathewson
aa52c62f4c Mark proposal 276-lower-bw-granularity.txt as Dead 2020-07-31 09:41:31 -04:00
Nick Mathewson
dfe9b9d3bf Mark proposals 275, 285, 311, 312, 313, and 318 as Accepted.
We've talked about these, and in some cases begun to implement them.
2020-07-31 09:39:46 -04:00
Nick Mathewson
3dfb8fde81 Mark proposals 282, 301, 310, and 314 ad "Finished"
They are implemented, and only need (possible) spec updates
2020-07-31 09:38:43 -04:00
Nick Mathewson
f06705a692 Mark proposals 188, 262, and 307 as reserve, with reasoning. 2020-07-31 09:37:11 -04:00
Nick Mathewson
fe13779ae6 Proposal 299-ip-failure-count is superseded by proposal 306-happy-eyeballs 2020-07-31 09:34:41 -04:00
Nick Mathewson
231c26ef2a update indices 2020-07-27 11:42:44 -04:00
Nick Mathewson
772f6f7c09 Promote my proposals 323 and 325 to OPEN. 2020-07-27 11:29:59 -04:00
Nick Mathewson
ff2b6dc1cd proposal 320 is rejected 2020-07-27 11:28:55 -04:00
Nick Mathewson
b7eba5ad55 Proposal 249 is superseded. 2020-07-27 11:28:05 -04:00
Nick Mathewson
246a586461 Small template and script improvements 2020-07-27 10:51:23 -04:00
Nick Mathewson
4c7124a311 Change index file name so it doesn't override readme. 2020-07-27 10:49:55 -04:00
Nick Mathewson
0177894031 Add nice markdown to proposals directory. 2020-07-27 10:49:55 -04:00
Nick Mathewson
1fa2a98dac Update reindex script to generate nice markdown. 2020-07-27 10:49:55 -04:00
Nick Mathewson
ea85e63de4 reindex.py: drop python2 support. 2020-07-27 10:42:38 -04:00
Nick Mathewson
3395172250 Add a pair of templates for markdown proposal indices 2020-07-27 10:42:38 -04:00
Mike Perry
fd47b40097 Fix wording in a clarification. 2020-07-21 13:06:05 -05:00
Mike Perry
a24d66be15 Resolve a question in a TODO about Vegas, and add refs to other TODO.
Thanks goes to Toke Høiland-Jørgensen.
2020-07-21 12:59:52 -05:00
Mike Perry
52eebf04ce Toke Høiland-Jørgensen recommends using INTERVAL for ECN.
Otherwise he suspsects that circuits will exit slow start too early.
2020-07-21 12:22:17 -05:00
Nick Mathewson
735d904093 Proposal 325: markdown fixes 2020-07-10 15:18:15 -04:00
Nick Mathewson
fef8d01824 Small edits to prop325 based on email from Ian Goldberg 2020-07-10 15:16:55 -04:00
Nick Mathewson
3997e7a8a5 Add proposal 325-packed-relay-cells.md 2020-07-10 13:51:21 -04:00
Nick Mathewson
66d780d87d Run "reindex" script. 2020-07-06 13:38:23 -04:00
Mike Perry
4fe05b29a4 Add RTT Congestion Control Tor proposal as #324. 2020-07-02 12:43:42 -07:00
Nick Mathewson
87eefe8c53 Walking onions proposal is completed.
Or at least, the first version of it.
2020-06-03 11:02:52 -04:00
Nick Mathewson
4f8d5a4b24 Add proposals 321 and 322 for walking-onions-related stuff 2020-05-27 15:12:01 -04:00
Nick Mathewson
238a098e0b prop319: correct some typos about cell types. 2020-05-19 12:37:09 -04:00
Nick Mathewson
3c14e0a7cd a minor edit on 320 2020-05-11 16:46:16 -04:00
Nick Mathewson
bb347f8a69 a few missing words in prop 319 2020-05-11 16:11:33 -04:00
Nick Mathewson
f160516451 Add proposal 320 for removing TAP finally 2020-05-11 16:11:11 -04:00
Nick Mathewson
8560a5be21 Add proposal 319: RELAY_FRAGMENT cells 2020-05-11 16:06:20 -04:00
Nick Mathewson
4625a59da9 Add proposal 318, to limit the range of subprotocol versions. 2020-05-11 16:02:59 -04:00
Nick Mathewson
2dd966b784 Proposal 314 has been accepted; proposals can be markdown. 2020-05-11 15:57:05 -04:00
Nick Mathewson
e889dbe264 prop315: update to describe bridges
We need to be a little more careful when making things required on
bridge descriptors, but only a little: the partitioning
opportunities aren't that bad.
2020-05-11 09:44:48 -04:00
teor
00d67ace14
Prop 311: Make self-tests slightly stricter
Ignore create cells from clients when checking for relay reachability.

Part of 33222.
2020-05-08 09:40:36 +10:00
teor
d6e18ebe53
Prop 311: Say "port forwarding" for clarity 2020-05-01 17:23:44 +10:00
teor
40486e0b5e
Prop 311: Another reachability edge case
Part of 33222.
2020-05-01 17:14:37 +10:00
teor
f12126bd8a
Prop 311: Add design for reachability circuits
Update 4.2.3. Separate IPv4 and IPv6 Reachability Flags.

Add a detailed design for checking cells on reachability self-test
circuits.
2020-04-28 13:40:30 +10:00
teor
2e67ae1c70
Prop 312: Clarify torrc Address option
Clarify section 3.2.1.  Make the Address torrc Option Support IPv6.

The list of possible configurations was incorrect.
2020-04-28 13:20:11 +10:00
Nick Mathewson
df3c4f559b add proposal 317 from Christian Hofer. 2020-04-27 08:40:05 -04:00
Nick Mathewson
2ec807e104 whitespace fixes on proposal 295. 2020-04-23 15:21:46 -04:00
Nick Mathewson
2202910e2b Latest version of proposal 295 (from Jan :/ ) 2020-04-23 15:20:50 -04:00
Nick Mathewson
ade20b9265 proposal 316: flashflow. 2020-04-23 15:12:30 -04:00
Nick Mathewson
3ada0e7ed3 Add proposal 314 (markdown) and 315 (required fields.)
Also tweak reindex.py under the assumption that we will be accepting
proposal 314.
2020-04-23 10:43:48 -04:00
teor
373e4eb21c
Prop 313: Remove ConnDirectionStatistics bug
Bug 33214 wasn't actually a bug, it was just a mistake in the analysis.

Part of 33052.
2020-02-24 14:33:44 +10:00
teor
1617310eb6
Prop 313: Fix Impacts of Consensus Health IPv6
Part of 33052.
2020-02-11 21:27:22 +10:00
teor
e25eb89d2e
Prop 313: Make a Section Title Clearer
Part of 33052.
2020-02-11 21:23:35 +10:00
teor
90f989d83a
Prop 313: Remove Medium-Term Stats from Consensus Health
We don't want to put stats on Consensus Health, if they depend on Wgd,
because those stats are designed for Sponsor 55 in 2020.

(If Wgd ever changes, we don't want the stats to be wrong.)

Part of 33052.
2020-02-11 21:19:53 +10:00
teor
8af14dea81
Prop 312: Clarify IPv6 ORPort Binding
Part of 33049.
2020-02-11 14:11:09 +10:00
teor
e759c0ec4e
Prop 312: Clarify OS hostname API behaviour
Part of 33049.
2020-02-11 13:38:17 +10:00
teor
8cc8bff106
Proposals: Run reindex.py 2020-02-11 11:58:01 +10:00
teor
a0492dd33c
Prop 311 & 312: Update monitoring based on 313
Keep the monitoring summaries in proposals 311 and 312 in sync with
proposal 313.

Part of 33159.
2020-02-11 09:17:19 +10:00
teor
e31ded5bd7
Prop 313: Update IPv6 Connection Stats
We currently have enough relays reporting connection stats,
but these reports might be a bug.

Make the ConnDirectionStatistics consensus paramter into an
optional change, depending on the outcome of the bug.

Part of 33159.
2020-02-11 09:17:14 +10:00
teor
e9a888f01a
Prop 313: Add IPv6 bandwidth statistics safety
Also make BandwidthStatistics an optional change.

Part of 33159.
2020-02-11 09:12:12 +10:00
teor
91356f5db0
Prop 313: Only Script, No Tor Logs
Remove the tor logs from the proposal, only write a script.
(Some of these calculations are medium-term, and are most relevent
during Sponsor 55.)

Part of 33159.
2020-02-11 08:39:28 +10:00
teor
64c2ef85c5
Prop 313: Fix title
Part of 33159.
2020-02-10 16:58:29 +10:00
teor
27de9d175b
Prop 313: Relay IPv6 Statistics - Initial Draft
Related to tickets: 33159 (proposal), 33051 and 33052 (implementation).
2020-02-10 16:11:14 +10:00
teor
638a9276d8
Prop 311 & 312: Remove TODOs on Prop 313 link
Part of 33159.
2020-02-10 12:50:25 +10:00
teor
aa53246772
Prop 312: Clarify IPv6 Directory Failures
Part of 33073.
2020-02-10 12:49:43 +10:00
teor
58000de4fa
Prop 311: Add Optional IPv6 Bandwidth Self-Tests
Add an optional change that makes relays do bandwidth self-tests over
IPv6.

This change increases the connection and bandwidth IPv6 statistics.
Related to proposal 313, which covers IPv6 statistics.

Related to 33159.
2020-02-10 12:46:12 +10:00
teor
01105c2543
Prop 311 & 312: Some changes affect IPv6 stats
When a change increases an IPv6 statistic, mention the impact in
proposals 311 and 312.

Related to proposal 313, which covers IPv6 statistics.

Part of 33159.
2020-02-10 12:45:49 +10:00
teor
ec92bbba5d
proposals: Update reindex.py for Python 3
Add the standard future statements, so Python 2 will use some
Python 3 features.

Open files as UTF-8. As a consequence of this change, proposals
must be encoded in UTF-8.

Closes ticket 33164.
2020-02-06 11:01:27 +10:00
teor
d897e4de4a
proposals: Make reindex use path for python
Some people don't have their best python in /usr/bin.

Other people only have python in /usr/local/bin, or other places.
2020-02-06 10:50:18 +10:00
teor
7ba6ab4915
proposals: Reindex 2020-02-06 10:50:15 +10:00
teor
359f68b7e7
Prop 311: Fix section numbers
Part of 24404.
2020-02-06 10:50:11 +10:00
teor
fd2ac75e66
Prop 312: Improve Title
Part of 33073.
2020-02-05 22:24:32 +10:00
teor
ad1b25cb54
Merge branch 'prop312-squashed' 2020-02-05 22:07:06 +10:00
teor
c09bbe9917
Prop 312: Update IPv6 Privacy Extensions
As suggested by s7r.

Part of 33073.
2020-02-05 22:06:40 +10:00
teor
34fb76cd5f
Prop 312: Add s7r as an author
Part of 33073.
2020-02-05 22:06:33 +10:00
teor
da1b248e2e
Prop 312: Add State Management
Document tor's current address detection state management, and our
new state management for IPv4 and IPv6 address detection.

As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:06:30 +10:00
teor
492549864e
Prop 312: Add libevent DNS API
As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:06:00 +10:00
teor
1f9f3986d1
Prop 312: Add Ignore Addresses on Inbound Conns
Add an optional change.

Part of 33073.
2020-02-05 22:05:53 +10:00
teor
13e8c8c231
Prop 312: Define an IPv6 sybil block
As suggested by Nick Mathewson and s7r.

Part of 33073.
2020-02-05 22:05:31 +10:00
teor
89e7222f65
Prop 312: Require explicit authority addresses
Only use explicit IPv4 and IPv6 address literals, configured in Address
or ORPort lines, for directory authority addresses.

As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:05:07 +10:00
teor
55d3beb6c2
Prop 312: Make bridge changes clearer
Part of 33073.
2020-02-05 22:05:00 +10:00
teor
e1815226f1
Prop 312: Avoid some address detection state
As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:04:47 +10:00