NetBSD Problem Report #46609

From www@NetBSD.org  Sun Jun 17 07:49:19 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id B447763B955
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 17 Jun 2012 07:49:19 +0000 (UTC)
Message-Id: <20120617074918.8943363B8CC@www.NetBSD.org>
Date: Sun, 17 Jun 2012 07:49:18 +0000 (UTC)
From: reezer@reezer.org
Reply-To: reezer@reezer.org
To: gnats-bugs@NetBSD.org
Subject: [UPDATE by Maintainer] net/tor 0.2.2.36 -> 0.2.2.37
X-Send-Pr-Version: www-1.0

>Number:         46609
>Category:       pkg
>Synopsis:       [UPDATE by Maintainer] net/tor 0.2.2.36 -> 0.2.2.37
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    hauke
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 17 07:50:00 +0000 2012
>Closed-Date:    Sun Jun 17 12:12:14 +0000 2012
>Last-Modified:  Sun Jun 17 12:12:14 +0000 2012
>Originator:     Christian Sturm
>Release:        
>Organization:
>Environment:
>Description:
The attached, gz-compressed, uuencoded patch updates net/tor to 0.2.2.37. As you can see in the changelog, as well as in the version number it's a bug fixing release, which like previous bug fix releases is highly unlikely to break anything. It therefore can (and probably should) be included, even though pkgsrc is frozen.


Changes in version 0.2.2.37 - 2012-06-06
  Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  currently).

  o Major bugfixes:
    - Work around a bug in OpenSSL that broke renegotiation with TLS
      1.1 and TLS 1.2. Without this workaround, all attempts to speak
      the v2 Tor connection protocol when both sides were using OpenSSL
      1.0.1 would fail. Resolves ticket 6033.
    - When waiting for a client to renegotiate, don't allow it to add
      any bytes to the input buffer. This fixes a potential DoS issue.
      Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
    - Fix an edge case where if we fetch or publish a hidden service
      descriptor, we might build a 4-hop circuit and then use that circuit
      for exiting afterwards -- even if the new last hop doesn't obey our
      ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.

  o Minor bugfixes:
    - Fix a build warning with Clang 3.1 related to our use of vasprintf.
      Fixes bug 5969. Bugfix on 0.2.2.11-alpha.

  o Minor features:
    - Tell GCC and Clang to check for any errors in format strings passed
      to the tor_v*(print|scan)f functions.
>How-To-Repeat:

>Fix:
begin 644 tor-0.2.2.37.patch.gz
M'XL("%VAW4\``W1O<BTP+C(N,BXS-RYP871C:`"]D<M*`S$4AM?.4V2IT.GD
MY'*2*58I5M!%7;2^0*YEJ,Q(9JB7IS<%2[7:E6!".(&0[_Q?<DU>NK0I[EL?
M7B=D838A-D^AF/Y]%,N;%=G!)J1RVSYUW5`];]9]<E4;AFKH4K5O-]H6*0RI
M"=NF79.42]]T+8&QQL(W,9(R[?:'>,*)XI+,[U>/#[/%[?3L+--*.F9Y<BS*
MLBRN3IRJO:IO^J%I8_=/JOMV)U4E/ZA*?HC'1]+EE757=S,@YU]-QX-)X_7[
M!9D2`V"<=A84Y9YRM)H+IAQ$'HT%E$HX8%[4F;-<S`'I29(61H.FQ@9&*0@7
ML)98ARBHXJ`ET\$+5MNX2]2\AY,<5C,)'(E]&T+_^2<_%-27"]PX+GG0D).C
M8<IH-,[Y8!0:#-&#I=F`BLSY1>$;20E44E!JC39*4-00G=7@N?.(GBON,.9'
4V24Z5E!'"K+6GPH?HP'GT"L#````
`
end


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->hauke
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sun, 17 Jun 2012 11:55:33 +0000
Responsible-Changed-Why:
Take.


From: "Hauke Fath" <hauke@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46609 CVS commit: pkgsrc/net/tor
Date: Sun, 17 Jun 2012 12:09:41 +0000

 Module Name:	pkgsrc
 Committed By:	hauke
 Date:		Sun Jun 17 12:09:41 UTC 2012

 Modified Files:
 	pkgsrc/net/tor: Makefile distinfo

 Log Message:
 Minor bugfix update. From the changelog:

 Changes in version 0.2.2.37 - 2012-06-06
   Tor 0.2.2.37 introduces a workaround for a critical renegotiation
   bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
   currently).

   o Major bugfixes:
     - Work around a bug in OpenSSL that broke renegotiation with TLS
       1.1 and TLS 1.2. Without this workaround, all attempts to speak
       the v2 Tor connection protocol when both sides were using OpenSSL
       1.0.1 would fail. Resolves ticket 6033.
     - When waiting for a client to renegotiate, don't allow it to add
       any bytes to the input buffer. This fixes a potential DoS issue.
       Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
     - Fix an edge case where if we fetch or publish a hidden service
       descriptor, we might build a 4-hop circuit and then use that circuit
       for exiting afterwards -- even if the new last hop doesn't obey our
       ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.

   o Minor bugfixes:
     - Fix a build warning with Clang 3.1 related to our use of vasprintf.
       Fixes bug 5969. Bugfix on 0.2.2.11-alpha.

   o Minor features:
     - Tell GCC and Clang to check for any errors in format strings passed
       to the tor_v*(print|scan)f functions.

 Patch submitted by Christian Sturm, fixes PR pkg/46609.


 To generate a diff of this commit:
 cvs rdiff -u -r1.86 -r1.87 pkgsrc/net/tor/Makefile
 cvs rdiff -u -r1.53 -r1.54 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: open->closed
State-Changed-By: hauke@NetBSD.org
State-Changed-When: Sun, 17 Jun 2012 12:12:14 +0000
State-Changed-Why:
I committed the provided patch.

Thanks for the PR!


>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.