Commit Graph

70 Commits

Author SHA1 Message Date
Roger Dingledine
329af979e0 Add a new circuit purpose 'controller' to let the controller
ask for a circuit that Tor won't try to use.

Extend the EXTENDCIRCUIT controller command to let you specify
the purpose if you're starting a new circuit.

Add a new SETCIRCUITPURPOSE controller command to let you
change a circuit's purpose after it's been created.


svn:r6075
2006-02-23 06:51:09 +00:00
Roger Dingledine
f534bf33f6 apply contrib/checkSpace.pl to our spec files too.
svn:r5941
2006-02-09 03:44:49 +00:00
Roger Dingledine
96e350c16c minor fix to control spec
svn:r5904
2006-02-04 00:26:12 +00:00
Roger Dingledine
f0aefebf02 from the controller you can getinfo entry-guards now, not entry-nodes.
svn:r5780
2006-01-10 22:26:21 +00:00
Roger Dingledine
b1ea87da37 spec getinfo desc/all-recent
svn:r5769
2006-01-10 20:08:56 +00:00
Roger Dingledine
6efda1073d update the control spec to deprecate getinfo helper-nodes
svn:r5674
2005-12-28 09:11:14 +00:00
Roger Dingledine
782efd9e93 mention that getinfo helper-nodes can return status "never-connected".
also, make explicit that there's a space between status and isotime.


svn:r5648
2005-12-25 05:44:30 +00:00
Geoff Goodell
341ff5be94 separate address and port with a space in REDIRECTSTREAM command
svn:r5633
2005-12-22 03:27:37 +00:00
Roger Dingledine
c5bee116b6 clarify that tor will close unattached streams by itself after 2 minutes,
no matter what the controller does.


svn:r5501
2005-12-05 01:09:11 +00:00
Peter Palfrader
b9d37a2d58 Add a new controller event type that allows controllers to get all
server descriptors that were uploaded to a router in its role as authoritative
dirserver.


svn:r5436
2005-11-19 18:35:43 +00:00
Roger Dingledine
a32a63d50b document how the error values for closestream and closecircuit work.
also, let redirectstream take a port, in case we want to change that too.


svn:r5420
2005-11-18 11:17:24 +00:00
Roger Dingledine
396577d17e what to do on a failed setconf was a bit unspecified
svn:r5413
2005-11-17 22:01:24 +00:00
Roger Dingledine
38d3082b89 fix typo
svn:r5341
2005-11-01 06:27:43 +00:00
Nick Mathewson
a7ca56b537 More work towards a sane digest-based liveness testing.
svn:r5238
2005-10-12 13:49:13 +00:00
Roger Dingledine
ec9ef0da3b document the new functionality that crept in:
RESETCONF exitpolicy=foo
is equivalent to
SETCONF exitpolicy=foo
unless foo is a linelist with a non-null default (we don't have any
of those currently), in which it appends to the default rather than
replacing.


svn:r5047
2005-09-14 02:46:16 +00:00
Roger Dingledine
f08bccc460 correct a mistake i just added
svn:r5039
2005-09-13 22:43:41 +00:00
Roger Dingledine
c48cda7b02 update control spec to reflect our new SETCONF behavior
svn:r5038
2005-09-13 22:36:11 +00:00
Roger Dingledine
08348ae66e add a RESETCONF controller command, and make setconf with a null
option actually mean to set it to ""


svn:r4916
2005-09-08 03:18:51 +00:00
Roger Dingledine
445bce75dc formatting/numbering patch from matt edman
svn:r4881
2005-08-29 04:49:44 +00:00
Roger Dingledine
9064ea6c71 fix some typos in the control spec
svn:r4811
2005-08-22 20:05:41 +00:00
Roger Dingledine
486dc7007b document the 'quit' controller command
svn:r4776
2005-08-13 02:22:11 +00:00
Nick Mathewson
16528aa070 Add a config-file GETINFO entry; fix a minor memory leak on some SAVECONF calls.
svn:r4761
2005-08-10 18:05:20 +00:00
Nick Mathewson
4cb89fd557 Implement some more GETINFO goodness: expose helper nodes, config options, getinfo keys.
svn:r4694
2005-08-04 19:56:41 +00:00
Roger Dingledine
e573b3f7db it's called GETCONF, not GETCONFIG
svn:r4591
2005-07-17 22:39:21 +00:00
Nick Mathewson
cf13b3e4a6 Macro-fu to get DEBUG events working.
svn:r4539
2005-07-13 05:14:42 +00:00
Nick Mathewson
2d52be47b7 checkpoint minor control-spec cleanups
svn:r4533
2005-07-12 18:20:54 +00:00
Nick Mathewson
7479a55724 Note that authentication arguments are optional
svn:r4498
2005-06-27 23:41:03 +00:00
Nick Mathewson
6602098e03 Describe how to detect v0 or v1 protocol
svn:r4478
2005-06-24 18:04:00 +00:00
Nick Mathewson
e376e6cc07 note GETCONF default feature in spec
svn:r4463
2005-06-19 23:22:34 +00:00
Nick Mathewson
64fc1f7bae Implement all the rest of the new controller protocol, debug a little, add some new features, add ADDRMAP events.
svn:r4460
2005-06-19 20:40:41 +00:00
Nick Mathewson
c1e91ff493 Address points by arma and points not by arma in new control-spec.txt
svn:r4451
2005-06-18 01:49:03 +00:00
Roger Dingledine
bc3c578576 some fixes and questions on the control spec
svn:r4450
2005-06-18 01:34:28 +00:00
Nick Mathewson
946892ab68 First (and fragmentary) draft of revised controller protocol.
svn:r4446
2005-06-17 18:49:04 +00:00
Nick Mathewson
8666f07f65 Document s2k and cookie auth methods; resolve bug 153
svn:r4307
2005-06-05 14:10:48 +00:00
Nick Mathewson
4991290935 Revise control spec and implementation to allow all log messages to be sent to controller with their severities intact.
svn:r4010
2005-04-05 22:56:17 +00:00
Nick Mathewson
4a90d37229 Better messages when POSTDESCRIPTOR fails
svn:r3989
2005-04-02 22:02:13 +00:00
Roger Dingledine
aef0ac4090 fix typo
svn:r3915
2005-03-29 01:47:07 +00:00
Nick Mathewson
fca6800b8b Rename option in control-spec.txt too.
svn:r3896
2005-03-27 06:42:27 +00:00
Roger Dingledine
d751d4048b change control spec so closestream doesn't get to specify whether
tor should hold-open-until-flushed. tor should take care of that
(it should always hold open until flushed), and the controller should
never care _how_ tor does its things.


svn:r3892
2005-03-27 04:56:01 +00:00
Nick Mathewson
5edd94b27e Clarify behavior of SETEVENTS: it is SET, not ADD.
svn:r3871
2005-03-25 05:49:01 +00:00
Roger Dingledine
4dc570bf60 note that you can't attachstream to a non-open circuit.
svn:r3858
2005-03-24 06:29:28 +00:00
Geoff Goodell
8fc1061b84 added short descriptions to circuit-related event codes
svn:r3854
2005-03-24 05:30:08 +00:00
Nick Mathewson
27e00e3fdd Document EXTENDCIRCUIT DONE message behavior.
svn:r3853
2005-03-24 01:15:39 +00:00
Nick Mathewson
7a0072cc1a Specify and implement close-stream and close-circuit control messages
svn:r3814
2005-03-22 19:36:38 +00:00
Roger Dingledine
171ce8f1db update control-spec too
svn:r3802
2005-03-22 03:35:37 +00:00
Geoff Goodell
6152264c0d specify that a key-value configuration line consists of key-space-value.
svn:r3794
2005-03-21 04:25:58 +00:00
Nick Mathewson
07a7b6af64 Implement redirectstream in control interface.
svn:r3785
2005-03-19 06:05:55 +00:00
Nick Mathewson
df9c8feac7 Commit fixes for several pending tor core tasks: document all DOCDOCed functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
svn:r3769
2005-03-17 12:38:37 +00:00
Nick Mathewson
538b613079 <arma2> - closed=4, new connection=5, new resolve request=6)
<arma2> +                    closed=4, new connection=5, new resolve request=6,
<arma2> +                    stream detached from circuit, retriable=7)
<arma2> nick: this comma is confusing.


svn:r3761
2005-03-14 22:15:45 +00:00
Nick Mathewson
e2715ac24f Note a couple of changes in TC
svn:r3760
2005-03-14 22:13:42 +00:00