]>
git.ipfire.org Git - thirdparty/tor.git/log
teor [Wed, 8 Nov 2017 03:09:50 +0000 (14:09 +1100)]
Use node counts in networks with all zero-bandwidths
When calculating the fraction of nodes that have descriptors, and all
all nodes in the network have zero bandwidths, count the number of nodes
instead.
Fixes bug 23318; bugfix on 0.2.4.10-alpha.
Nick Mathewson [Fri, 22 Sep 2017 19:29:15 +0000 (15:29 -0400)]
Remove an erroneous 0.5 in compute_weighted_bandwidths()
Back in 0.2.4.3-alpha (
e106812a778f537 ), when we switched from using
double to using uint64 for selecting by bandwidth, I got the math
wrong: I should have used llround(x), or (uint64_t)(x+0.5), but
instead I wrote llround(x+0.5). That means we would always round
up, rather than rounding to the closest integer
Fixes bug 23318; bugfix on 0.2.4.3-alpha.
Nick Mathewson [Tue, 31 Oct 2017 15:43:07 +0000 (11:43 -0400)]
Merge remote-tracking branch 'public/bug23693_029' into maint-0.2.9
Nick Mathewson [Wed, 25 Oct 2017 13:28:29 +0000 (09:28 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
"ours" merge to avoid version bump
Nick Mathewson [Wed, 25 Oct 2017 13:28:15 +0000 (09:28 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.8
"ours" merge to avoid version bump
Nick Mathewson [Wed, 25 Oct 2017 13:27:23 +0000 (09:27 -0400)]
bump to 0.2.9.13-dev
Nick Mathewson [Wed, 25 Oct 2017 13:27:07 +0000 (09:27 -0400)]
bump to 0.2.8.16-dev
Nick Mathewson [Wed, 25 Oct 2017 13:26:53 +0000 (09:26 -0400)]
bump to 0.2.5.15-dev
Nick Mathewson [Tue, 24 Oct 2017 13:11:07 +0000 (09:11 -0400)]
bump version in the other places :/
Nick Mathewson [Tue, 24 Oct 2017 13:10:17 +0000 (09:10 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
"ours" merge to avoid version bump
Nick Mathewson [Tue, 24 Oct 2017 13:10:04 +0000 (09:10 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.8
"ours" merge to avoid version bump
Nick Mathewson [Tue, 24 Oct 2017 13:09:26 +0000 (09:09 -0400)]
bump to 0.2.9.13
Nick Mathewson [Tue, 24 Oct 2017 13:09:10 +0000 (09:09 -0400)]
bump to 0.2.8.16
Nick Mathewson [Tue, 24 Oct 2017 13:09:00 +0000 (09:09 -0400)]
bump to 0.2.5.15
Nick Mathewson [Mon, 23 Oct 2017 19:53:45 +0000 (15:53 -0400)]
Merge remote-tracking branch 'teor/bug23874-029' into maint-0.2.9
Nick Mathewson [Mon, 23 Oct 2017 13:11:10 +0000 (09:11 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Mon, 23 Oct 2017 13:11:07 +0000 (09:11 -0400)]
Adjust test, now that there are 9 dirauths again
Nick Mathewson [Mon, 23 Oct 2017 13:06:34 +0000 (09:06 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Mon, 23 Oct 2017 13:04:56 +0000 (09:04 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.8
David Goulet [Thu, 19 Oct 2017 20:08:43 +0000 (16:08 -0400)]
dirauth: Add bastet to the default authorities
Fixes #23910
Based on a patch by dgoulet; backported to 0.2.5
Nick Mathewson [Mon, 23 Oct 2017 12:59:11 +0000 (08:59 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Mon, 23 Oct 2017 12:58:28 +0000 (08:58 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.8
Nick Mathewson [Mon, 23 Oct 2017 12:53:25 +0000 (08:53 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Mon, 23 Oct 2017 12:53:14 +0000 (08:53 -0400)]
Merge remote-tracking branch 'public/bug23690_028' into maint-0.2.8
Nick Mathewson [Mon, 23 Oct 2017 12:47:52 +0000 (08:47 -0400)]
Merge remote-tracking branch 'public/bug23081_025' into maint-0.2.9
Nick Mathewson [Mon, 23 Oct 2017 12:46:26 +0000 (08:46 -0400)]
Merge remote-tracking branch 'public/bug22349_029' into maint-0.2.9
Nick Mathewson [Tue, 17 Oct 2017 17:59:00 +0000 (13:59 -0400)]
Update Longclaw's IP address; fixes 23592.
teor [Sun, 15 Oct 2017 20:45:15 +0000 (16:45 -0400)]
Clear the address when node_get_prim_orport() returns early
Fixes bug 23874; bugfix on 0.2.8.2-alpha.
Nick Mathewson [Thu, 5 Oct 2017 15:04:59 +0000 (11:04 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.8
Nick Mathewson [Thu, 5 Oct 2017 15:04:59 +0000 (11:04 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Thu, 5 Oct 2017 15:04:54 +0000 (11:04 -0400)]
add missing subcategory in changes file
Nick Mathewson [Thu, 5 Oct 2017 15:03:35 +0000 (11:03 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.8
Nick Mathewson [Thu, 5 Oct 2017 15:03:35 +0000 (11:03 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Karsten Loesing [Thu, 5 Oct 2017 14:56:14 +0000 (16:56 +0200)]
Update geoip and geoip6 to the October 4 2017 database.
Nick Mathewson [Mon, 2 Oct 2017 15:11:30 +0000 (11:11 -0400)]
Make changes in server_mode() affect workers; fix a crash.
Without this fix, changes from client to bridge don't trigger
transition_affects_workers(), so we would never have actually
initialized the cpuworkers.
Fixes bug 23693. Bugfix on
3bcdb26267502e0 0.2.6.3-alpha, which
fixed bug 14901 in the general case, but not on the case where
public_server_mode() did not change.
Nick Mathewson [Fri, 29 Sep 2017 14:00:14 +0000 (10:00 -0400)]
Clear outbuf_flushlen when we clear a connection's outbuf
When we added single_conn_free_bytes(), we cleared the outbuf on a
connection without setting outbuf_flushlen() to 0. This could cause
an assertion failure later on in flush_buf().
Fixes bug 23690; bugfix on 0.2.6.1-alpha.
Nick Mathewson [Wed, 20 Sep 2017 12:32:55 +0000 (08:32 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
teor [Wed, 20 Sep 2017 04:48:53 +0000 (14:48 +1000)]
Remove longclaw's IPv6 address, as it will soon change
Authority IPv6 addresses were originally added in 0.2.8.1-alpha.
This leaves 3/8 directory authorities with IPv6 addresses, but there
are also 52 fallback directory mirrors with IPv6 addresses.
Resolves 19760.
Nick Mathewson [Mon, 18 Sep 2017 18:40:22 +0000 (14:40 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
"ours" to avoid version bump.
Nick Mathewson [Mon, 18 Sep 2017 18:39:46 +0000 (14:39 -0400)]
bump to 0.2.9.12-dev
Nick Mathewson [Mon, 18 Sep 2017 18:39:40 +0000 (14:39 -0400)]
bump to 0.2.8.15-dev
Nick Mathewson [Mon, 18 Sep 2017 13:39:46 +0000 (09:39 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Mon, 18 Sep 2017 13:39:35 +0000 (09:39 -0400)]
Merge branch 'trove-2017-008_028' into maint-0.2.8
Nick Mathewson [Mon, 18 Sep 2017 13:25:21 +0000 (09:25 -0400)]
Fix log-uninitialized-stack bug in rend_service_intro_established.
Fixes bug 23490; bugfix on 0.2.7.2-alpha.
TROVE-2017-008
CVE-2017-0380
Nick Mathewson [Thu, 14 Sep 2017 17:21:28 +0000 (13:21 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
"ours" merge to avoid version bump.
Nick Mathewson [Thu, 14 Sep 2017 17:20:29 +0000 (13:20 -0400)]
version bump: 0.2.9.12
Nick Mathewson [Thu, 14 Sep 2017 17:20:14 +0000 (13:20 -0400)]
version bump: 0.2.8.15
Nick Mathewson [Tue, 12 Sep 2017 21:09:42 +0000 (17:09 -0400)]
Merge branch 'bug15582_029' into maint-0.2.9
Nick Mathewson [Tue, 12 Sep 2017 19:57:25 +0000 (15:57 -0400)]
Avoid sscanf() warnings from openbsd in the unit tests
OpenBSD doesn't like tricks where you use a too-wide sscanf argument
for a too-narrow array, even when you know the input string
statically. The fix here is just to use bigger buffers.
Fixes 15582; bugfix on
a3dafd3f58bb312 in 0.2.6.2-alpha.
Nick Mathewson [Tue, 12 Sep 2017 13:22:50 +0000 (09:22 -0400)]
One more implicit fallthrough warning to fix on GCC 7
Andreas Stieger [Sun, 28 May 2017 21:49:31 +0000 (23:49 +0200)]
Fix GCC 7 -Wimplicit-fallthrough warnings
Add magic comments recognized by default -Wimplicit-fallthrough=3
or break, as required.
Andreas Stieger [Wed, 31 May 2017 09:54:11 +0000 (11:54 +0200)]
Fix GCC 7 -Wimplicit-fallthrough warnings (32 bit)
Add magic comments recognized by default -Wimplicit-fallthrough=3
Follow-up to e5f464, fixes Ticket 22446 for 32 bit.
[nick notes: Backport from 0.3.1.3-alpha.]
Nick Mathewson [Wed, 5 Jul 2017 19:56:57 +0000 (15:56 -0400)]
Fix mixed-sign comparison warning in fix for 22797.
Nick Mathewson [Mon, 11 Sep 2017 20:28:59 +0000 (16:28 -0400)]
Merge branch 'teor-bug22797-025' into maint-0.2.9
Nick Mathewson [Fri, 8 Sep 2017 12:24:36 +0000 (08:24 -0400)]
Merge branch 'bug22644_029' into maint-0.2.9
Nick Mathewson [Thu, 7 Sep 2017 19:18:00 +0000 (15:18 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.8
Nick Mathewson [Thu, 7 Sep 2017 19:18:00 +0000 (15:18 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Karsten Loesing [Thu, 7 Sep 2017 19:06:16 +0000 (21:06 +0200)]
Update geoip and geoip6 to the September 6 2017 database.
Nick Mathewson [Thu, 7 Sep 2017 13:20:00 +0000 (09:20 -0400)]
Fix crashes on empty +HSPOST and +POSTDESCRIPTOR commands
Fixes bug 22644; bugfix on 0.2.7.1-alpha and 0.2.0.1-alpha
respectively.
Nick Mathewson [Thu, 3 Aug 2017 13:07:28 +0000 (09:07 -0400)]
In ntmain, call set_main_thread() before running the loop.
Patch from Vort; fixes bug 23081; bugfix on
fd992deeea76972 in
0.2.1.16-rc when set_main_thread() was introduced.
See the changes file for a list of all the symptoms this bug has
been causing when running Tor as a Windows Service.
Nick Mathewson [Thu, 3 Aug 2017 12:44:31 +0000 (08:44 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.8
Nick Mathewson [Thu, 3 Aug 2017 12:44:31 +0000 (08:44 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Karsten Loesing [Thu, 3 Aug 2017 08:00:54 +0000 (10:00 +0200)]
Update geoip and geoip6 to the August 3 2017 database.
Nick Mathewson [Tue, 1 Aug 2017 15:30:29 +0000 (11:30 -0400)]
Merge remote-tracking branch 'public/bug19769_19025_029' into maint-0.2.9
Nick Mathewson [Tue, 1 Aug 2017 15:28:36 +0000 (11:28 -0400)]
Merge remote-tracking branch 'public/bug20059_024_v2' into maint-0.2.9
Nick Mathewson [Tue, 1 Aug 2017 15:22:42 +0000 (11:22 -0400)]
Merge remote-tracking branch 'public/bug22245_024' into maint-0.2.9
Nick Mathewson [Tue, 1 Aug 2017 15:21:14 +0000 (11:21 -0400)]
Merge remote-tracking branch 'public/bug18100_029' into maint-0.2.9
Nick Mathewson [Tue, 1 Aug 2017 15:19:29 +0000 (11:19 -0400)]
Merge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Tue, 1 Aug 2017 15:19:29 +0000 (11:19 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 1 Aug 2017 15:19:29 +0000 (11:19 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Tue, 1 Aug 2017 15:19:29 +0000 (11:19 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 1 Aug 2017 15:19:28 +0000 (11:19 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 1 Aug 2017 15:19:24 +0000 (11:19 -0400)]
Merge remote-tracking branch 'karsten/geoip-jul2017' into maint-0.2.4
Nick Mathewson [Thu, 27 Jul 2017 12:23:34 +0000 (08:23 -0400)]
Merge remote-tracking branch 'public/bug20247_029' into maint-0.2.9
Nick Mathewson [Wed, 26 Jul 2017 19:39:55 +0000 (15:39 -0400)]
Merge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Wed, 26 Jul 2017 19:39:55 +0000 (15:39 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 26 Jul 2017 19:39:55 +0000 (15:39 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 26 Jul 2017 19:39:55 +0000 (15:39 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 26 Jul 2017 19:39:55 +0000 (15:39 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Wed, 26 Jul 2017 19:39:50 +0000 (15:39 -0400)]
Point travis to #tor-ci, not #tor-bots
Nick Mathewson [Wed, 26 Jul 2017 19:37:00 +0000 (15:37 -0400)]
Travis update: "gcc-warnings" became "fatal-warnings" in 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
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
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
Nick Mathewson [Wed, 26 Jul 2017 19:34:56 +0000 (15:34 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 26 Jul 2017 19:34:40 +0000 (15:34 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 26 Jul 2017 16:58:17 +0000 (12:58 -0400)]
Merge branch 'bug23030_029_v2' into maint-0.2.9
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.
Nick Mathewson [Wed, 26 Jul 2017 16:53:13 +0000 (12:53 -0400)]
Merge branch 'bug22915_029_2' into maint-0.2.9
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.
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.
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 )
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 )
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 )
Isis Lovecruft [Wed, 12 Jul 2017 00:32:38 +0000 (00:32 +0000)]
Add a changes file for bug22636.
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)
Nick Mathewson [Fri, 14 Jul 2017 13:11:08 +0000 (09:11 -0400)]
Merge branch 'bug22916_027' into maint-0.2.9
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.
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.
Nick Mathewson [Fri, 7 Jul 2017 14:56:31 +0000 (10:56 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9