]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 26 Jul 2017 19:37:53 +0000 (15:37 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

This is an "ours" merge to avoid taking any changs from maint-0.3.0:
we don't want to take the travis file, since there is a separate branch
for putting it in 0.3.1 and later.

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 26 Jul 2017 19:37:06 +0000 (15:37 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoTravis update: "gcc-warnings" became "fatal-warnings" in 0.2.9
Nick Mathewson [Wed, 26 Jul 2017 19:37:00 +0000 (15:37 -0400)] 
Travis update: "gcc-warnings" became "fatal-warnings" in 0.2.9

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Wed, 26 Jul 2017 19:35:17 +0000 (15:35 -0400)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Wed, 26 Jul 2017 19:35:07 +0000 (15:35 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 26 Jul 2017 19:35:01 +0000 (15:35 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 26 Jul 2017 19:34:56 +0000 (15:34 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 26 Jul 2017 19:34:40 +0000 (15:34 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 26 Jul 2017 16:58:22 +0000 (12:58 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 26 Jul 2017 16:58:22 +0000 (12:58 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'bug23030_029_v2' into maint-0.2.9
Nick Mathewson [Wed, 26 Jul 2017 16:58:17 +0000 (12:58 -0400)] 
Merge branch 'bug23030_029_v2' into maint-0.2.9

8 years agoFix build warnings from Coverity related to our BUG macro
Nick Mathewson [Tue, 25 Jul 2017 14:14:24 +0000 (10:14 -0400)] 
Fix build warnings from Coverity related to our BUG macro

In the Linux kernel, the BUG() macro causes an instant panic.  Our
BUG() macro is different, however: it generates a nonfatal assertion
failure, and is usable as an expression.

Additionally, this patch tells util_bug.h to make all assertion
failures into fatal conditions when we're building with a static
analysis tool, so that the analysis tool can look for instances
where they're reachable.

Fixes bug 23030.

8 years agoMerge branch 'bug22927_031' into maint-0.3.1
Nick Mathewson [Wed, 26 Jul 2017 16:54:37 +0000 (12:54 -0400)] 
Merge branch 'bug22927_031' into maint-0.3.1

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 26 Jul 2017 16:53:38 +0000 (12:53 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 26 Jul 2017 16:53:38 +0000 (12:53 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'bug22915_029_2' into maint-0.2.9
Nick Mathewson [Wed, 26 Jul 2017 16:53:13 +0000 (12:53 -0400)] 
Merge branch 'bug22915_029_2' into maint-0.2.9

8 years agoSuppress clang4-specific -Wdouble-promotion warnings
Nick Mathewson [Thu, 13 Jul 2017 21:42:04 +0000 (17:42 -0400)] 
Suppress clang4-specific -Wdouble-promotion warnings

Wow, it sure seems like some compilers can't implement isnan() and
friends in a way that pleases themselves!

Fixes bug 22915. Bug trigged by 0.2.8.1-alpha and later; caused by
clang 4.

8 years agoIn < 0.2.9.x, --enable-fatal-warnings was --enable-gcc-warnings.
Isis Lovecruft [Tue, 25 Jul 2017 01:03:15 +0000 (01:03 +0000)] 
In < 0.2.9.x, --enable-fatal-warnings was --enable-gcc-warnings.

8 years agoBuilds on CI should use --enable-fragile-hardening.
Isis Lovecruft [Mon, 24 Jul 2017 23:07:09 +0000 (23:07 +0000)] 
Builds on CI should use --enable-fragile-hardening.

(cherry picked from commit c91a57ccf90308c6728184b43519f96b61acb95d)

8 years agoInstall optional dependencies during Travis CI builds.
Isis Lovecruft [Mon, 24 Jul 2017 18:53:18 +0000 (18:53 +0000)] 
Install optional dependencies during Travis CI builds.

(cherry picked from commit 1bb00fb812c0df7a574ed62e9f53b0e8192c7d04)

8 years agoFix CI homebrew checks for outdated packages.
Isis Lovecruft [Mon, 24 Jul 2017 18:26:36 +0000 (18:26 +0000)] 
Fix CI homebrew checks for outdated packages.

(cherry picked from commit 8f8689f70235dc19cbc5092ea148af5772a9cdc3)

8 years agoAdd a changes file for bug22636.
Isis Lovecruft [Wed, 12 Jul 2017 00:32:38 +0000 (00:32 +0000)] 
Add a changes file for bug22636.

8 years agoFix and expand upon our Travis CI configuration.
Isis Lovecruft [Tue, 11 Jul 2017 20:12:15 +0000 (20:12 +0000)] 
Fix and expand upon our Travis CI configuration.

 * CHANGE .travis.yml so that commands for different purposes (e.g. getting
   dependencies, building, testing) are in separate config lines and sections.
 * CHANGE .travis.yml to use their mechanism for installing dependencies via
   apt. [0]  This also allows us to not need sudo (the "sudo: false" line).
 * CHANGE Travis CI tests (the "script:" section) to build and run tests in the
   same manner as Jenkins (i.e. with --enable-fatal-warnings and
   --disable-silent-rules and run `make check`).
 * ADD Travis configuration to do all the target builds with both GCC and clang.
 * ADD make flags to build with both of the cores available.
 * ADD notifications for IRC, and configure email notifications (to the author
   of the commit) only if the branch was previously building successfully and
   the latest commit broke it.
 * ADD the ability to run the Travis build matrix for OSX as well, but leave it
   commented out by default (because it takes roughly ten times longer, due to a
   shortage of OSX build machines).
 * ADD Travis config option to cancel/fail the build early if one target has
   already failed ("fast_finish: true").
 * ADD comments to describe what our Travis config is doing and why it is
   configured that way.

[0]: https://docs.travis-ci.com/user/installing-dependencies/#Installing-Packages-on-Container-Based-Infrastructure)

8 years agoFix zstd 1.3.0 trouble: Be more respectful of its state machine
Nick Mathewson [Fri, 14 Jul 2017 20:21:51 +0000 (16:21 -0400)] 
Fix zstd 1.3.0 trouble: Be more respectful of its state machine

In zstd 1.3.0, once you have called ZSTD_endStream and been told
that your putput buffer is full, it really doesn't want you to call
ZSTD_compressStream again.  ZSTD 1.2.0 didn't seem to mind about
this.

This patch fixes the issue by making sure never to call
ZSTD_endStream if there's any more data on the input buffer to
process, by flushing even when we're about to call "endStream", and
by never calling "compress" or "flush" after "endStream".

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Fri, 14 Jul 2017 13:11:14 +0000 (09:11 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 14 Jul 2017 13:11:14 +0000 (09:11 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'bug22916_027' into maint-0.2.9
Nick Mathewson [Fri, 14 Jul 2017 13:11:08 +0000 (09:11 -0400)] 
Merge branch 'bug22916_027' into maint-0.2.9

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 14 Jul 2017 13:06:44 +0000 (09:06 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'bug22803_030' into maint-0.3.0
Nick Mathewson [Fri, 14 Jul 2017 13:06:33 +0000 (09:06 -0400)] 
Merge branch 'bug22803_030' into maint-0.3.0

8 years ago.travis.yml to run test suite
Patrick O'Doherty [Sun, 2 Jul 2017 21:28:52 +0000 (14:28 -0700)] 
.travis.yml to run test suite

Installs dependencies (including rust) and runs the existing test suite.

TODO: Introduce build matrix utilizing the rust toolchain to run test
suites both with and without the rust components.

8 years agoFix compiler warnings with openssl-scrypt/libscrypt test on clang
Nick Mathewson [Thu, 13 Jul 2017 21:49:48 +0000 (17:49 -0400)] 
Fix compiler warnings with openssl-scrypt/libscrypt test on clang

Clang didn't like that we were passing uint64_t values to an API
that wanted uint32_t.  GCC has either not cared, or has figured out
that the values in question were safe to cast to uint32_t.

Fixes bug22916; bugfix on 0.2.7.2-alpha.

8 years agoMerge branch 'fewer-diffs' into maint-0.3.1
Nick Mathewson [Thu, 13 Jul 2017 20:55:02 +0000 (16:55 -0400)] 
Merge branch 'fewer-diffs' into maint-0.3.1

8 years agoMerge branch 'bug22520_031' into maint-0.3.1
Nick Mathewson [Thu, 13 Jul 2017 20:52:16 +0000 (16:52 -0400)] 
Merge branch 'bug22520_031' into maint-0.3.1

8 years agoMerge remote-tracking branch 'isis/bug22830_0.3.1' into maint-0.3.1
Nick Mathewson [Thu, 13 Jul 2017 20:51:09 +0000 (16:51 -0400)] 
Merge remote-tracking branch 'isis/bug22830_0.3.1' into maint-0.3.1

8 years agoAdd a changes file for bug22830.
Isis Lovecruft [Thu, 13 Jul 2017 18:01:54 +0000 (18:01 +0000)] 
Add a changes file for bug22830.

8 years agouse CARGO_HOME instead of HOME when building with rust
Chelsea H. Komlo [Mon, 10 Jul 2017 02:33:34 +0000 (22:33 -0400)] 
use CARGO_HOME instead of HOME when building with rust

8 years agoNew configuration option MaxConsensusAgeForDiffs
Nick Mathewson [Wed, 12 Jul 2017 17:15:16 +0000 (13:15 -0400)] 
New configuration option MaxConsensusAgeForDiffs

Relay operators (especially bridge operators) can use this to lower
or raise the number of consensuses that they're willing to hold for
diff generation purposes.

This enables a workaround for bug 22883.

8 years agoMerge branch 'bug22349_029' into maint-0.3.1
Nick Mathewson [Wed, 12 Jul 2017 14:15:49 +0000 (10:15 -0400)] 
Merge branch 'bug22349_029' into maint-0.3.1

8 years agoRestore openssl and libscrypt includes in test_crypto_slow.c
Nick Mathewson [Wed, 12 Jul 2017 13:19:12 +0000 (09:19 -0400)] 
Restore openssl and libscrypt includes in test_crypto_slow.c

This reverts part of commit 706c44a6ce0bbeee51c800521a3199d76e1dcd96.

It was a mistake to remove these includes: they were needed on
systems where we have openssl 1.1.0 *and* libscrypt, and where we
were validating the one against the other.

Fixes bug 22892; bugfix on 0.3.1.1-alpha.

8 years agoMake consdiff tests pass on OS X too
Matt Traudt [Mon, 10 Jul 2017 16:19:33 +0000 (12:19 -0400)] 
Make consdiff tests pass on OS X too

8 years agoUse LANG_ENGLISH in windows error messages
Nick Mathewson [Fri, 7 Jul 2017 17:11:18 +0000 (13:11 -0400)] 
Use LANG_ENGLISH in windows error messages

This change prevents us from generating corrupt messages when we
are confused about codepage settings, and makes Windows errors
consistent with the rest of our logs.

Fixes bug 22520; bugfix on 0.1.2.8-alpha.  Patch from "Vort".

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 7 Jul 2017 14:57:05 +0000 (10:57 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

This is an "ours" commit to avoid taking the fix for 22838,
which we already have here.

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Fri, 7 Jul 2017 14:56:31 +0000 (10:56 -0400)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Fri, 7 Jul 2017 14:56:31 +0000 (10:56 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'bug22838_028' into maint-0.2.8
Nick Mathewson [Fri, 7 Jul 2017 14:55:51 +0000 (10:55 -0400)] 
Merge branch 'bug22838_028' into maint-0.2.8

8 years agomingw fix: avoid "unused var" warning.
Nick Mathewson [Thu, 6 Jul 2017 17:12:33 +0000 (13:12 -0400)] 
mingw fix: avoid "unused var" warning.

This is a backport of 19615bce64cd381a925bc3910120ac39ca918e7c to
fix bug 22838.

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMention TROVE-2017-007 in changes file for 22789
Nick Mathewson [Fri, 7 Jul 2017 14:51:25 +0000 (10:51 -0400)] 
Mention TROVE-2017-007 in changes file for 22789

8 years agoFix a wide line from 22207
Nick Mathewson [Wed, 5 Jul 2017 21:37:06 +0000 (17:37 -0400)] 
Fix a wide line from 22207

8 years agoMerge remote-tracking branch 'karsten/task-22207' into maint-0.3.1
Nick Mathewson [Wed, 5 Jul 2017 21:00:43 +0000 (17:00 -0400)] 
Merge remote-tracking branch 'karsten/task-22207' into maint-0.3.1

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 5 Jul 2017 20:11:48 +0000 (16:11 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 5 Jul 2017 20:11:48 +0000 (16:11 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoOnly disable -Wfloat-conversion on mingw when it exists.
Nick Mathewson [Wed, 5 Jul 2017 20:10:45 +0000 (16:10 -0400)] 
Only disable -Wfloat-conversion on mingw when it exists.

The 22081 fix disabled -Wfloat-conversion, but -Wfloat-conversion
didn't exist in every relevant mingw; it was added in GCC 4.9.x some
time, if the documentation can be trusted.

Bug not in any released version of tor.

8 years agoFix mixed-sign comparison warning in fix for 22797.
Nick Mathewson [Wed, 5 Jul 2017 19:56:57 +0000 (15:56 -0400)] 
Fix mixed-sign comparison warning in fix for 22797.

8 years agoFix unit test memory leak in certs_ok_ed25519.
Nick Mathewson [Wed, 5 Jul 2017 19:42:25 +0000 (15:42 -0400)] 
Fix unit test memory leak in certs_ok_ed25519.

Fixes bug 22803; bugfix on 0.3.0.1-alpha.

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 5 Jul 2017 17:43:31 +0000 (13:43 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 5 Jul 2017 17:43:31 +0000 (13:43 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Wed, 5 Jul 2017 17:43:21 +0000 (13:43 -0400)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Wed, 5 Jul 2017 17:42:47 +0000 (13:42 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 5 Jul 2017 17:42:37 +0000 (13:42 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 5 Jul 2017 17:42:32 +0000 (13:42 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 5 Jul 2017 17:42:26 +0000 (13:42 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoMerge branch 'bug22789_024' into maint-0.2.4
Nick Mathewson [Wed, 5 Jul 2017 17:41:27 +0000 (13:41 -0400)] 
Merge branch 'bug22789_024' into maint-0.2.4

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 5 Jul 2017 15:19:03 +0000 (11:19 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 5 Jul 2017 15:19:03 +0000 (11:19 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'bug22801_028' into maint-0.2.9
Nick Mathewson [Wed, 5 Jul 2017 15:18:59 +0000 (11:18 -0400)] 
Merge branch 'bug22801_028' into maint-0.2.9

8 years agoMerge branch 'teor-bug22797-025' into maint-0.3.1
Nick Mathewson [Wed, 5 Jul 2017 15:16:30 +0000 (11:16 -0400)] 
Merge branch 'teor-bug22797-025' into maint-0.3.1

8 years agoAlways allow extra file descriptors when setting the connection maximum
teor [Mon, 3 Jul 2017 05:30:52 +0000 (15:30 +1000)] 
Always allow extra file descriptors when setting the connection maximum

When setting the maximum number of connections allowed by the OS,
always allow some extra file descriptors for other files.

Fixes bug 22797; bugfix on 0.2.0.10-alpha.

8 years agoUpdate fuzzing_include_am to include updates from include.am
Nick Mathewson [Mon, 3 Jul 2017 17:24:57 +0000 (13:24 -0400)] 
Update fuzzing_include_am to include updates from include.am

8 years agoFix assertion failure related to openbsd strtol().
Nick Mathewson [Mon, 3 Jul 2017 15:20:09 +0000 (11:20 -0400)] 
Fix assertion failure related to openbsd strtol().

Fixes bug 22789; bugfix on 0.2.3.8-alpha.

8 years agoFix -Wfloat-conversion C warnings on mingw in clamp_double_to_int64.
Nick Mathewson [Mon, 3 Jul 2017 14:59:31 +0000 (10:59 -0400)] 
Fix -Wfloat-conversion C warnings on mingw in clamp_double_to_int64.

We just have to suppress these warnings: Mingw's math.h uses gcc's
__builtin_choose_expr() facility to declare isnan, isfinite, and
signbit.  But as implemented in at least some versions of gcc,
__builtin_choose_expr() can generate type warnings even from
branches that are not taken.

Fixes bug 22801; bugfix on 0.2.8.1-alpha.

8 years agoBump version to 0.3.1.4-alpha-dev
Nick Mathewson [Thu, 29 Jun 2017 22:45:49 +0000 (18:45 -0400)] 
Bump version to 0.3.1.4-alpha-dev

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Thu, 29 Jun 2017 22:44:53 +0000 (18:44 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

"ours" merge to avoid version bump.

8 years agobump to 0.3.0.9-dev
Nick Mathewson [Thu, 29 Jun 2017 22:44:43 +0000 (18:44 -0400)] 
bump to 0.3.0.9-dev

8 years agoBump 0.3.1 to 0.3.1.4-alpha
Nick Mathewson [Thu, 29 Jun 2017 20:36:50 +0000 (16:36 -0400)] 
Bump 0.3.1 to 0.3.1.4-alpha

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Thu, 29 Jun 2017 20:36:05 +0000 (16:36 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

"ours" merge to avoid version bump.

8 years agoUpdate maint-0.3.0 to 0.3.0.9
Nick Mathewson [Thu, 29 Jun 2017 20:35:40 +0000 (16:35 -0400)] 
Update maint-0.3.0 to 0.3.0.9

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Thu, 29 Jun 2017 19:57:48 +0000 (15:57 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'trove-2017-006' into maint-0.3.0
Nick Mathewson [Thu, 29 Jun 2017 19:57:42 +0000 (15:57 -0400)] 
Merge branch 'trove-2017-006' into maint-0.3.0

8 years agoMerge remote-tracking branch 'public/bug22670_031' into maint-0.3.1
Nick Mathewson [Thu, 29 Jun 2017 15:34:06 +0000 (11:34 -0400)] 
Merge remote-tracking branch 'public/bug22670_031' into maint-0.3.1

8 years agoAdjust unit tests to account for fix to bug 22753.
Nick Mathewson [Thu, 29 Jun 2017 14:09:06 +0000 (10:09 -0400)] 
Adjust unit tests to account for fix to bug 22753.

Our mock network put all the guards on the same IPv4 address, which
doesn't fly when we start applying EnforceDistinctSubnets.  So in
this commit, I disable EnforceDistinctSubnets when running the old
guard_restriction_t test.

This commit also adds a regression test for #22753.

8 years agoConsider the exit family when applying guard restrictions.
Nick Mathewson [Wed, 28 Jun 2017 15:41:50 +0000 (11:41 -0400)] 
Consider the exit family when applying guard restrictions.

When the new path selection logic went into place, I accidentally
dropped the code that considered the _family_ of the exit node when
deciding if the guard was usable, and we didn't catch that during
code review.

This patch makes the guard_restriction_t code consider the exit
family as well, and adds some (hopefully redundant) checks for the
case where we lack a node_t for a guard but we have a bridge_info_t
for it.

Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2016-006
and CVE-2017-0377.

8 years agoChanges file for bug22752 diagnostics
Nick Mathewson [Wed, 28 Jun 2017 18:27:52 +0000 (14:27 -0400)] 
Changes file for bug22752 diagnostics

8 years agoLog real error message when unable to remove a storagedir file
Nick Mathewson [Wed, 28 Jun 2017 18:24:27 +0000 (14:24 -0400)] 
Log real error message when unable to remove a storagedir file

Attempts to help diagnose 22752.

8 years agoReplace crash on missing handle in consdiffmgr with nonfatal assert
Nick Mathewson [Wed, 28 Jun 2017 18:21:21 +0000 (14:21 -0400)] 
Replace crash on missing handle in consdiffmgr with nonfatal assert

Attempts to mitigate 22752.

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 28 Jun 2017 18:03:23 +0000 (14:03 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 28 Jun 2017 18:03:23 +0000 (14:03 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge remote-tracking branch 'teor/bug21507-029' into maint-0.2.9
Nick Mathewson [Wed, 28 Jun 2017 18:03:20 +0000 (14:03 -0400)] 
Merge remote-tracking branch 'teor/bug21507-029' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 28 Jun 2017 17:58:37 +0000 (13:58 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 28 Jun 2017 17:58:37 +0000 (13:58 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge remote-tracking branch 'teor/bug21576_029_v2' into maint-0.2.9
Nick Mathewson [Wed, 28 Jun 2017 17:57:54 +0000 (13:57 -0400)] 
Merge remote-tracking branch 'teor/bug21576_029_v2' into maint-0.2.9

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 28 Jun 2017 17:54:00 +0000 (13:54 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

"ours" merge to avoid taking redundant ws fix

8 years agowhitespace fix
Nick Mathewson [Wed, 28 Jun 2017 17:53:52 +0000 (13:53 -0400)] 
whitespace fix

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 28 Jun 2017 17:49:14 +0000 (13:49 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

"Ours" merge to avoid taking backport of 21969