427 Commits

Author SHA1 Message Date
Nick Mathewson
c4402e05e4 Cleanup: changes introduced on 0.2.3.11-alpha were listed as 0.2.3.2-alpha 2012-01-16 16:52:51 -05:00
Nick Mathewson
912742bffe Add CONF_CHANGED to eventcode list 2012-01-11 12:20:29 -05:00
Nick Mathewson
61511c1d93 Revise control-spec additions for CIRC_MINOR 2012-01-11 12:20:01 -05:00
Nick Mathewson
e398656414 Merge remote-tracking branch 'rransom-tor/feature3457-v2'
Conflicts:
	control-spec.txt
2012-01-11 12:13:15 -05:00
Nick Mathewson
50c33cb359 Merge remote-tracking branch 'rransom/bug2411a-v2' 2011-12-22 10:59:26 -05:00
Sebastian Hahn
57efa12578 Trivial whitespace cleanup 2011-11-26 04:09:21 +01:00
Robert Ransom
681c99ed25 Fix bogosity presumably left over from the v0 control protocol 2011-11-08 10:58:45 -08:00
Robert Ransom
dc73a42c5a Document GETINFO items added for #3832 2011-11-08 10:58:12 -08:00
Roger Dingledine
d4b656274e fix two bugs in the signal section of control-spec
first, a hup signal doesn't make us refetch directory information

second, the 30-second controlled shutdown is actually a config option.
2011-09-20 11:01:10 -04:00
Roger Dingledine
6011816082 renumber CONF_CHANGED section 2011-08-28 19:38:31 -04:00
Nick Mathewson
f30a4da9ab Fix ambiguity in splitting keyword from arguments 2011-08-28 19:37:58 -04:00
Nick Mathewson
361171e631 Clarify multi-line commands in control spec 2011-08-28 19:37:58 -04:00
Nick Mathewson
9fdd1107f8 Merge remote-tracking branch 'krkahn/bug1692' 2011-08-10 15:07:30 -04:00
Mike Perry
7b8a7fbf9b DIAF RFC2234.
You suck at life and nobody will ever understand you.
2011-08-10 10:07:25 -07:00
Mike Perry
043051b79f Clarify control port authentication.
Encoded hex strings are useful, but the previous revision conflated them
with how the tor implementations stores them on disk.
2011-08-10 09:58:42 -07:00
Kamran Riaz Khan
74f21a8ef8 Fixed EndLine for CONF_CHANGED event. 2011-08-09 18:54:10 +05:00
Kamran Riaz Khan
223656cdb1 Added definition of CONF_CHANGED event. 2011-08-09 07:38:02 +05:00
Nick Mathewson
882d000484 Clarify control-spec.txt on "tolerating" extra k=vs
This brings control-spec.txt into compliance with what I meant when
I wrote the relevant portions; I note in the text that not all
controllers are currently compliant.
2011-06-29 18:06:07 -04:00
Robert Ransom
ca3f983039 Document TIME_CREATED field of CIRC/CIRC2 events 2011-06-27 15:44:32 -07:00
Robert Ransom
c2627218b1 Explicitly allow future new types of CIRC2 events 2011-06-27 12:09:40 -07:00
Robert Ransom
e195a4c8d2 Document CIRC2 event 2011-06-27 12:09:40 -07:00
Robert Ransom
2f040bc03e Document new fields added for #2411 2011-06-27 10:53:52 -07:00
Robert Ransom
4651a4cf7f Fix spec typos 2011-06-23 16:53:03 -07:00
Robert Ransom
08ee50971e Fix trivial formatting issue 2011-06-16 00:30:18 -07:00
Robert Ransom
fb26214fbe Document (previously implemented) PURPOSE field of CIRC events 2011-06-16 00:29:31 -07:00
Nick Mathewson
21b54d39e5 Correct description of HiddenServiceOptions in control-spec.
Two of the options it mentioned no longer exist; two more have been
added.  Fixes bug 3268.
2011-05-24 11:11:32 -04:00
Robert Ransom
b91918eead Document the intended use of the ‘owning controller’ features 2011-05-23 01:24:53 -04:00
Robert Ransom
37d7a9e4c2 Document TAKEOWNERSHIP command 2011-05-23 01:24:52 -04:00
Robert Ransom
c4bba8b626 Document __OwningControllerProcess option 2011-05-23 01:24:52 -04:00
Robert Ransom
757f6dc617 Document LOADCONF
Fixes bug 3222.
2011-05-21 23:30:46 -07:00
Robert Ransom
c8ab383e47 Fix minor issue 2011-05-21 23:30:25 -07:00
Nick Mathewson
731705f03a It's 0.2.2.26-beta, not -alpha. 2011-05-17 18:10:34 -04:00
Nick Mathewson
e8b9f331bc Document feature3076-related GETINFO keys 2011-05-13 10:44:42 -04:00
Robert Ransom
051ed9a172 Fix minor issues 2011-05-09 19:32:55 -07:00
Nick Mathewson
56a66372d4 In specs, do not say "server" when we mean "relay" or "node"
Fixes bug 2936.
2011-05-09 10:37:02 -04:00
Robert Ransom
49b179585a Move a misplaced parenthesis 2011-04-19 17:16:29 -07:00
Robert Ransom
0f11e4f2ed Correct name of the __AllDirActionsPrivate option 2011-04-14 18:20:11 -07:00
Nick Mathewson
bb16925b43 Merge remote branch 'origin/maint-0.2.2' 2011-02-07 12:47:04 -05:00
Nick Mathewson
7ceb099c79 Add client code to detect attempts to connect to 127.0.0.1 etc
We detect and reject said attempts if there is no chosen exit node or
circuit: connecting to a private addr via a randomly chosen exit node
will usually fail (if all exits reject private addresses), is always
ill-defined (you're not asking for any particular host or service),
and usually an error (you've configured all requests to go over Tor
when you really wanted to configure all _remote_ requests to go over
Tor).

This can also help detect forwarding loop requests.

Found as part of bug2279.
2011-01-25 20:39:44 -05:00
Damian Johnson
6ca25c8c25 GETINFO options for querying traffic usage
This was originally a patch provided by pipe
(http://www.mail-archive.com/or-talk@freehaven.net/msg13085.html) to
provide a method for controllers to query the total amount of traffic
tor has handled (this is a frequently requested piece of information
by relay operators).
2011-01-07 12:15:14 -05:00
Damian Johnson
7e287f44ae Implementing getinfo options for the pid, uid, user, and descriptor limit as per proposal 173. 2011-01-03 12:04:56 -05:00
Nick Mathewson
cbdd7b4e5e Merge remote branch 'origin/maint-0.2.2' 2010-12-01 12:45:38 -05:00
Poet (Tim Sally)
130ff4614d Specified grammars for orconn-status and entry-guards for Tor versions 0.1.2.2-alpha through 0.2.2.1-alpha with feature VERBOSE_NAMES turned off. 2010-12-01 12:44:48 -05:00
Poet (Tim Sally)
847b60e973 Correct information about support for guards being called helper nodes.
The spec stated that support for the helper-nodes command would be removed
in 0.1.3.x, however support for this command is still in Tor. Updated the spec
to reflect this and added a node that the command is deprecated.
2010-12-01 12:44:48 -05:00
Poet (Tim Sally)
454206b954 Correct grammars to reflect that VERBOSE_NAMES is part of the protocol.
Several updates to grammars for events and GETINFO results.  All relate
to the fact that LongName has replaced ServerID since 0.2.2.1-alpha. See
documentation of VERBOSE_NAMES for more information. The following
grammars were changed:
  * orconn-status GETINFO result
  * entry-guards GETINFO result
  * Path general token
  * OR Connection status changed event
  * New descriptors available event
In all cases a note was added about when the old grammar applies.
2010-12-01 12:44:48 -05:00
Poet (Tim Sally)
5e84d3d3ee Several changes to the way tokens describing servers are documented.
(1) Made the wording of the comments consistant with token names.
Digest/Fingerprint and Name/Nickname were being used interchangeably.
Better to just use Fingerprint and Nickname becuase they are the names
of the tokens.

(2) Places the tokens currently in use before the tokens used in older
versions.  ServerSpec should be documented before ServerID.

(3) Added a note to the comments about ServerID that cross reference
the VERBOSE_FEATURE, allowing users to see when and why ServerID was
replaced with LongName.
2010-12-01 12:44:48 -05:00
Poet (Tim Sally)
1cc673a4b4 Clarify description of FEATURES in control-spec.
(1) On by default is a bad way to describe features. Rather, they
are always on and should be viewed as a part of the control
protocol. Updated the wording in USEFEATURE to reflect this.

(2) Made descriptions of Tor versions consistant across all
features. There is the version in which a feature was introduced and
the version in which it became part of the protocol.

(3) Reworded the description of the VERBOSE_NAMES feature. The
previous wording describes the way things used to be first. Better to
lead with the current state of things and then describe how it differs
from old versions.
2010-12-01 12:44:48 -05:00
Nick Mathewson
97d8076f5b Add some caveats to the signal event 2010-11-19 15:52:10 -05:00
John Brooks
b8a9d52884 Add a SIGNAL event for control connections
Implements ticket #1955
2010-11-19 15:49:54 -05:00
Karsten Loesing
bf8ef6d157 Make logging resolution configurable.
Implements enhancement 1668.
2010-10-04 08:15:18 +02:00