]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Mon, 9 Dec 2019 21:03:01 +0000 (16:03 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
"ours" to avoid version bump.
Nick Mathewson [Mon, 9 Dec 2019 21:02:36 +0000 (16:02 -0500)]
bump to 0.4.1.7-dev
Nick Mathewson [Mon, 9 Dec 2019 21:02:07 +0000 (16:02 -0500)]
Merge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Mon, 9 Dec 2019 21:01:56 +0000 (16:01 -0500)]
Bump version to 0.4.0.6-dev
Nick Mathewson [Mon, 9 Dec 2019 21:01:22 +0000 (16:01 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.0
"ours" to avoid version bump.
Nick Mathewson [Mon, 9 Dec 2019 21:01:11 +0000 (16:01 -0500)]
bump to 0.3.5.9-dev
Nick Mathewson [Fri, 6 Dec 2019 21:02:08 +0000 (16:02 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
Nick Mathewson [Fri, 6 Dec 2019 21:02:08 +0000 (16:02 -0500)]
Merge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Fri, 6 Dec 2019 21:02:07 +0000 (16:02 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Fri, 6 Dec 2019 21:02:07 +0000 (16:02 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Karsten Loesing [Fri, 6 Dec 2019 10:50:35 +0000 (11:50 +0100)]
Update geoip and geoip6 to the December 3 2019 database.
Nick Mathewson [Thu, 5 Dec 2019 18:32:30 +0000 (13:32 -0500)]
Bump to 0.4.2.5
Nick Mathewson [Thu, 5 Dec 2019 18:32:06 +0000 (13:32 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
"ours" to avoid version bump.
Nick Mathewson [Thu, 5 Dec 2019 18:31:46 +0000 (13:31 -0500)]
bump version to 0.4.1.7
Nick Mathewson [Thu, 5 Dec 2019 18:31:17 +0000 (13:31 -0500)]
Merge branch 'maint-0.4.0' into maint-0.4.1
"ours" to avoid version bump.
Nick Mathewson [Thu, 5 Dec 2019 18:31:01 +0000 (13:31 -0500)]
Bump to 0.4.0.6
Nick Mathewson [Thu, 5 Dec 2019 18:30:32 +0000 (13:30 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.0
"ours" to avoid version bump.
Nick Mathewson [Thu, 5 Dec 2019 18:29:49 +0000 (13:29 -0500)]
Bump version to 0.3.5.9
teor [Thu, 5 Dec 2019 00:14:08 +0000 (10:14 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Thu, 5 Dec 2019 00:14:01 +0000 (10:14 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Thu, 5 Dec 2019 00:13:53 +0000 (10:13 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Thu, 5 Dec 2019 00:13:15 +0000 (10:13 +1000)]
Merge remote-tracking branch 'tor-github/pr/1424' into maint-0.4.0
teor [Thu, 5 Dec 2019 00:11:18 +0000 (10:11 +1000)]
Merge remote-tracking branch 'tor-github/pr/1277' into maint-0.3.5
teor [Tue, 3 Dec 2019 02:46:58 +0000 (12:46 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Tue, 3 Dec 2019 02:46:50 +0000 (12:46 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Tue, 3 Dec 2019 02:46:43 +0000 (12:46 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Thu, 28 Nov 2019 01:38:48 +0000 (11:38 +1000)]
Travis: use -std=gnu99 with NSS, and clang with Chutney
NSS:
* test NSS-specific code with -std=gnu99
* use a recent gcc version from the latest Ubuntu image
Chutney:
* use clang, so we keep one clang Linux job
* keep clang on a fast job, so the overall build finishes quickly
Closes ticket 32500 for 0.3.5.
teor [Tue, 3 Dec 2019 02:45:41 +0000 (12:45 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Merge C_DIALECT_OPTIONS from ticket32500_029 with
other configure options from maint-0.3.5.
teor [Fri, 15 Nov 2019 00:17:32 +0000 (10:17 +1000)]
Travis: use -std=gnu99 in some jobs
Require C99 standards-conforming code in Travis CI, but allow GNU gcc
extensions. Also activates clang's -Wtypedef-redefinition warnings.
Builds some jobs with -std=gnu99, and some jobs without.
Closes ticket 32500.
teor [Mon, 25 Nov 2019 02:50:15 +0000 (12:50 +1000)]
CodingStandards: Use consistent spacing
* 2 newlines before ====== headers
* 1 newline before ------ headers
teor [Mon, 25 Nov 2019 02:37:15 +0000 (12:37 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Mon, 25 Nov 2019 02:37:07 +0000 (12:37 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Mon, 25 Nov 2019 02:36:59 +0000 (12:36 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Mon, 25 Nov 2019 02:36:41 +0000 (12:36 +1000)]
Merge remote-tracking branch 'tor-github/pr/1441' into maint-0.4.0
teor [Mon, 25 Nov 2019 02:35:58 +0000 (12:35 +1000)]
Merge remote-tracking branch 'tor-github/pr/1396' into maint-0.4.0
teor [Mon, 25 Nov 2019 02:35:11 +0000 (12:35 +1000)]
Merge remote-tracking branch 'tor-github/pr/1464' into maint-0.3.5
teor [Mon, 25 Nov 2019 02:34:29 +0000 (12:34 +1000)]
Merge remote-tracking branch 'tor-github/pr/1422' into maint-0.3.5
teor [Mon, 25 Nov 2019 02:33:55 +0000 (12:33 +1000)]
Merge remote-tracking branch 'tor-github/pr/1405' into maint-0.3.5
teor [Mon, 25 Nov 2019 02:33:14 +0000 (12:33 +1000)]
Merge remote-tracking branch 'tor-github/pr/1395' into maint-0.3.5
teor [Mon, 25 Nov 2019 02:29:43 +0000 (12:29 +1000)]
Merge remote-tracking branch 'tor-github/pr/1394' into maint-0.3.5
teor [Mon, 25 Nov 2019 01:42:40 +0000 (11:42 +1000)]
CodingStandards: Use the correct changes file format
And remove a duplicate description of the format.
Obviously correct changes to documentation.
Nick Mathewson [Fri, 15 Nov 2019 13:06:09 +0000 (08:06 -0500)]
bump version to 0.4.2.4-rc-dev
Nick Mathewson [Tue, 12 Nov 2019 21:39:37 +0000 (16:39 -0500)]
Bump version to 0.4.2.4-rc.
teor [Mon, 11 Nov 2019 02:01:31 +0000 (12:01 +1000)]
test/parseconf: Add tests for ignored options
These tests will also pass on 0.4.3, with the original implementation,
and with the new implementation in 32404.
Part of 32295 and 32404.
teor [Mon, 11 Nov 2019 01:59:50 +0000 (11:59 +1000)]
config: Log the option name when skipping an obsolete option
This is a basic fix for 0.4.2 only. The fix for 0.4.3 and later
is in 32404.
Fixes bug 32295; bugfix on 0.4.2.1-alpha.
Nick Mathewson [Mon, 11 Nov 2019 15:14:04 +0000 (10:14 -0500)]
Merge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Mon, 11 Nov 2019 15:14:04 +0000 (10:14 -0500)]
Merge branch 'maint-0.4.1' into maint-0.4.2
Nick Mathewson [Mon, 11 Nov 2019 15:14:03 +0000 (10:14 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Mon, 11 Nov 2019 15:14:03 +0000 (10:14 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.5
teor [Mon, 11 Nov 2019 04:19:55 +0000 (14:19 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Mon, 11 Nov 2019 04:19:47 +0000 (14:19 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Mon, 11 Nov 2019 04:19:39 +0000 (14:19 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Mon, 11 Nov 2019 02:56:08 +0000 (12:56 +1000)]
Appveyor: Install OpenSSL to resolve a header/library mismatch
Install the mingw OpenSSL package in Appveyor. This makes sure that
the OpenSSL headers and libraries match in Tor's Appveyor builds.
(This bug was triggered by an Appveyor image update.)
Fixes bug 32449; bugfix on 0.3.5.6-rc.
Karsten Loesing [Sat, 9 Nov 2019 09:10:19 +0000 (10:10 +0100)]
Update geoip and geoip6 to the November 6 2019 database.
teor [Thu, 7 Nov 2019 00:51:22 +0000 (10:51 +1000)]
Merge remote-tracking branch 'tor-github/pr/1513' into maint-0.4.2
Nick Mathewson [Wed, 6 Nov 2019 16:33:23 +0000 (11:33 -0500)]
Do not try to shut down the event loop when it is not initialized.
Doing so caused us to crash in some unusual circumstances, such as
using --verify-config to verify a configuration that failed during
the options_act() stage.
Fixes bug 32407; bugfix on 0.3.3.1-alpha.
Nick Mathewson [Wed, 6 Nov 2019 13:57:14 +0000 (08:57 -0500)]
Merge remote-tracking branch 'tor-github/pr/1495' into maint-0.4.2
teor [Wed, 6 Nov 2019 11:28:28 +0000 (21:28 +1000)]
Merge remote-tracking branch 'tor-github/pr/1509' into maint-0.4.2
teor [Wed, 6 Nov 2019 05:52:18 +0000 (15:52 +1000)]
shellcheck: Fix issues in the git-*.sh scripts
Fixes bug 32402; bugfix on 0.4.2.1-alpha.
Obviously correct changes to already reviewed code.
teor [Wed, 6 Nov 2019 05:40:39 +0000 (15:40 +1000)]
shellcheck: Start checking most scripts for errors
This check was accidentally disabled by a bad find command.
Fixes bug 32402; bugfix on 0.4.2.1-alpha.
Obviously correct changes to already reviewed code.
teor [Wed, 6 Nov 2019 02:29:35 +0000 (12:29 +1000)]
Makefile: Fix "make check-includes" for out-of-tree builds
Previously, it would run on the build tree, which did not contain
any sources.
Fixes bug 31335; bugfix on 0.3.5.1-alpha.
teor [Wed, 6 Nov 2019 01:19:54 +0000 (11:19 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Wed, 6 Nov 2019 01:19:46 +0000 (11:19 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Wed, 6 Nov 2019 01:19:38 +0000 (11:19 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Wed, 6 Nov 2019 01:19:30 +0000 (11:19 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
teor [Wed, 6 Nov 2019 01:19:13 +0000 (11:19 +1000)]
Merge remote-tracking branch 'tor-github/pr/1374' into maint-0.4.1
teor [Wed, 6 Nov 2019 01:18:09 +0000 (11:18 +1000)]
Merge remote-tracking branch 'tor-github/pr/1354' into maint-0.3.5
teor [Wed, 6 Nov 2019 01:17:43 +0000 (11:17 +1000)]
Merge remote-tracking branch 'tor-github/pr/1348' into maint-0.3.5
teor [Wed, 6 Nov 2019 01:17:01 +0000 (11:17 +1000)]
Merge remote-tracking branch 'tor-github/pr/1340' into maint-0.3.5
teor [Wed, 6 Nov 2019 01:16:09 +0000 (11:16 +1000)]
Merge remote-tracking branch 'tor-github/pr/1343' into maint-0.3.5
teor [Wed, 6 Nov 2019 01:15:45 +0000 (11:15 +1000)]
Merge remote-tracking branch 'tor-github/pr/1342' into maint-0.2.9
teor [Wed, 6 Nov 2019 01:14:53 +0000 (11:14 +1000)]
Merge remote-tracking branch 'tor-github/pr/1330' into maint-0.2.9
teor [Tue, 5 Nov 2019 05:48:01 +0000 (15:48 +1000)]
configure: Remove a check that will always fail
And update the changes file to be more specific.
Part of 32191.
Hans-Christoph Steiner [Tue, 29 Oct 2019 20:13:56 +0000 (21:13 +0100)]
force pkg-config to only use --prefix when cross-compiling
The current pkg-config setup has no sense of whether it is cross-compiling,
so it will detect things on the build system that are not present or are
wrong for the host system. This forces the cross-compiling build to only
look for pkg-config .pc files in --prefix.
A version of this has been the setup for many years with the Android builds.
Fixes #32191
Signed-off-by: Hans-Christoph Steiner <hans@eds.org>
teor [Mon, 28 Oct 2019 22:26:55 +0000 (08:26 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Mon, 28 Oct 2019 22:26:48 +0000 (08:26 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Mon, 28 Oct 2019 22:26:40 +0000 (08:26 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Mon, 28 Oct 2019 22:26:32 +0000 (08:26 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
teor [Mon, 28 Oct 2019 22:23:35 +0000 (08:23 +1000)]
Merge remote-tracking branch 'tor-github/pr/1460' into maint-0.2.9
teor [Fri, 25 Oct 2019 00:56:13 +0000 (10:56 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Fri, 25 Oct 2019 00:56:06 +0000 (10:56 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1
teor [Fri, 25 Oct 2019 00:55:58 +0000 (10:55 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Fri, 25 Oct 2019 00:55:51 +0000 (10:55 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
teor [Fri, 25 Oct 2019 00:38:01 +0000 (10:38 +1000)]
Merge remote-tracking branch 'tor-github/pr/1466' into maint-0.4.2
teor [Thu, 24 Oct 2019 23:53:11 +0000 (09:53 +1000)]
changes: file for 31919's bionic Travis image change
teor [Thu, 24 Oct 2019 23:48:14 +0000 (09:48 +1000)]
Merge branch 'ticket31919_bionic_029' into ticket31919_bionic_035
teor [Wed, 23 Oct 2019 12:31:05 +0000 (22:31 +1000)]
Travis: Use Ubuntu Bionic, but keep Trusty for chutney
Bionic has a recent coccinelle version, which passes our CI tests.
But Bionic (and Xenial) cause permissions errors for chutney.
We'll fix those in 32240.
Part of 31919.
teor [Thu, 24 Oct 2019 23:41:48 +0000 (09:41 +1000)]
Merge remote-tracking branch 'tor-github/pr/1464' into maint-0.4.2
Nick Mathewson [Thu, 24 Oct 2019 19:55:22 +0000 (15:55 -0400)]
bump to 0.4.2.3-alpha-dev
David Goulet [Thu, 24 Oct 2019 15:25:05 +0000 (11:25 -0400)]
dir: Return 503 code when rejecting single hop request
Single hop rejection (POST and GET) for HS v3 descriptor now return a 503 code
which is more accurate code from dir-spec.txt and from other rejection case in
the code.
For instance if you are not a relay and you get a POST request, a 503 code is
sent back with a rejection message.
Part of #31958
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 24 Oct 2019 15:23:31 +0000 (11:23 -0400)]
dir: Remove connection_dir_is_anonymous() logging
First, remove the HSDir mention which should not be in that generic function.
Second, move them to debug() level since they are possible error case.
Part of #31958
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 24 Oct 2019 15:08:25 +0000 (11:08 -0400)]
dir: Look if circuit is closed in connection_dir_is_anonymous()
Before inspecting the p_chan, we must check if the circuit is marked for close
because if it is the case, the channels are nullified from the circuit.
Several valid cases can mark the circuit for close of the directory
connection.
Fixes #31958
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 23 Oct 2019 14:20:09 +0000 (10:20 -0400)]
hs-v3: Remove a BUG() caused by an acceptable race
hs_client_purge_state() and hs_cache_clean_as_client() can remove a descriptor
from the client cache with a NEWNYM or simply when the descriptor expires.
Which means that for an INTRO circuit being established during that time, once
it opens, we lookup the descriptor to get the IP object but hey surprised, no
more descriptor.
The approach here is minimalist that is accept the race and close the circuit
since we can not continue. Before that, the circuit would stay opened and the
client wait the SockTimeout.
Fixers #28970.
Signed-off-by: David Goulet <dgoulet@torproject.org>
teor [Wed, 23 Oct 2019 12:41:17 +0000 (22:41 +1000)]
Travis: Use macOS 10.14 with Xcode 11.2
Closes ticket 32241.
Nick Mathewson [Thu, 24 Oct 2019 00:25:34 +0000 (20:25 -0400)]
Bump to 0.4.2.3-alpha
teor [Tue, 22 Oct 2019 23:59:07 +0000 (09:59 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
`git merge --strategy ours` to use STATIC for unit tests in
maint-0.4.2.
teor [Tue, 22 Oct 2019 23:58:22 +0000 (09:58 +1000)]
Merge branch 'pr1450_squashed' into maint-0.4.1
Nick Mathewson [Thu, 29 Aug 2019 15:43:43 +0000 (11:43 -0400)]
Authorities reject relays running unsupported Tor release series.
Our minimum version is now 0.2.9.5-alpha. Series 0.3.0, 0.3.1,
0.3.2, 0.3.3, and 0.3.4 are now rejected.
Also, extract this version-checking code into a new function, so we
can test it.
Closes ticket 31549.
Also reject 0.3.5.0 through 0.3.5.6-rc as unstable.
teor [Tue, 22 Oct 2019 22:47:23 +0000 (08:47 +1000)]
Merge branch 'maint-0.4.1' into maint-0.4.2
teor [Tue, 22 Oct 2019 22:47:15 +0000 (08:47 +1000)]
Merge branch 'maint-0.4.0' into maint-0.4.1