Mike Perry
73f533432e
Send control port events for timeouts.
...
We now differentiate between timeouts and cutoffs by the REASON string and
the PURPOSE string.
2010-09-29 11:46:36 -07:00
Nick Mathewson
127336f8f5
Merge commit 'sebastian/misc-reason'
2010-08-15 21:27:32 -04:00
Sebastian Hahn
112518d41f
Fix a typo in control-spec
2010-08-12 02:38:58 +02:00
Sebastian Hahn
b05e57b6fb
Retry streams that ended with NOROUTE error
...
Also add the NOROUTE reason to control-spec.
2010-08-04 00:51:39 +02:00
Nick Mathewson
c87cb3f6d8
Merge remote branch 'mikeperry/cbt-bugfixes3'
2010-06-29 18:57:50 -04:00
Nick Mathewson
7dee71ff31
Make spec docs reference RFC2119
...
Now people will have no excuse for not knowing what "MUST" and "MAY"
mean. Fixes bug 1310.
2010-06-25 14:58:25 -04:00
Mike Perry
44289c1bcc
Add CLOSE_MS and CLOSE_RATE keywords to buildtimeout event.
2010-06-15 20:04:49 -07:00
Mike Perry
46a567c025
Add a TIMEOUT_RATE keyword to buildtimeout event.
2010-05-10 12:59:05 -07:00
Nick Mathewson
025645d95d
Document possibility of "unknown" version state.
...
reported by atagar; fixes bug 1289.
2010-03-09 00:08:38 -05:00
Nick Mathewson
a6ea2a1fe7
Clarify that CRLF means "A CR then an LF". Explain what those are.
...
Apparently this is not as obvious as I thought.
2010-03-05 17:00:42 -05:00
Mike Perry
29f1a36c96
Allow "EXTENDCIRCUIT 0" to omit a path.
2010-02-18 09:08:31 -08:00
Mike Perry
8c222ff26d
Add BUILDTIMEOUT_SET event for CBT stress testing.
2010-02-18 09:08:31 -08:00
Karsten Loesing
d54fd26f3a
Fix bridge statistics.
...
Fix statistics on client numbers by country as seen by bridges that were
broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour intervals
instead of variable 12-to-48-hour intervals.
2009-12-17 09:22:55 +01:00
Roger Dingledine
e23af39b5b
New controller command "getinfo config-text"
...
It returns the contents that Tor would write if you send it a SAVECONF
command, so the controller can write the file to disk itself.
2009-12-13 19:21:06 -05:00
Roger Dingledine
67590745a2
correct the spec for the stream_bw event.
...
"neonomad" pointed out on or-talk that the order is opposite from the
intuitive order. explain why. we chose to fix the spec rather than the
code because there are controllers like torflow that already expect
the current behavior.
2009-10-10 15:07:37 -04:00
Roger Dingledine
c57ebf68ac
a mish-mash of stuff in my sandbox
2009-09-17 01:58:39 -04:00
Nick Mathewson
64dce12ac8
Merge commit 'origin/maint-0.2.1'
2009-09-01 15:59:40 -04:00
Roger Dingledine
4f2f7672dc
Add getinfo accepted-server-descriptor. Clean spec.
...
Add a "getinfo status/accepted-server-descriptor" controller
command, which is the recommended way for controllers to learn
whether our server descriptor has been successfully received by at
least on directory authority. Un-recommend good-server-descriptor
getinfo and status events until we have a better design for them.
2009-08-31 18:37:25 -04:00
Roger Dingledine
bffe671c5d
Merge branch 'maint-0.2.1'
2009-08-28 03:47:18 -04:00
Roger Dingledine
ba73c90b36
Only send netinfo clock_skew to controller if an authority told us so
...
We were triggering a CLOCK_SKEW controller status event whenever
we connect via the v2 connection protocol to any relay that has
a wrong clock. Instead, we should only inform the controller when
it's a trusted authority that claims our clock is wrong. Bugfix
on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
2009-08-28 03:42:09 -04:00
Roger Dingledine
fd290e6650
fix typo in control-spec
2009-08-07 17:55:17 -04:00
Roger Dingledine
df46eec04b
Patch from atagar to fix control-spec
...
Specifically, admit that the "newconsensus" event exists, and
status/reachability has secretly been status/reachability-succeeded
all along, but nobody used it so we didn't notice.
2009-07-30 03:41:02 -04:00
Roger Dingledine
c591c6ad0f
resolve atagar's confusion with getinfo accounting
2009-07-13 17:34:47 -04:00
Nick Mathewson
dcc540eff7
Remove support for events without the extended format or long names.
...
Supporting the old formats made our code complex; running without them
has been discouraged since 0.2.1.x.
2009-05-25 12:52:25 -04:00
Sebastian Hahn
6bd09d5076
Remove all svn metadata minus what I missed.
...
Tor doesn't use SVN anymore, making $Revision$, $Id$ and $Date$
meaningless. Remove them without replacement.
2009-05-05 17:05:46 +02:00
Nick Mathewson
841b1e4369
Clarify that the nickname part of a LongName is indeed optional.
...
svn:r19076
2009-03-18 19:30:22 +00:00
Roger Dingledine
8d2a689e51
new controller event NEWCONSENSUS that lists the networkstatus
...
lines for every recommended relay.
still needs docdoc and changelog entry.
svn:r18556
2009-02-16 06:18:03 +00:00
Roger Dingledine
ea37df68d6
patch from matt to implement 'getinfo status/clients-seen'
...
svn:r18287
2009-01-28 06:50:36 +00:00
Roger Dingledine
a3295018a9
more minor bugs in the control spec
...
svn:r18286
2009-01-28 06:46:14 +00:00
Roger Dingledine
20bf59975e
typo found by 'nil'
...
svn:r18283
2009-01-28 00:03:47 +00:00
Roger Dingledine
0b10e0f40a
Let controllers actually ask for the "clients_seen" event. Bugfix
...
on 0.2.1.10-alpha; reported by Matt Edman.
svn:r18201
2009-01-21 03:24:27 +00:00
Nick Mathewson
607334a2cc
AUTHENTICATE is really mandatory. No authentication is not quite the default.
...
svn:r18024
2009-01-08 14:07:05 +00:00
Roger Dingledine
f713a3b179
New controller event "clients_seen" to report a geoip-based summary
...
of which countries we've seen clients from recently. Now controllers
like Vidalia can show bridge operators that they're actually making
a difference.
svn:r17796
2008-12-27 06:50:07 +00:00
Nick Mathewson
784ee9e24b
Add new internal-use-only option for controllers to use to prevent SIGHUP from reloading the configuration. Fixes bug 856.
...
svn:r17567
2008-12-10 22:17:02 +00:00
Nick Mathewson
0e8c949cc2
Specify the CONSENSUS_ARRIVED event.
...
svn:r17536
2008-12-09 18:17:07 +00:00
Roger Dingledine
4f7ee3046c
Serve the latest v3 networkstatus consensus via the control
...
port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
svn:r16907
2008-09-14 04:07:29 +00:00
Roger Dingledine
b7f5a34928
update and integrate proposals 125 (bridges) and 137 (bootstrap status)
...
svn:r16374
2008-08-03 15:34:28 +00:00
Roger Dingledine
628b9b7c95
start sending "bootstrap problem" status events when we're having troubles
...
reaching relays.
svn:r15116
2008-06-11 01:14:23 +00:00
Nick Mathewson
00d4ca0dc7
Fix the first part of bug 681, as suggested by Robert Hogan on or-talk.
...
svn:r14754
2008-05-27 21:02:36 +00:00
Nick Mathewson
43b4008fb3
r15704@host206: nickm | 2008-05-21 16:21:47 -0400
...
Clarification/explanation patch for specs, from Killerchicken
svn:r14687
2008-05-21 20:22:43 +00:00
Peter Palfrader
2250652ab1
Slightly clarify the control spec
...
svn:r14362
2008-04-12 16:58:20 +00:00
Nick Mathewson
5c022c7b94
r15024@tombo: nickm | 2008-03-29 01:37:09 -0400
...
Close proposal 126 ("Getting GeoIP data and publishing usage summaries.") It was never completely built, so note which parts wer and which were not. Not-built parts would be good topics for future proposals.
svn:r14232
2008-03-29 05:43:02 +00:00
Nick Mathewson
588ad72d72
r18723@catbus: nickm | 2008-03-11 00:25:30 -0400
...
Fix bug spotted by mwenge: a server_event should not be a sever_event. Also, fix compile errors in config.c and control.c with --enable-gcc-warnings.
svn:r13957
2008-03-11 04:30:14 +00:00
Roger Dingledine
6c7756f9b2
Change the behavior of "getinfo status/good-server-descriptor"
...
so it doesn't return failure when any authority disappears.
svn:r13645
2008-02-21 06:06:45 +00:00
Nick Mathewson
acabc49063
r14236@tombo: nickm | 2008-02-17 13:44:55 -0500
...
Partial fix for bug 586: Add an ephemeral __HashedControlSessionPassword.
svn:r13543
2008-02-17 18:45:07 +00:00
Nick Mathewson
779e00fa02
r18054@catbus: nickm | 2008-02-12 15:42:36 -0500
...
Clarify a non-obvious point in control-spec.txt; patch from mwenge.
svn:r13485
2008-02-12 20:42:40 +00:00
Roger Dingledine
e32b2ec8d4
other cleanups
...
svn:r13448
2008-02-09 17:56:52 +00:00
Nick Mathewson
79476a1a08
r17916@catbus: nickm | 2008-02-05 16:29:35 -0500
...
Fix some XXX020 items in control.c: add a maximum line length and note that the number of versioning authorities is no longer apparent to clients.
svn:r13390
2008-02-05 21:39:49 +00:00
Roger Dingledine
f11cd7417f
New config options WarnPlaintextPorts and RejectPlaintextPorts so
...
Tor can warn and/or refuse connections to ports commonly used with
vulnerable-plaintext protocols.
We still need to figure out some good defaults for them.
svn:r13198
2008-01-20 05:54:15 +00:00
Roger Dingledine
1f321b2992
explain a bit about router descriptor purposes
...
svn:r13154
2008-01-17 05:47:44 +00:00