diff options
author | Roger Dingledine <arma@torproject.org> | 2007-03-16 03:00:57 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-03-16 03:00:57 +0000 |
commit | 574f234dc79edc9fb392b10ac6fdef0bd2d7ac91 (patch) | |
tree | f243e147bc5929f9bc01a752de7fa2da4d04e4c1 | |
parent | 9027b7acf9dd0529164c9724b6c5ea36ae626d13 (diff) | |
download | tor-574f234dc79edc9fb392b10ac6fdef0bd2d7ac91.tar.gz tor-574f234dc79edc9fb392b10ac6fdef0bd2d7ac91.zip |
backport r9817 and r9823, and bump to 0.1.2.11-rc.
svn:r9836
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | contrib/tor-mingw.nsi.in | 2 | ||||
-rw-r--r-- | doc/spec/control-spec.txt | 8 | ||||
-rw-r--r-- | src/or/control.c | 5 | ||||
-rw-r--r-- | src/win32/orconfig.h | 2 |
6 files changed, 20 insertions, 8 deletions
@@ -1,3 +1,12 @@ +Changes in version 0.1.2.11-rc - 2007-03-15 + o Minor bugfixes (controller): + - Correct the control spec to match how the code actually responds + to 'getinfo addr-mappings/*'. + - The control spec described a GUARDS event, but the code + implemented a GUARD event. Standardize on GUARD, but support people + asking for GUARDS too. + + Changes in version 0.1.2.10-rc - 2007-03-07 o Major bugfixes (Windows): - Do not load the NT services library functions (which may not exist) diff --git a/configure.in b/configure.in index 97890708d0..b87ff208a0 100644 --- a/configure.in +++ b/configure.in @@ -4,7 +4,7 @@ dnl Copyright (c) 2004-2007, Roger Dingledine, Nick Mathewson dnl See LICENSE for licensing information AC_INIT -AM_INIT_AUTOMAKE(tor, 0.1.2.10-rc) +AM_INIT_AUTOMAKE(tor, 0.1.2.11-rc) AM_CONFIG_HEADER(orconfig.h) AC_CANONICAL_HOST diff --git a/contrib/tor-mingw.nsi.in b/contrib/tor-mingw.nsi.in index dfa3109513..4aac2015f2 100644 --- a/contrib/tor-mingw.nsi.in +++ b/contrib/tor-mingw.nsi.in @@ -5,7 +5,7 @@ ; !include "MUI.nsh" -!define VERSION "0.1.2.10-rc" +!define VERSION "0.1.2.11-rc" !define INSTALLER "tor-${VERSION}-win32.exe" !define WEBSITE "http://tor.eff.org/" diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt index ffa682df3d..3cae676d9a 100644 --- a/doc/spec/control-spec.txt +++ b/doc/spec/control-spec.txt @@ -194,7 +194,7 @@ $Id$ EventCode = "CIRC" / "STREAM" / "ORCONN" / "BW" / "DEBUG" / "INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" / "AUTHDIR_NEWDESCS" / "DESCCHANGED" / "STATUS_GENERAL" / - "STATUS_CLIENT" / "STATUS_SERVER" / "GUARDS" / "NS" / "STREAM_BW" + "STATUS_CLIENT" / "STATUS_SERVER" / "GUARD" / "NS" / "STREAM_BW" Any events *not* listed in the SETEVENTS line are turned off; thus, sending SETEVENTS with an empty body turns off all event reporting. @@ -378,8 +378,8 @@ $Id$ "addr-mappings/all" "addr-mappings/config" "addr-mappings/cache" - "addr-mappings/control" -- a space-separated list of address - mappings, each in the form of "from-address=to-address". + "addr-mappings/control" -- a \r\n-separated list of address + mappings, each in the form of "from-address to-address". The 'config' key returns those address mappings set in the configuration; the 'cache' key returns the mappings in the client-side DNS cache; the 'control' key returns the mappings set @@ -1263,7 +1263,7 @@ $Id$ 4.1.11. Our set of guard nodes has changed Syntax: - "650" SP "GUARDS" SP Type SP Name SP Status ... CRLF + "650" SP "GUARD" SP Type SP Name SP Status ... CRLF Type = "ENTRY" Name = The (possibly verbose) nickname of the guard affected. Status = "NEW" | "UP" | "DOWN" | "BAD" | "GOOD" | "DROPPED" diff --git a/src/or/control.c b/src/or/control.c index bfe6281570..7b69b42ad4 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1142,7 +1142,10 @@ handle_control_setevents(control_connection_t *conn, uint32_t len, event_code = EVENT_STATUS_SERVER; else if (!strcasecmp(ev, "GUARD")) event_code = EVENT_GUARD; - else if (!strcasecmp(ev, "STREAM_BW")) + else if (!strcasecmp(ev, "GUARDS")) { + /* XXX tolerate buggy spec in 0.1.2.5-alpha through 0.1.2.10-rc */ + event_code = EVENT_GUARD; + } else if (!strcasecmp(ev, "STREAM_BW")) event_code = EVENT_STREAM_BANDWIDTH_USED; else { connection_printf_to_buf(conn, "552 Unrecognized event \"%s\"\r\n", diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h index 30a8801f22..a8e5870cb7 100644 --- a/src/win32/orconfig.h +++ b/src/win32/orconfig.h @@ -227,6 +227,6 @@ #define USING_TWOS_COMPLEMENT /* Version number of package */ -#define VERSION "0.1.2.10-rc" +#define VERSION "0.1.2.11-rc" |