summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2010-04-03 22:05:02 -0400
committerRoger Dingledine <arma@torproject.org>2010-04-03 22:05:02 -0400
commit8aec982f910f918785158038e5afafe55f869372 (patch)
tree30afce1131f4b0b84645e46f8ae92de45c591676
parent7b3cd4dceb59aece863528b13d8eda19df6480a8 (diff)
parent0324d3b0ec6d8ee0ec24c2e93915c9aa70e1665d (diff)
downloadtor-8aec982f910f918785158038e5afafe55f869372.tar.gz
tor-8aec982f910f918785158038e5afafe55f869372.zip
Merge branch 'maint-0.2.1'
Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h
-rw-r--r--ChangeLog6
-rw-r--r--ReleaseNotes24
-rw-r--r--changes/1324-fetch-from-v3-not-v25
-rw-r--r--contrib/tor-mingw.nsi.in1
-rw-r--r--src/or/directory.c8
5 files changed, 40 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index c9f5f1942e..b79725fe4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -164,7 +164,11 @@ Changes in version 0.2.2.9-alpha - 2010-02-22
open() without checking it.
-Changes in version 0.2.1.25 - 2010-03-??
+Changes in version 0.2.1.25 - 2010-03-16
+ Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
+ prevent relays from guessing their IP address correctly. It also fixes
+ several minor potential security bugs.
+
o Major bugfixes:
- Fix a regression from our patch for bug 1244 that caused relays
to guess their IP address incorrectly if they didn't set Address
diff --git a/ReleaseNotes b/ReleaseNotes
index ee0097a787..daac38c44a 100644
--- a/ReleaseNotes
+++ b/ReleaseNotes
@@ -3,6 +3,30 @@ This document summarizes new features and bugfixes in each stable release
of Tor. If you want to see more detailed descriptions of the changes in
each development snapshot, see the ChangeLog file.
+Changes in version 0.2.1.25 - 2010-03-16
+ Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
+ prevent relays from guessing their IP address correctly. It also fixes
+ several minor potential security bugs.
+
+ o Major bugfixes:
+ - Fix a regression from our patch for bug 1244 that caused relays
+ to guess their IP address incorrectly if they didn't set Address
+ in their torrc and/or their address fails to resolve. Bugfix on
+ 0.2.1.23; fixes bug 1269.
+ - When freeing a session key, zero it out completely. We only zeroed
+ the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
+ patched by ekir. Fixes bug 1254.
+
+ o Minor bugfixes:
+ - Fix a dereference-then-NULL-check sequence when publishing
+ descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
+ bug 1255.
+ - Fix another dereference-then-NULL-check sequence. Bugfix on
+ 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
+ - Make sure we treat potentially not NUL-terminated strings correctly.
+ Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
+
+
Changes in version 0.2.1.24 - 2010-02-21
Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
for sure!
diff --git a/changes/1324-fetch-from-v3-not-v2 b/changes/1324-fetch-from-v3-not-v2
new file mode 100644
index 0000000000..7026980558
--- /dev/null
+++ b/changes/1324-fetch-from-v3-not-v2
@@ -0,0 +1,5 @@
+ o Major bugfixes:
+ - Directory mirrors were fetching relay descriptors only from v2
+ directory authorities, rather than v3 authorities like they should.
+ Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
+ to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
diff --git a/contrib/tor-mingw.nsi.in b/contrib/tor-mingw.nsi.in
index 523ca760da..3283c2f1b6 100644
--- a/contrib/tor-mingw.nsi.in
+++ b/contrib/tor-mingw.nsi.in
@@ -8,7 +8,6 @@
!include "LogicLib.nsh"
!include "FileFunc.nsh"
!insertmacro GetParameters
-
!define VERSION "0.2.2.10-alpha-dev"
!define INSTALLER "tor-${VERSION}-win32.exe"
!define WEBSITE "https://www.torproject.org/"
diff --git a/src/or/directory.c b/src/or/directory.c
index 39e67c957f..52e1c392cf 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -130,6 +130,8 @@ authority_type_to_string(authority_type_t auth)
smartlist_add(lst, (void*)"V1");
if (auth & V2_AUTHORITY)
smartlist_add(lst, (void*)"V2");
+ if (auth & V3_AUTHORITY)
+ smartlist_add(lst, (void*)"V3");
if (auth & BRIDGE_AUTHORITY)
smartlist_add(lst, (void*)"Bridge");
if (auth & HIDSERV_AUTHORITY)
@@ -311,12 +313,14 @@ directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose,
case DIR_PURPOSE_FETCH_EXTRAINFO:
type = EXTRAINFO_CACHE |
(router_purpose == ROUTER_PURPOSE_BRIDGE ? BRIDGE_AUTHORITY :
- V2_AUTHORITY);
+ V3_AUTHORITY);
break;
case DIR_PURPOSE_FETCH_V2_NETWORKSTATUS:
+ type = V2_AUTHORITY;
+ break;
case DIR_PURPOSE_FETCH_SERVERDESC:
type = (router_purpose == ROUTER_PURPOSE_BRIDGE ? BRIDGE_AUTHORITY :
- V2_AUTHORITY);
+ V3_AUTHORITY);
break;
case DIR_PURPOSE_FETCH_RENDDESC:
type = HIDSERV_AUTHORITY;