NetBSD Problem Report #42911

From www@NetBSD.org  Tue Mar  2 10:07:51 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E134B63B89F
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  2 Mar 2010 10:07:50 +0000 (UTC)
Message-Id: <20100302100750.64F0363B873@www.NetBSD.org>
Date: Tue,  2 Mar 2010 10:07:50 +0000 (UTC)
From: athaba@inode.at
Reply-To: athaba@inode.at
To: gnats-bugs@NetBSD.org
Subject: Maintainer update: net/tor to 0.2.1.24 (security fix)
X-Send-Pr-Version: www-1.0

>Number:         42911
>Category:       pkg
>Synopsis:       Maintainer update: net/tor to 0.2.1.24 (security fix)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    obache
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 02 10:10:00 +0000 2010
>Closed-Date:    Tue Mar 02 21:43:37 +0000 2010
>Last-Modified:  Tue Mar 02 21:43:37 +0000 2010
>Originator:     Christian Sturm
>Release:        
>Organization:
>Environment:
>Description:
The provided patch updated tor to 0.2.1.24 (from current 0.2.1.22). Since it fixes a potential buffer overflow, problems with MacOS X aswell as other stuff it should be pulled up into pkgsrc-stable after it got commited.


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!

  o Minor bugfixes:
    - Work correctly out-of-the-box with even more vendor-patched versions
      of OpenSSL. In particular, make it so Debian and OS X don't need
      customized patches to run/build.


Changes in version 0.2.1.23 - 2010-02-13
  Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  again on the latest OS X, and updates the location of a directory
  authority.

  o Major bugfixes (performance):
    - We were selecting our guards uniformly at random, and then weighting
      which of our guards we'd use uniformly at random. This imbalance
      meant that Tor clients were severely limited on throughput (and
      probably latency too) by the first hop in their circuit. Now we
      select guards weighted by currently advertised bandwidth. We also
      automatically discard guards picked using the old algorithm. Fixes
      bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.

  o Major bugfixes:
    - Make Tor work again on the latest OS X: when deciding whether to
      use strange flags to turn TLS renegotiation on, detect the OpenSSL
      version at run-time, not compile time. We need to do this because
      Apple doesn't update its dev-tools headers when it updates its
      libraries in a security patch.
    - Fix a potential buffer overflow in lookup_last_hid_serv_request()
      that could happen on 32-bit platforms with 64-bit time_t. Also fix
      a memory leak when requesting a hidden service descriptor we've
      requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
      by aakova.

  o Minor bugfixes:
    - Refactor resolve_my_address() to not use gethostbyname() anymore.
      Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.

  o Minor features:
    - Avoid a mad rush at the beginning of each month when each client
      rotates half of its guards. Instead we spread the rotation out
      throughout the month, but we still avoid leaving a precise timestamp
      in the state file about when we first picked the guard. Improves
      over the behavior introduced in 0.1.2.17.


>How-To-Repeat:

>Fix:
begin 644 tor-0.2.1.24.patch.gz
M'XL("'+=C$L``W1O<BTP+C(N,2XR-"YP871C:`"]D5UKPC`4AJ_MK\CE!K;-
M=Q.9&S('\\)=Z/Y`/LYQQ=%*6V3SUZ^"8MGFU6"!DP0.><[[D`?2U4U*,YZQ
MC,MLY[KPEBRJ"!\3LG1;P/(=DNG?5[)Z7),C;$+RL&^;NN[RW7;3-B&OH,O[
M$/EYW'B?--`U)>S+:D.:_FC+NB(L*V@22T22-L?[)9X,,KDC\\7Z]66V?)J.
M1@,EGJ1IFMQ?Z<JS:BS;KJRP_B?5\[BKJL)>5(6]Q!-C%?KJ==?/,T9NAJ99
MYYIL<[@E4^)1,R:5Y:J@0!V--!K/101K&81`A<>@M1`]9[6<,TVODH3AAELT
M1<$=T^BM-$9XZXP!A@($(D6FG3XF*@]PE<,E[4F4^,\.VM.?_%"0@P>%5RQ8
MX&A=5+Z@$1Q'#X4HN`E12\X$!D55S_E%84B*.F@EK44?K.0.^QT4-<Z`4H):
;YL!%SY0])OJN,.1P8;71\J3P!>,JLS0Y`P``
`
end

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 02 Mar 2010 11:14:48 +0000
Responsible-Changed-Why:
I'll take this.


State-Changed-From-To: open->pending-pullups
State-Changed-By: obache@NetBSD.org
State-Changed-When: Tue, 02 Mar 2010 11:33:03 +0000
State-Changed-Why:
Updated and pullup request #3034.


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42911 CVS commit: pkgsrc/net/tor
Date: Tue, 2 Mar 2010 11:25:59 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Tue Mar  2 11:25:59 UTC 2010

 Modified Files:
 	pkgsrc/net/tor: Makefile distinfo

 Log Message:
 Update tor to 0.2.1.24 per maintainer update request by PR#42911.

 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!

   o Minor bugfixes:
     - Work correctly out-of-the-box with even more vendor-patched versions
       of OpenSSL. In particular, make it so Debian and OS X don't need
       customized patches to run/build.

 Changes in version 0.2.1.23 - 2010-02-13
   Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
   again on the latest OS X, and updates the location of a directory
   authority.

   o Major bugfixes (performance):
     - We were selecting our guards uniformly at random, and then weighting
       which of our guards we'd use uniformly at random. This imbalance
       meant that Tor clients were severely limited on throughput (and
       probably latency too) by the first hop in their circuit. Now we
       select guards weighted by currently advertised bandwidth. We also
       automatically discard guards picked using the old algorithm. Fixes
       bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.

   o Major bugfixes:
     - Make Tor work again on the latest OS X: when deciding whether to
       use strange flags to turn TLS renegotiation on, detect the OpenSSL
       version at run-time, not compile time. We need to do this because
       Apple doesn't update its dev-tools headers when it updates its
       libraries in a security patch.
     - Fix a potential buffer overflow in lookup_last_hid_serv_request()
       that could happen on 32-bit platforms with 64-bit time_t. Also fix
       a memory leak when requesting a hidden service descriptor we've
       requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
       by aakova.

   o Minor bugfixes:
     - Refactor resolve_my_address() to not use gethostbyname() anymore.
       Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.

   o Minor features:
     - Avoid a mad rush at the beginning of each month when each client
       rotates half of its guards. Instead we spread the rotation out
       throughout the month, but we still avoid leaving a precise timestamp
       in the state file about when we first picked the guard. Improves
       over the behavior introduced in 0.1.2.17.


 To generate a diff of this commit:
 cvs rdiff -u -r1.70 -r1.71 pkgsrc/net/tor/Makefile
 cvs rdiff -u -r1.39 -r1.40 pkgsrc/net/tor/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42911 CVS commit: [pkgsrc-2009Q4] pkgsrc/net/tor
Date: Tue, 2 Mar 2010 12:31:44 +0000

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Tue Mar  2 12:31:44 UTC 2010

 Modified Files:
 	pkgsrc/net/tor [pkgsrc-2009Q4]: Makefile distinfo

 Log Message:
 Pullup ticket #3034 - requested by obache
 tor: security and compatibility update

 Revisions pulled up:
 - net/tor/Makefile			1.71
 - net/tor/distinfo			1.40
 ---
 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Tue Mar  2 11:25:59 UTC 2010

 Modified Files:
 	pkgsrc/net/tor: Makefile distinfo

 Log Message:
 Update tor to 0.2.1.24 per maintainer update request by PR#42911.

 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!

    o Minor bugfixes:
      - Work correctly out-of-the-box with even more vendor-patched versions
        of OpenSSL. In particular, make it so Debian and OS X don't need
        customized patches to run/build.

 Changes in version 0.2.1.23 - 2010-02-13
    Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
    again on the latest OS X, and updates the location of a directory
    authority.

    o Major bugfixes (performance):
      - We were selecting our guards uniformly at random, and then weighting
        which of our guards we'd use uniformly at random. This imbalance
        meant that Tor clients were severely limited on throughput (and
        probably latency too) by the first hop in their circuit. Now we
        select guards weighted by currently advertised bandwidth. We also
        automatically discard guards picked using the old algorithm. Fixes
        bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.

    o Major bugfixes:
      - Make Tor work again on the latest OS X: when deciding whether to
        use strange flags to turn TLS renegotiation on, detect the OpenSSL
        version at run-time, not compile time. We need to do this because
        Apple doesn't update its dev-tools headers when it updates its
        libraries in a security patch.
      - Fix a potential buffer overflow in lookup_last_hid_serv_request()
        that could happen on 32-bit platforms with 64-bit time_t. Also fix
        a memory leak when requesting a hidden service descriptor we've
        requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
        by aakova.

    o Minor bugfixes:
      - Refactor resolve_my_address() to not use gethostbyname() anymore.
        Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.

    o Minor features:
      - Avoid a mad rush at the beginning of each month when each client
        rotates half of its guards. Instead we spread the rotation out
        throughout the month, but we still avoid leaving a precise timestamp
        in the state file about when we first picked the guard. Improves
        over the behavior introduced in 0.1.2.17.


 To generate a diff of this commit:
 cvs rdiff -u -r1.68.2.1 -r1.68.2.2 pkgsrc/net/tor/Makefile
 cvs rdiff -u -r1.38.2.1 -r1.38.2.2 pkgsrc/net/tor/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 02 Mar 2010 21:43:37 +0000
State-Changed-Why:
Pullup handled; thanks for tackling this


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.