Commit Graph

49 Commits

Author SHA1 Message Date
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
Nick Mathewson
9883137f54 Add proposal to control spec for a simple way to bind IP addresses to hostnames. Example: "Please make all requests for 10.200.0.1 go to foobarbaz.onion". This feature would be needed for any attempt to write a torified DNS proxy. Needs more thought and more comments.
svn:r3313
2005-01-06 02:02:18 +00:00
Roger Dingledine
1a946d0efd remove misleading (and potentially dangerous) statement that clients
are rate-limited more than servers


svn:r3170
2004-12-17 22:32:23 +00:00
Roger Dingledine
26bce698ad specify the control-spec's 'signal' command
svn:r3169
2004-12-17 22:14:58 +00:00
Roger Dingledine
7c9a707900 remove emacs droppings, since nick says he doesn't need them anymore
svn:r2989
2004-11-26 04:00:55 +00:00
Roger Dingledine
3235c72f6c control event logs include loglevel notice
svn:r2746
2004-11-09 10:32:02 +00:00
Nick Mathewson
c514a06663 Fix up error codes
svn:r2706
2004-11-07 22:58:35 +00:00
Roger Dingledine
d550ea11cd clean up control spec, man page
svn:r2703
2004-11-07 22:36:43 +00:00
Nick Mathewson
9a06612ff6 Adjust GETCONFIG/SETCONFIG specification in control-spec
svn:r2677
2004-11-04 22:30:14 +00:00
Nick Mathewson
65b4c6b830 Update control-spec.txt; some minor changes; more thoughts on authentication
svn:r2665
2004-11-03 19:57:43 +00:00
Nick Mathewson
347d3f9d62 Start implementing control interface.
svn:r2652
2004-11-03 01:32:26 +00:00
Nick Mathewson
79ccbab100 fix a typo (spotted by weasel)
svn:r2332
2004-09-08 06:46:13 +00:00
Nick Mathewson
70778dc7a8 Add spec for UI control protocol
svn:r2203
2004-08-09 04:21:12 +00:00