[tor-commits] [tor/release-0.2.2] Merge changes files into 0.2.2.25 changelog

nickm at torproject.org nickm at torproject.org
Fri Apr 29 02:52:50 UTC 2011


commit 540c6f12cdbad84667e0def720d985f1cd8680ec
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Apr 28 22:53:43 2011 -0400

    Merge changes files into 0.2.2.25 changelog
---
 ChangeLog                           |   46 ++++++++++++++++++++++++++++++++--
 changes/bug2475                     |    5 ----
 changes/bug2722                     |   11 --------
 changes/bug3012                     |    5 ----
 changes/bug3020                     |    7 -----
 changes/bug3039                     |    5 ----
 changes/clear_trackexithost         |    5 ----
 changes/forget-rend-descs-on-newnym |   21 ----------------
 changes/gmtime_null                 |    6 ----
 changes/ticket2497                  |    4 ---
 10 files changed, 43 insertions(+), 72 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5f73d3b..4571fc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,17 @@ Changes in version 0.2.2.25-alpha - 2011-04-28
       file, don't wrongly inflate that value by a factor of 10 anymore.
       Also, resume reading bandwidth history from the state file correctly.
       Fixes bug 2704; bugfix on tor-0.2.2.23-alpha.
+    - When we find that we have extended a hidden service's introduction
+      circuit to a relay not listed as an introduction point in the HS
+      descriptor we currently have, retry an introduction point from the
+      current descriptor. Previously we would just give up. Fixes bugs
+      1024 and 1930; bugfix on 0.2.0.10-alpha.
+    - Clients now stop trying to use an exit node associated with a given
+      destination by TrackHostExits if they fail to reach that exit node.
+      Fixes bug 2999. Bugfix on 0.2.0.20-rc.
+    - Fix crash bug on platforms where gmtime and localtime can return
+      NULL. Fixes part of bug 2077. Bugfix on all versions of Tor. Found
+      by boboper.
 
   o Security and stability fixes:
     - Don't double-free a parsable, but invalid, microdescriptor, even
@@ -19,6 +30,9 @@ Changes in version 0.2.2.25-alpha - 2011-04-28
       Unnamed nickname. Fixes bug 2979, reported by tagnaq.
     - Fix an uncommon assertion failure when running with DNSPort under
       heavy load. Fixes bug 2933; bugfix on 2.0.1-alpha.
+    - Avoid linkability based on cached hidden service descriptors: forget
+      all hidden service descriptors cached as a client when processing a
+      SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
 
   o Major features:
     - Export GeoIP information on bridge usage to controller even if
@@ -87,6 +101,12 @@ Changes in version 0.2.2.25-alpha - 2011-04-28
     - Improve log messages related to excluded nodes.
 
   o Minor bugfixes:
+    - Fix a spurious warning when moving from a short month to a long month
+      on relays with month-based BandwidthAccounting.  Bugfix on
+      0.2.2.17-alpha; fixes bug 3020.
+    - When a client finds that an origin circuit has run out of 16-bit
+      stream IDs, we now mark it as unusable for new streams. Previously,
+      we would try to close the entire circuit. Bugfix on 0.0.6.
     - Added a forgotten cast that caused a compile warning on OS X 10.6.
       Bugfix on 0.2.2.24-alpha.
     - Be more careful about reporting the correct error from a failed
@@ -96,12 +116,14 @@ Changes in version 0.2.2.25-alpha - 2011-04-28
     - Correctly handle an "impossible" overflow cases in connection
       byte counting, where we write or read more than 4GB on an edge
       connection in a single second. Bugfix on 0.1.2.8-beta.
-    - When a client finds that an origin circuit has run out of 16-bit
-      stream IDs, we now mark it as unusable for new streams. Previously,
-      we would try to close the entire circuit. Bugfix on 0.0.6.
     - Correct the warning displayed when a rendezvous descriptor exceeds
       the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found
       by John Brooks.
+    - Clients and hidden services now use HSDir-flagged relays for hidden
+      service descriptor downloads and uploads even if the relays have no
+      DirPort set and the client has disabled TunnelDirConns. This will
+      eventually allow us to give the HSDir flag to relays with no
+      DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
     - Downgrade "no current certificates known for authority" message from
       Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
     - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes
@@ -110,15 +132,29 @@ Changes in version 0.2.2.25-alpha - 2011-04-28
       multiple HS descriptors are published to an HSDir relay in a
       single POST operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha.
       Found by hsdir.
+    - Write the current time into the LastWritten line in our state file,
+      rather than the time from the previous write attempt. Also, stop
+      trying to use a time of -1 in our log statements. Fixes bug 3039;
+      bugfix on 0.2.2.14-alpha.
     - Be more consistent in our treatment of file system paths. "~" should
       get expanded to the user's home directory in the Log config option.
       Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
       feature for the -f and --DataDirectory options.
 
   o Minor features:
+    - Make sure every relay writes a state file at least every 12 hours.
+      Previously, a relay could go for weeks without writing its state
+      file, and on a crash could lose its bandwidth history, capacity
+      estimates, client country statistics, and so on. Addresses bug 3012.
     - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
       Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
       clients are already deprecated because of security bugs.
+    - Don't allow v0 hidden service authorities to act as clients.
+      Required by fix for bug 3000.
+    - Ignore SIGNAL NEWNYM commands on relay-only Tor instances.
+      Required by fix for bug 3000.
+    - Ensure that no empty [dirreq-](read|write)-history lines are added
+      to an extrainfo document. Implements ticket 2497.
 
   o Code simplification and refactoring:
     - Removed workaround code to handle directory responses from
@@ -132,6 +168,10 @@ Changes in version 0.2.2.25-alpha - 2011-04-28
       in three places, and we never adjusted the known/unknown skew
       values. This is still something we might want to do someday,
       but if we do, we'll want to do it differently.
+    - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
+      (None of the cases where we did this before were wrong, but by making
+      this change we avoid warnings.) Fixes bug 2475; bugfix on
+      0.2.1.28.
     - Use GetTempDir to find the proper temporary directory location on
       Windows when generating temporary files for the unit tests. Patch
       by Gisle Vanem.
diff --git a/changes/bug2475 b/changes/bug2475
deleted file mode 100644
index d6f0595..0000000
--- a/changes/bug2475
+++ /dev/null
@@ -1,5 +0,0 @@
-  o Minor bugfixes:
-    - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
-      (None of the cases where we did this before were wrong, but by making
-      this change we can avoid warnings.)  Fixes bug2475; bugfix on
-      Tor 0.2.1.28.
diff --git a/changes/bug2722 b/changes/bug2722
deleted file mode 100644
index ed132fc..0000000
--- a/changes/bug2722
+++ /dev/null
@@ -1,11 +0,0 @@
-  o Minor bugfixes
-    - Ignore the TunnelDirConns option when determining which HSDir
-      relays are responsible for a hidden service descriptor ID.
-      Currently, clients and hidden services with TunnelDirConns off
-      will skip over HSDir relays which do not advertise a DirPort
-      when making a list of HSDirs responsible for a descriptor ID,
-      even though they would never try to use a HSDir's DirPort to
-      upload or fetch a hidden service descriptor.  Fixes bug 2722;
-      bugfix on 0.2.1.6-alpha.
-
-
diff --git a/changes/bug3012 b/changes/bug3012
deleted file mode 100644
index dfde5fa..0000000
--- a/changes/bug3012
+++ /dev/null
@@ -1,5 +0,0 @@
-  o Minor features:
-    - Relays can go for weeks without writing out their state file. A
-      relay that crashes would lose its bandwidth history (including
-      capacity estimate), client country statistics, and so on. Now relays
-      checkpoint the file at least every 12 hours. Addresses bug 3012.
diff --git a/changes/bug3020 b/changes/bug3020
deleted file mode 100644
index b987161..0000000
--- a/changes/bug3020
+++ /dev/null
@@ -1,7 +0,0 @@
-  o Minor bugfixes:
-    - When checking whether a hibernation period has fully elapsed, use
-      the amount of seconds we expect for that period instead of using
-      the new period that just started. This would cause an issue because
-      February is a really short month. Bugfix on 0.2.2.17-alpha;
-      fixes bug 3020.
-
diff --git a/changes/bug3039 b/changes/bug3039
deleted file mode 100644
index 7347ee3..0000000
--- a/changes/bug3039
+++ /dev/null
@@ -1,5 +0,0 @@
-  o Minor bugfixes:
-    - Write the current time into the LastWritten line in our state file,
-      rather than the time from the previous write attempt. Also, stop
-      trying to use a time of -1 in our log statements. Fixes bug 3039;
-      bugfix on 0.2.2.14-alpha.
diff --git a/changes/clear_trackexithost b/changes/clear_trackexithost
deleted file mode 100644
index b9ac6fe..0000000
--- a/changes/clear_trackexithost
+++ /dev/null
@@ -1,5 +0,0 @@
-  o Minor bugfixes:
-    - Fix a bug in the code where we could keep trying to use a
-      TrackHostExits-based mapping after we failed to reach the intended
-      destination node. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
-
diff --git a/changes/forget-rend-descs-on-newnym b/changes/forget-rend-descs-on-newnym
deleted file mode 100644
index da7afbe..0000000
--- a/changes/forget-rend-descs-on-newnym
+++ /dev/null
@@ -1,21 +0,0 @@
-  o Security fixes:
-    - Forget all hidden service descriptors cached as a client when
-      processing a SIGNAL NEWNYM command.  Fixes bug 3000.  Bugfix on
-      0.0.6.
-  o Major bugfixes:
-    - When we find that we have extended a hidden service's introduction
-      circuit to a relay which isn't listed as an introduction point in
-      the HS descriptor we currently have for the service, we now retry
-      one of the introduction points in the current HS descriptor.
-      Previously we would just give up.  Bugfix on 0.2.0.10-alpha; fixes
-      bugs 1024 and 1930.
-  o Minor bugfixes:
-    - Don't allow v0 hidden service authorities to act as clients.
-      Required by fix for bug 3000.
-    - Ignore SIGNAL NEWNYM commands on relay-only Tor instances.
-      Required by fix for bug 3000.
-  o Code simplifications and refactoring:
-    - Allow rend_client_send_introduction to fail without closing the
-      AP connection permanently.
-
-
diff --git a/changes/gmtime_null b/changes/gmtime_null
deleted file mode 100644
index 16a2540..0000000
--- a/changes/gmtime_null
+++ /dev/null
@@ -1,6 +0,0 @@
-  o Minor bugfixes
-    - On some platforms, gmtime and localtime can return NULL under
-      certain circumstances even for well-defined values of time_t.
-      Try to detect and make up for this deficiency.  Possible fix for
-      bug 2077.  Bugfix on all versions of Tor.  Found by boboper.
-
diff --git a/changes/ticket2497 b/changes/ticket2497
deleted file mode 100644
index 5117141..0000000
--- a/changes/ticket2497
+++ /dev/null
@@ -1,4 +0,0 @@
-  o Minor features:
-    - Ensure that no empty [dirreq-](read|write)-history lines are added
-      to an extrainfo document. Implements ticket 2497.
-



More information about the tor-commits mailing list