Ver código fonte

r14103@catbus: nickm | 2007-08-09 18:30:40 -0400
Drop v1 directory support: instead, just generate stub v1 directories. This should save lots and lots of directory bandwidth, and break any code relying on v1 directories, including Tor 0.1.0.x and earlier.


svn:r11067

Nick Mathewson 17 anos atrás
pai
commit
5070a1e3ef
2 arquivos alterados com 8 adições e 1 exclusões
  1. 7 0
      ChangeLog
  2. 1 1
      src/or/or.h

+ 7 - 0
ChangeLog

@@ -1,4 +1,11 @@
 Changes in version 0.2.0.5-alpha - 2007-??-??
+  o Removed features:
+    - Version 1 directories are no longer generated in full.  Instead,
+      authorities generate and serve "stub" v1 directories that list no
+      servers.  This will stop Tor versions 0.1.0.x and earlier from working,
+      but (for security reasons) nobody should be running those versions
+      anyway.
+
   o Major bugfixes (compilation):
     - Try to fix win32 compilation again: Improve checking for ipv6 types.
     - Fix compile on platforms without getaddrinfo: bug found by Li-Hui

+ 1 - 1
src/or/or.h

@@ -157,7 +157,7 @@
 #endif
 
 /** Undefine this when it's time to stop generating v1 directories. */
-#define FULL_V1_DIRECTORIES
+// #define FULL_V1_DIRECTORIES
 /** Undefine this when it's time to stop includeing bandwidth info in router
  * descriptors. */
 #define INCLUDE_BW_INFO_IN_ROUTERDESCS