427 Commits

Author SHA1 Message Date
Nick Mathewson
f66d1826c0 Merge remote-tracking branch 'public/owning_control_fd' 2017-11-01 13:30:19 -04:00
Nick Mathewson
4c383824b8 Control-spec: document which signals have POSIX equivalents 2017-10-30 13:01:51 -04:00
Nick Mathewson
c912116e9b Break up a paragraph into bullet points
Also, s/hexidecimal/hexadecimal/.
2017-10-24 08:31:08 -04:00
Nick Mathewson
cc55d0a729 Merge remote-tracking branch 'tomrittervg/control-spec-editorial-1' 2017-10-24 08:28:29 -04:00
Tom Ritter
9e9d61ba48 Add clarifications to the authenticaiton mechanisms 2017-10-20 13:44:11 -05:00
Tom Ritter
144f33690d Explain the PROTOCOLINFO command 2017-10-20 13:44:05 -05:00
Tom Ritter
226a54418c Remove next-circuit.
It is not documented anywhere else, nor implemented.
It is not clear if the TODO refers to the documentation of the feature, or the feature itself.
Just remove it and we can add it back if it's implemented.
2017-10-20 11:55:36 -05:00
Nick Mathewson
77dce45902 Document __OwningControllerFD 2017-10-18 13:30:00 -04:00
Nick Mathewson
1bf2c16fbd Merge remote-tracking branch 'dgoulet/ticket19254_01' 2017-09-15 11:53:01 -04:00
Nick Mathewson
66cafba616 Merge branch 'feature23237_spec' 2017-09-08 08:10:39 -04:00
Nick Mathewson
6e887baac8 Note that AUTHDIR_NEWDESCS has been removed. #22377 2017-09-08 08:08:25 -04:00
Nick Mathewson
dc973f84d7 Document new GETINFO ip-to-country/ipv[46]-available options
Documents ticket 23237.
2017-08-25 12:26:42 -04:00
Nick Mathewson
675c470fe6 19537: Try to document and clarify GETINFO downloads/* 2017-08-23 10:10:15 -04:00
Nick Mathewson
d92fc8b17b 15333: Correct replies for GETINFO, SETCONF
SETCONF says 250 ok on success, like everything else.

GETINFO had some junk left around in it that was left over from good
old control-spec-v0.txt.
2017-08-23 09:36:33 -04:00
Nick Mathewson
3cc3b86299 14948: Document when GETINFO md/ and GETINFO ns/ exist 2017-08-23 09:30:13 -04:00
Roger Dingledine
205c60bcda clarify what "contents of a cookie" are 2017-07-05 14:29:17 -04:00
Donncha O'Cearbhaill
00b9dafcf3 Add timestamps to the CIRC_BW and STREAM_BW events.
Resolves ticket 19254.
2017-07-05 11:22:29 -04:00
Damian Johnson
630116feba Drop 'version added' clause from 'GETINFO sr/current'
This clause was added in...

  https://gitweb.torproject.org/torspec.git/commit/?id=5c82d5e

Commit message and ticket make no mention of 'GETINFO sr/current' go I suspect
Daniel meant for this to concern his addition. However, if that's the case then
according to the ticket it should be 0.3.1.1-alpha.

Just gonna drop this clause since it's probably wrong.
2017-07-03 15:19:33 -07:00
Nick Mathewson
b38e7ef011 control-spec: Clarify that the 16MB buffer limit went away in 2007
Closes ticket 22742.
2017-06-29 10:39:44 -04:00
Nick Mathewson
3efcd9340b Merge branch 'ticket22684_spec' 2017-06-29 10:17:10 -04:00
Nick Mathewson
378699c641 Specify the new {desc,md}/download-enabled GETINFO targets
Specifies ticket 22684.
2017-06-21 16:46:19 -04:00
Roger Dingledine
d09c357bda add missing word 2017-06-20 15:35:50 -04:00
Nick Mathewson
ccd21c0bb7 Clarify NEWDESC description; close 16556 2017-06-20 15:32:00 -04:00
Nick Mathewson
c07abd047d note that CLIENTS_SEEN is rounded; close 4688 2017-05-26 10:28:32 -04:00
Nick Mathewson
c815aad008 annotate %include stuff with version 2017-05-19 09:31:46 -04:00
Daniel Pinto
5c82d5e5e8 Adds GETCONF FORCE flag and getinfo config-can-saveconf #1922 2017-05-18 22:53:04 +01:00
David Goulet
1412d79159 control: Add to HS_DESC event the QUERY_NO_HSDIR reason
It is possible that a descriptor fetch fails because there are no suitable
HSDir that the client can pick. In this case, return the QUERY_NO_HSDIR
reason which makes HsDir to become "UNKNOWN" both in the HS_DESC and
HS_DESC_CONTENT event.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-05-03 09:37:06 -04:00
Nick Mathewson
6446210bfc control-spec: document GUARD_WAIT circuit status code 2017-01-30 10:32:32 -05:00
Roger Dingledine
54083d9f76 clean up sr/{current,previous} even more 2017-01-11 19:40:41 -05:00
Nick Mathewson
6602c67e7d Try to clean up sr/{current,previous} a little 2017-01-11 14:37:48 -05:00
Nick Mathewson
76ad2dadc4 Merge remote-tracking branch 'dgoulet/ticket19925_01' 2017-01-11 14:36:44 -05:00
Nick Mathewson
2c52061ab3 Merge remote-tracking branch 'jryans/dependant-corrected' 2017-01-11 09:28:09 -05:00
Nick Mathewson
a129533e0c Merge remote-tracking branch 'jryans/getinfo-program-name' 2017-01-11 09:27:19 -05:00
David Goulet
e7aaf1448a control: Add shared random value to GETINFO
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-01-09 11:26:20 -05:00
David Goulet
f2756e0d34 control: Fix some indentation issues and a key value
Apart from the indentation, the "download/" key for the GETINFO command is
wrong, it's actually "downloads/" so fixing that.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-01-09 10:09:58 -05:00
J. Ryan Stinnett
e2f2974d67 Use the correct spelling for "Dependent" in the control protocol.
Fixes #18146.
2017-01-03 11:52:52 -06:00
J. Ryan Stinnett
c5ff1b1965 Clarify program name is optional in GETINFO version
Fixes #20014.
2016-12-20 23:46:27 -06:00
teor
b8fe774cb5 Add a NonAnonymous flag to ADD_ONION in control-spec
Tor checks that the flag matches the onion service anonymity configured
using OnionServiceSingleHopMode and OnionServiceNonAnonymousMode.

Tor refuses to create unflagged onion service using ADD_ONION, if they
would be non-anonymous. The error is:
512 Tor is in non-anonymous onion mode

Similarly, if the NonAnonymous flag is present, and Tor has the default
anonymous onion config:
512 Tor is in anonymous onion mode
2016-09-13 10:43:29 -04:00
teor (Tim Wilson-Brown)
19df57848e
Update and clarify exit-policy/reject-private/relay for #18456
Add ExitPolicyRejectLocalInterfaces option.
Make it clear that the current option values determine the output.
2016-07-01 15:43:47 +10:00
Andrea Shepard
12d462f192 Specify download/ GETINFO queries for controller 2016-06-30 13:43:16 -04:00
Roger Dingledine
c15dada150 annotate getinfo dir-usage with when we removed the feature
see ticket 19035 for when we removed this feature.
2016-05-27 15:17:45 -04:00
Nick Mathewson
79ed432e5e document when we added 15588 2016-05-16 08:02:25 -04:00
Nick Mathewson
4749bf55c4 Merge remote-tracking branch 'special/feature15588' 2016-05-09 14:45:46 -04:00
Nick Mathewson
4e6f2abdcf Merge remote-tracking branch 'teor/bug18851' 2016-05-04 16:24:04 -04:00
teor (Tim Wilson-Brown)
56b3ef3d71 Clarify GETINFO status/reachability-succeeded/dir with no DirPort
It returns 1 when there's no need for a reachability check.
2016-04-20 14:26:08 +10:00
Yawning Angel
1632d6e310 Document the HIBERNATION_STATUS SERVER_STATUS sub-event. 2016-03-30 20:32:20 +00:00
Georg Koppen
03aaace9bd Bug 16081: Document status code consistency in single reply 2015-12-16 08:59:47 -05:00
teor (Tim Wilson-Brown)
d92f97b146 Update control-spec for exit-policy/reject-private/* 2015-11-16 23:40:16 +11:00
Georg Koppen
7f10e7a9d6 Bug 17578: Fix typos in control-spec.txt 2015-11-10 09:12:44 -05:00
Donncha O'Cearbhaill
8401f6bc69 Clarify Replica field in HS_DESC event
Clarify the format of the HS_DESC Replica field and indicate that it is
is defined in rend-spec.txt. Resolves #17226.
2015-10-06 15:15:41 +02:00