Commit Graph

2760 Commits

Author SHA1 Message Date
Nick Mathewson
7ced6190ea Merge branch '26860-decryption-order-squashed' 2018-07-20 10:39:39 -04:00
teor
03b884b63d tor-spec: circIDs are no longer chosen based on nicknames
And perhaps they never were?
2018-07-20 10:39:32 -04:00
teor
b19196bfb0 tor-spec: fix some section numbers 2018-07-20 10:39:32 -04:00
teor
3347808b4f tor-spec: Specify how EXTEND2 cells are turned into CREATE2 cells
Also generalised the EXTENDED to CREATED section so it covers
EXTENDED2 to CREATED2.

Closes 26859.
2018-07-20 10:39:32 -04:00
teor
81a066672d
tor-spec: Rewrite the Routing Relay Cells section
The section now consists of:
* forward encryption at the client
* forward decryption at ORs
* backward encryption at the end (exit)
* backward decryption at the client

Part of 26860.
2018-07-19 13:29:30 +10:00
teor
ce1d4a8b7e
tor-spec: Fix recognized error, and explain why the field exists
Closes 26872.
2018-07-19 13:24:49 +10:00
Dave Rolek
7b1a76c734 Update spec with SHOULD/MUST behavior for padding bytes
In doing so, specify a general behavior for padding bytes in Section 3
and cross-reference other locations to this, to aid in future
consistency.

Also clarify a few vague parts of the prior wording.

Fixes #26860.
2018-07-18 21:22:43 +00:00
Dave Rolek
c551c2dc07 Update spec to match correct decryption order
Fixes #26860.
2018-07-18 19:51:43 +00:00
teor
cc7ef26f02
bandwidth-file-spec: files should be generated atomically
Closes 26829.
2018-07-18 11:49:16 +10:00
teor
b155c2e13d
dir-spec: Authorities should only read V3BandwidthsFile once per vote
Closes 26827.
2018-07-18 11:26:33 +10:00
Nick Mathewson
1fb4cb58e9 Merge remote-tracking branch 'teor/bug26799' 2018-07-17 08:49:30 -04:00
Nick Mathewson
c0b2dc9f17 Call it prop296 2018-07-17 08:46:18 -04:00
Nick Mathewson
b3abfdffee Merge remote-tracking branch 'teor/ticket21377-squashed' 2018-07-17 08:45:48 -04:00
Roger Dingledine
d31c33c95f one more typo 2018-07-16 23:42:35 -04:00
Kevin Gallagher
5508508c00 control: Add new 'uptime' message to GETINFO 2018-07-16 19:22:15 -07:00
Roger Dingledine
6f0112693e three tiny fixes to prop#293 2018-07-16 13:39:52 -04:00
teor
2cce07d59a
dir-spec: specify failure modes for the bandwdith file headers vote line
Closes 26799.
2018-07-16 13:24:35 +10:00
teor
d29d9ada0b
bandwidth: edit bandwidth URL dir-spec and proposal
* dir-spec: don't post bandwidth files to other authorities
* dir-spec: add URL for current bandwidth file
* dir-spec: clean up the consensus and vote "current" publication schedule

Closes ticket #21377.
2018-07-16 10:26:18 +10:00
juga0
96145da5e2
Edit bandwidth file URL proposal
* Correct URL with the one in the dir-spec
* Replace bwauth vote/raw file by bandwidth list file
* Update compatibility, the format has a spec
2018-07-16 10:25:19 +10:00
juga0
58d3cb9cc2
Have Directory Authorities expose bandwidth files
Proposal sent to tor-dev maling list by Tom Ritter.
(https://lists.torproject.org/pipermail/tor-dev/2017-December/012677.html)
2018-07-16 10:25:02 +10:00
juga0
365d371ab5
Authorities expose bandwidth file used in votes
In a similar ways as authorities expose the votes for the next
consensus.
This way it can be archived by CollectTor
2018-07-16 10:24:58 +10:00
sergeyfrolov
d05176bb4a
Fix port in USERADDR example 2018-07-13 17:56:03 -04:00
Nick Mathewson
d6b2bcb5b2 Authorship update for prop295 2018-07-13 17:05:41 -04:00
Nick Mathewson
c590145e6d Correct a point in proposal 288.
Previously our design had called for considering a SHAKE output B
bits at a time, but bitwise slicing is a pain.  Instead, consider
the output 64 bits at a time, mask off the high bits, and discard
values that lie outside the prime field.  Since P is very close to
2^B, nearly all values should be okay.
2018-07-10 19:58:36 -04:00
George Kadianakis
357aeb27a5 Add some future alternative approaches to the SRV spec. 2018-07-06 16:11:46 +03:00
Nick Mathewson
09220cc5b7 Replace proposal 295 with the right version :/ 2018-07-04 16:41:58 -04:00
Nick Mathewson
b0d5698c49 Add proposal 295 from Tomer Ashur. 2018-07-03 17:38:26 -04:00
Nick Mathewson
73d4e21d80 Merge remote-tracking branch 'juga/ticket26541' 2018-07-01 10:37:10 -04:00
juga0
d200f1e939 fixup! fixup! Fix definition of Value 2018-06-29 08:53:45 +00:00
juga0
60314826be Clarify why latest_bandwidth is the same as timestamp 2018-06-29 07:25:13 +00:00
juga0
e7f10ed281 Use the same words in timestamp as latest_bandwidth 2018-06-29 07:25:02 +00:00
juga0
6395b5901a fixup! Fix definition of Value 2018-06-29 07:24:52 +00:00
juga0
5a43d316a0 fixup! bandwidth-file only apears in votes, no consensuses 2018-06-29 07:24:41 +00:00
juga0
05b9590a62 Add file_created and latest_bandwidth Keywords
to bandwidth-file-headers
2018-06-28 17:57:39 +00:00
juga0
db21d86d87 Fix definition of Value
ArgumentChar is already defined in 1.2.
Also change definitions order.
2018-06-28 17:51:37 +00:00
juga0
9553d37103 Replace bandwidth-file by bandwidth-file-headers 2018-06-28 17:47:32 +00:00
juga0
d2b8ca5507 bandwidth-file only apears in votes, no consensuses 2018-06-28 17:46:01 +00:00
Nick Mathewson
1c818618fc Merge remote-tracking branch 'teor/utf-8-extra' 2018-06-25 14:13:43 -04:00
Nick Mathewson
f3b7ffa27d Merge remote-tracking branch 'juga/ticket8494' 2018-06-25 10:06:55 -04:00
Nick Mathewson
14dea86acc Merge remote-tracking branch 'juga/ticket26155' 2018-06-25 10:02:39 -04:00
juga0
1aab99d170 bandwidth-file-spec: add MaxAdvertisedBandwidth
Add MaxAdvertisedBandwidth section in the bw KeyValue and explain
why measured bandwidths need to be limited to it and how current
implementations do it.
Co-authored-by: teor <teor2345@gmail.com>
2018-06-25 07:48:12 +00:00
juga0
b4aa080b09 Rephrase what to do when there aren't recent results 2018-06-24 11:43:00 +00:00
juga0
23625d66c2 Change generators by threads 2018-06-24 11:43:00 +00:00
juga0
c8764b1586 Add latest_bandwidth, file_created to the example
and change other example dates to be more coherent.
2018-06-24 11:43:00 +00:00
juga0
f73177db20 Replace generator by threads
to make text more clar. Also:
* result by bandwidth result
* forgotten scanner word by generator
2018-06-24 11:39:35 +00:00
juga0
0cedb90f0b Do not generate file if timestamp is missing 2018-06-24 11:39:35 +00:00
juga0
2598b382d5 Add a latest bandwidth header Line 2018-06-24 11:39:35 +00:00
juga0
718302ed4b Add file creation date header Line 2018-06-24 11:39:35 +00:00
juga0
8760c78ddc Fix Timestamp, to be the most recent result.
It is not the timestamp when the file was created.
2018-06-24 11:39:35 +00:00
George Kadianakis
ed29ac2054 rend-spec-v3.txt: Clarify role of first layer desc encryption.
It's meant to protect against entities that don't know the identity public
key (aka the onion address).

Closes #26379. Pointed out by Steven Murdoch.
2018-06-23 18:17:43 -05:00