Commit Graph

535 Commits

Author SHA1 Message Date
Dimitris Apostolou
29245fd50d Fix typos and cleanup 2021-10-25 16:35:13 -04:00
Oleh Franchuk
e583d522ac control-spec: Add 'Table of contents' 2021-09-22 14:42:40 +03:00
Neel Chauhan
04eb311e87 Add error 451 for ONION_CLIENT_AUTH_ADD 2021-09-12 11:17:08 -07:00
Nick Mathewson
845a4d7213 Fix typo "epheremal" -> "ephemeral"
Close #62
2021-08-29 15:42:35 -04: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
Roger Dingledine
1850a1ebe7 fix some logic errors and typos in specs+proposals 2021-06-23 04:35:49 -04:00
Nick Mathewson
d3a4dadac1 Merge remote-tracking branch 'tor-gitlab/mr/26' 2021-02-08 10:39:01 -05:00
George Kadianakis
6eb726c11f Merge remote-tracking branch 'tor-gitlab/mr/18' 2021-02-08 13:33:24 +02:00
Neel Chauhan
c91d596262 Add StreamId to ADDRMAP entry in control-spec 2021-01-26 14:26:51 -08:00
Neel Chauhan
35aaa1bc6f Add asn@ review for V3 control auth 2020-11-24 20:14:27 -08:00
Roger Dingledine
bfaf4c27e7 fix typos; more robust links between specs 2020-11-16 15:33:35 -05:00
Neel Chauhan
cda3558894 Add torspec for V3 control port authorization format 2020-11-15 14:29:02 -08:00
Nick Mathewson
3c74ded74f Mention that GETINFO network-status is gone. See tor#22473. 2020-10-28 11:49:44 -04:00
George Kadianakis
5cea056b83 control-spec: Mention Tor version where ONION_CLIENT_AUTH_* were added. 2020-09-14 17:46:28 +03:00
David Goulet
c2a5841443 control: DROPTIMEOUTS was added in 0.4.5.0-alpha
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-08-19 15:18:39 -04:00
Damian Johnson
b443bc3603 Demonstrate how to remove MAPADDRESS entries
Our docs accurately describe how to remove MAPADDRESS entries, but doesn't
demonstrate it. Exemplifying how to query our mappings and remove them.

  https://gitlab.torproject.org/tpo/core/tor/-/issues/40104
2020-08-14 16:07:39 -07:00
Neel Chauhan
3bf47334f3 Add "GETINFO address/v(4/6)" 2020-08-04 14:03:06 -07:00
Nick Mathewson
8761aa05d5 Document CONTROLLER_WAIT stream status. 2020-08-03 08:36:53 -04:00
Nick Mathewson
1417af05de Note that MAPADDRESS results can have mixed status codes.
Closes #30123
2020-07-28 23:41:03 -04:00
David Goulet
493f1524a1 control-spec: Add CONFIGURED_ORPORT to SERVER_STATUS event
A tor relay now can discover its address using the ORPort address if one is
specified.

For that reason, we add a new method to the SERVER_STATUS event that is
CONFIGURED_ORPORT in order to identify the configured address on the ORPort.

Related to #33236

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-07 10:51:36 -04:00
David Goulet
211ffbc224 Merge branch 'neel/bug28279' 2020-07-01 12:37:47 -04:00
Neel Chauhan
05101ef90b Add GETINFO "rephist/{tap,ntor}/onion_handshakes_{assigned/requested} to control-spec.txt 2020-07-01 12:37:31 -04:00
George Kadianakis
ac0c83b78d Merge branch 'tor-github/pr/123' 2020-06-23 20:33:24 +03:00
Nick Mathewson
63af434a69 Merge branch 'ticket33639' 2020-06-18 14:12:40 -04:00
Nick Mathewson
b418155587 control-spec: Mention IP_NOW_REDUNDANT circuit close reason. 2020-06-18 14:11:33 -04:00
Nick Mathewson
a9fee222ac Control-spec.txt: add several circuit purposes
This patch adds and documents the purposes HS_VANGAURD,
PATH_BIAS_TESTING, and CIRCUIT_PADDING.

Closes ticket 33640.
2020-06-17 12:13:10 -04:00
Mike Perry
72b069e191 Specify DROPTIMEOUTS control port command. 2020-06-07 22:26:03 -05:00
George Kadianakis
bde904ab95 control-spec.txt: CONSENSUS_ARRIVED is a STATUS_CLIENT event. 2020-03-04 19:33:53 +02:00
rl1987
1f4ae3d62f Clarify about empty GETCONF request 2020-02-03 16:56:53 +08:00
rl1987
f04179f254 Document that Tor accepts GETCONF with zero or more arguments 2020-01-29 14:59:43 +08: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
bde95f383c Include the HS address in ONION_CLIENT_AUTH_VIEW replies. 2019-12-04 13:22:39 +02:00
Hans-Christoph Steiner
a3fd193023 fix erroneous header numbering punctuation
The clear standard is trailing "." after each numeric section.  This fixes
the small handful of outliers.  This makes it easy to convert these headers
to common markup formats, for example:
http://hyperpolyglot.org/lightweight-markup
2019-11-26 21:03:19 +01:00
Hans-Christoph Steiner
c15cc8a5a8 standardize whitespace in the titles
This is one small step towards making these a standard, parsable format.
2019-11-26 20:29:12 +01:00
Nick Mathewson
d0acd35d8f Note which version #19859 fields were added in. 2019-11-25 08:44:41 -05:00
Nick Mathewson
cf66598f44 Merge remote-tracking branch 'JeremyRand/stream-event-isolation' 2019-11-25 08:43:50 -05:00
David Goulet
03958da61f Merge branch 'tor-github/pr/81' 2019-11-19 09:31:31 -05:00
JeremyRand
54a7ad226c
Bug 19859: Add HTTPCONNECT client protocol 2019-10-27 06:23:54 +00:00
teor
b7cfa86199
control: Add GETINFO dir/status-vote/current/consensus-microdesc
Ticket 31684 adds support for GETINFO
dir/status-vote/current/consensus-microdesc as of Tor 0.4.3.1-alpha.

Closes 31762.
2019-10-21 15:00:21 +10:00
JeremyRand
cd916518f3
Bug 19859: Note that client protocols might be extended later 2019-10-11 00:11:57 +00:00
JeremyRand
c5d276cfb9
Bug 19859: Mark all stream isolation fields as optional 2019-10-11 00:11:56 +00:00
JeremyRand
de0ea88236
Bug 19859: Consolidate flag fields into ISO_FIELDS 2019-10-11 00:11:52 +00:00
David Goulet
a0321ecc75 control-spex: Clarify v2 vs v3 for ADD_ONION command
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-09 10:45:20 -04:00
David Goulet
03caff6632 control-spec: ADD_ONION ClientAuth is v2 only
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-09 10:39:23 -04:00
David Goulet
bf318ccb04 control-spec: ADD_ONION NEW:BEST is now ED25519-V3
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-03 15:46:47 -04:00
JeremyRand
f0364ccac6
Bug 19859: Add stream isolation fields to STREAM event 2019-09-20 14:33:36 +00:00
teor
e5ec028187
control-spec: Document logs that are not included in the Log event
Spec for 30901.
2019-08-02 12:59:36 +10:00
George Kadianakis
dafda39442 fixup! control-spec: Various improvements following mailing list feedback. 2019-06-03 16:18:21 +03:00
Nick Mathewson
4907ce3725 Document GETINFO limits/max-mem-in-queues 2019-05-16 15:45:14 -04:00
George Kadianakis
ce38ad7e46 control-spec: Various improvements following mailing list feedback.
- Rename all commands to be less arbitrary

- "Tells the server" -> "Tells the connected Tor"

- Make TYPE an actual type thing. We only support one for now, but that's OK.
  Controllers and Tor can take shortcuts if needed.

- Specify where credentials get stored.

- Support viewing all the credentials.

- Support the ADD command adding permanent credentials.

- Change X25519Key to X25519PrivKey.
2019-05-07 19:03:48 +03:00