cleanups, bump to 0.2.0.12-alpha

svn:r12516
This commit is contained in:
Roger Dingledine 2007-11-17 02:22:56 +00:00
parent d6f8ba25c9
commit 6514843026
6 changed files with 20 additions and 18 deletions

View File

@ -1,15 +1,16 @@
Changes in version 0.2.0.12-alpha - 2007-11-?? Changes in version 0.2.0.12-alpha - 2007-11-16
o Compile fixes: o Compile fixes:
- Make it build on OpenBSD again. Patch from tup. - Make it build on OpenBSD again. Patch from tup.
- Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes packaging. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
package-building for Red Hat, OS X, etc.
o Minor bugfixes: o Minor bugfixes:
- When we're lacking a consensus, don't try to perform rendezvous - When we're lacking a consensus, don't try to perform rendezvous
operations. (Bug spotted by Karsten) operations. Reported by Karsten Loesing.
- Fix a small memory leak whenever we decide against using a - Fix a small memory leak whenever we decide against using a
newly picked entry guard. Reported by Mike Perry. newly picked entry guard. Reported by Mike Perry.
- Changing the ExitPolicyRejectPrivate setting should cause us to - Changing the ExitPolicyRejectPrivate setting should cause us to
rebuild the descriptor. rebuild our server descriptor.
- When authorities detected more than two relays running on the same - When authorities detected more than two relays running on the same
IP address, they were clearing all the status flags but forgetting IP address, they were clearing all the status flags but forgetting
to clear the "hsdir" flag. So clients were being told that a to clear the "hsdir" flag. So clients were being told that a
@ -25,9 +26,10 @@ Changes in version 0.2.0.12-alpha - 2007-11-??
then be flexible about families. then be flexible about families.
o Minor features: o Minor features:
- When we negotiate a v2 OR connection (not yet implemented), accept - When we negotiate a v2 link-layer connection (not yet implemented),
RELAY_EARLY cells and turn them into RELAY cells if we've negotiated accept RELAY_EARLY cells and turn them into RELAY cells if we've
a v1 connection. Initial code for proposal 110. negotiated a v1 connection for their next step. Initial code for
proposal 110.
Changes in version 0.2.0.11-alpha - 2007-11-12 Changes in version 0.2.0.11-alpha - 2007-11-12

View File

@ -4,7 +4,7 @@ dnl Copyright (c) 2004-2007, Roger Dingledine, Nick Mathewson
dnl See LICENSE for licensing information dnl See LICENSE for licensing information
AC_INIT AC_INIT
AM_INIT_AUTOMAKE(tor, 0.2.0.11-alpha-dev) AM_INIT_AUTOMAKE(tor, 0.2.0.12-alpha)
AM_CONFIG_HEADER(orconfig.h) AM_CONFIG_HEADER(orconfig.h)
AC_CANONICAL_HOST AC_CANONICAL_HOST

View File

@ -5,7 +5,7 @@
; ;
!include "MUI.nsh" !include "MUI.nsh"
!define VERSION "0.2.0.11-alpha-dev" !define VERSION "0.2.0.12-alpha"
!define INSTALLER "tor-${VERSION}-win32.exe" !define INSTALLER "tor-${VERSION}-win32.exe"
!define WEBSITE "https://www.torproject.org/" !define WEBSITE "https://www.torproject.org/"

View File

@ -14,12 +14,10 @@ J - Jeff claims
D Deferred D Deferred
X Abandoned X Abandoned
Items blocking 0.2.0.11-alpha: For Tor 0.2.0.13-alpha:
- bug 548.
For Tor 0.2.0.12-alpha:
- Put a consensus in place of the empty fallback-consensus file in - Put a consensus in place of the empty fallback-consensus file in
src/config and see what breaks. src/config and see what breaks.
- let bridges set relaybandwidthrate as low as 5kb
Things we'd like to do in 0.2.0.x: Things we'd like to do in 0.2.0.x:
- See also Flyspray tasks. - See also Flyspray tasks.

View File

@ -2888,9 +2888,6 @@ options_validate(or_options_t *old_options, or_options_t *options,
*msg = tor_strdup(r >= 0 ? buf : "internal error"); *msg = tor_strdup(r >= 0 ? buf : "internal error");
return -1; return -1;
} }
if (options->RelayBandwidthRate > options->RelayBandwidthBurst)
REJECT("RelayBandwidthBurst must be at least equal "
"to RelayBandwidthRate.");
if (options->RelayBandwidthRate && if (options->RelayBandwidthRate &&
options->RelayBandwidthRate < ROUTER_REQUIRED_MIN_BANDWIDTH) { options->RelayBandwidthRate < ROUTER_REQUIRED_MIN_BANDWIDTH) {
r = tor_snprintf(buf, sizeof(buf), r = tor_snprintf(buf, sizeof(buf),
@ -2903,6 +2900,10 @@ options_validate(or_options_t *old_options, or_options_t *options,
} }
} }
if (options->RelayBandwidthRate > options->RelayBandwidthBurst)
REJECT("RelayBandwidthBurst must be at least equal "
"to RelayBandwidthRate.");
if (options->BandwidthRate > options->BandwidthBurst) if (options->BandwidthRate > options->BandwidthBurst)
REJECT("BandwidthBurst must be at least equal to BandwidthRate."); REJECT("BandwidthBurst must be at least equal to BandwidthRate.");
@ -3189,7 +3190,8 @@ options_transition_affects_descriptor(or_options_t *old_options,
!opt_streq(old_options->Nickname,new_options->Nickname) || !opt_streq(old_options->Nickname,new_options->Nickname) ||
!opt_streq(old_options->Address,new_options->Address) || !opt_streq(old_options->Address,new_options->Address) ||
!config_lines_eq(old_options->ExitPolicy,new_options->ExitPolicy) || !config_lines_eq(old_options->ExitPolicy,new_options->ExitPolicy) ||
old_options->ExitPolicyRejectPrivate != new_options->ExitPolicyRejectPrivate || old_options->ExitPolicyRejectPrivate !=
new_options->ExitPolicyRejectPrivate ||
old_options->ORPort != new_options->ORPort || old_options->ORPort != new_options->ORPort ||
old_options->DirPort != new_options->DirPort || old_options->DirPort != new_options->DirPort ||
old_options->ClientOnly != new_options->ClientOnly || old_options->ClientOnly != new_options->ClientOnly ||

View File

@ -227,6 +227,6 @@
#define USING_TWOS_COMPLEMENT #define USING_TWOS_COMPLEMENT
/* Version number of package */ /* Version number of package */
#define VERSION "0.2.0.11-alpha-dev" #define VERSION "0.2.0.12-alpha"