Commit Graph

62 Commits

Author SHA1 Message Date
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
Nick Mathewson
115271f65e Implement the common case of ATTACHSTREAM.
svn:r3751
2005-03-12 04:22:01 +00:00
Nick Mathewson
fc0e67bc72 Clarify some confusion about what GETINFO(addr-mappings) should return.
svn:r3727
2005-03-02 20:54:09 +00:00
Nick Mathewson
b494c2223d Specify and implement fragmented control messages to allow for (among other things) long GETINFO replies. Otherwise we could hit the 64K barrier on questions like "please dump your client-side DNS cache."
svn:r3726
2005-03-02 20:22:10 +00:00
Roger Dingledine
e050470112 make slightly clearer that mapaddress arguments are strings
svn:r3668
2005-02-23 06:58:18 +00:00
Nick Mathewson
f309168301 Tweak control-spec: add a GETINFO/INFOVALUE type pair to handle non-configuration stuff and to avoid proliferating more GETFOO/FOOVALUE pairs. Remove spurious 0x from signal codes. Simplify address-mapping format. Clarify what an identity looks like.
svn:r3635
2005-02-18 18:34:37 +00:00
Geoff Goodell
d418cd5f70 integrating changes related to building circuits, assigning streams, and exchanging descriptors (discussed on return trip from airport)
svn:r3630
2005-02-16 19:49:39 +00:00
Roger Dingledine
dd0ee183b7 As another exception, the controller can getconf the "version" string,
and Tor will return a string describing its version number. Setconf on
"version" will not work.


svn:r3591
2005-02-09 02:24:16 +00:00
Roger Dingledine
0703d01b13 fix some problems in control-spec
svn:r3351
2005-01-13 17:54:18 +00:00