pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tor tor: updated to

branches:  trunk
changeset: 319842:6531d3d0237d
user:      adam <>
date:      Fri Feb 22 08:47:51 2019 +0000

tor: updated to

Changes in version

Tor backports serveral fixes from later releases, including fixes
for an annoying SOCKS-parsing bug that affected users in earlier 0.3.5.x

It also includes a fix for a medium-severity security bug affecting Tor and later. All Tor instances running an affected release
should upgrade to,,, or

o Major bugfixes (cell scheduler, KIST, security):
  - Make KIST consider the outbuf length when computing what it can
    put in the outbuf. Previously, KIST acted as though the outbuf
    were empty, which could lead to the outbuf becoming too full. It
    is possible that an attacker could exploit this bug to cause a Tor
    client or relay to run out of memory and crash. Fixes bug 29168;
    bugfix on This issue is also being tracked as
    TROVE-2019-001 and CVE-2019-8955.

o Major bugfixes (networking, backport from
  - Gracefully handle empty username/password fields in SOCKS5
    username/password auth messsage and allow SOCKS5 handshake to
    continue. Previously, we had rejected these handshakes, breaking
    certain applications. Fixes bug 29175; bugfix on

o Minor features (compilation, backport from
  - Compile correctly when OpenSSL is built with engine support
    disabled, or with deprecated APIs disabled. Closes ticket 29026.
    Patches from "Mangix".

o Minor features (geoip):
  - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
    Country database. Closes ticket 29478.

o Minor features (testing, backport from
  - Treat all unexpected ERR and BUG messages as test failures. Closes
    ticket 28668.

o Minor bugfixes (onion service v3, client, backport from
  - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
    connection waiting for a descriptor that we actually have in the
    cache. It turns out that this can actually happen, though it is
    rare. Now, tor will recover and retry the descriptor. Fixes bug
    28669; bugfix on

o Minor bugfixes (IPv6, backport from
  - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
    IPv6 socket was bound using an address family of AF_INET instead
    of AF_INET6. Fixes bug 28995; bugfix on Patch from
    Kris Katterjohn.

o Minor bugfixes (build, compatibility, rust, backport from
  - Update Cargo.lock file to match the version made by the latest
    version of Rust, so that "make distcheck" will pass again. Fixes
    bug 29244; bugfix on

o Minor bugfixes (client, clock skew, backport from
  - Select guards even if the consensus has expired, as long as the
    consensus is still reasonably live. Fixes bug 24661; bugfix

o Minor bugfixes (compilation, backport from
  - Compile correctly on OpenBSD; previously, we were missing some
    headers required in order to detect it properly. Fixes bug 28938;
    bugfix on Patch from Kris Katterjohn.

o Minor bugfixes (documentation, backport from
  - Describe the contents of the v3 onion service client authorization
    files correctly: They hold public keys, not private keys. Fixes
    bug 28979; bugfix on Spotted by "Felixix".

o Minor bugfixes (logging, backport from
  - Rework rep_hist_log_link_protocol_counts() to iterate through all
    link protocol versions when logging incoming/outgoing connection
    counts. Tor no longer skips version 5, and we won't have to
    remember to update this function when new link protocol version is
    developed. Fixes bug 28920; bugfix on

o Minor bugfixes (logging, backport from
  - Log more information at "warning" level when unable to read a
    private key; log more information at "info" level when unable to
    read a public key. We had warnings here before, but they were lost
    during our NSS work. Fixes bug 29042; bugfix on

o Minor bugfixes (misc, backport from
  - The amount of total available physical memory is now determined
    using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
    when it is defined and a 64-bit variant is not available. Fixes
    bug 28981; bugfix on Patch from Kris Katterjohn.

o Minor bugfixes (onion services, backport from
  - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
    than one private key for a hidden service. Fixes bug 29040; bugfix
  - In hs_cache_store_as_client() log an HSDesc we failed to parse at
    "debug" level. Tor used to log it as a warning, which caused very
    long log lines to appear for some users. Fixes bug 29135; bugfix
  - Stop logging "Tried to establish rendezvous on non-OR circuit..."
    as a warning. Instead, log it as a protocol warning, because there
    is nothing that relay operators can do to fix it. Fixes bug 29029;
    bugfix on

o Minor bugfixes (tests, directory clients, backport from
  - Mark outdated dirservers when Tor only has a reasonably live
    consensus. Fixes bug 28569; bugfix on

o Minor bugfixes (tests, backport from
  - Detect and suppress "bug" warnings from the util/time test on
    Windows. Fixes bug 29161; bugfix on
  - Do not log an error-level message if we fail to find an IPv6
    network interface from the unit tests. Fixes bug 29160; bugfix

o Minor bugfixes (usability, backport from
  - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
    Some users took this phrasing to mean that the mentioned guard was
    under their control or responsibility, which it is not. Fixes bug
    28895; bugfix on Tor


 net/tor/Makefile |   4 ++--
 net/tor/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 19d8f3015e04 -r 6531d3d0237d net/tor/Makefile
--- a/net/tor/Makefile  Fri Feb 22 06:21:26 2019 +0000
+++ b/net/tor/Makefile  Fri Feb 22 08:47:51 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.136 2019/01/08 08:39:55 adam Exp $
+# $NetBSD: Makefile,v 1.137 2019/02/22 08:47:51 adam Exp $
-DISTNAME=      tor-
+DISTNAME=      tor-
 CATEGORIES=    net security
diff -r 19d8f3015e04 -r 6531d3d0237d net/tor/distinfo
--- a/net/tor/distinfo  Fri Feb 22 06:21:26 2019 +0000
+++ b/net/tor/distinfo  Fri Feb 22 08:47:51 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.96 2019/01/08 08:39:55 adam Exp $
+$NetBSD: distinfo,v 1.97 2019/02/22 08:47:51 adam Exp $
-SHA1 (tor- = 620c4cf306ec641e203541f9990acefb6a40a8d1
-RMD160 (tor- = 136a4926c6b3dc157c4a1f4c5539368743adca80
-SHA512 (tor- = e3a7be620c228c3bc73ea9350a19abecb0ac6dae2b309d6233151ab2377c754110a9854d8d221f380f80cffa2f723d266bd09b3432ae33c319c0fe9a7e538bc9
-Size (tor- = 6934521 bytes
+SHA1 (tor- = 43ce6638a54190b58b62537e1c0892f95552d407
+RMD160 (tor- = f94869f6f11277a7c786f8355c528912ab55733b
+SHA512 (tor- = 47a21cdd6d4563dd9bfb43c26f054f00747d069611dc9b16eb11b9653fab5c0133fb8bd30e162fa27d90d6bc4f88c0e2bf49eb4fe54529017d5eb87c3bb86132
+Size (tor- = 6994335 bytes

Home | Main Index | Thread Index | Old Index