]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Thu, 13 Aug 2020 18:20:39 +0000 (14:20 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Thu, 13 Aug 2020 18:20:39 +0000 (14:20 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Thu, 13 Aug 2020 18:20:27 +0000 (14:20 -0400)]
Merge remote-tracking branch 'tor-gitlab/mr/125' into maint-0.3.5
Nick Mathewson [Thu, 13 Aug 2020 00:21:04 +0000 (20:21 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Thu, 13 Aug 2020 00:21:04 +0000 (20:21 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Thu, 13 Aug 2020 00:20:58 +0000 (20:20 -0400)]
Improve comments in .gitlab-ci.yml
Nick Mathewson [Thu, 13 Aug 2020 00:13:18 +0000 (20:13 -0400)]
CI: Turn on stem with 044 and later.
Nick Mathewson [Wed, 12 Aug 2020 18:25:46 +0000 (14:25 -0400)]
Fix allocation counting in clean_v2_descs_as_dir test.
Without this fix, running this test on its own would fail.
Fixes bug 40099. Bugfix on
ade5005853c17b3 in 0.2.8.1-alpha.
Nick Mathewson [Wed, 12 Aug 2020 16:29:17 +0000 (12:29 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Wed, 12 Aug 2020 16:29:17 +0000 (12:29 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Wed, 12 Aug 2020 16:13:56 +0000 (12:13 -0400)]
CI: improve output when skipping doxygen
Nick Mathewson [Wed, 12 Aug 2020 15:35:15 +0000 (11:35 -0400)]
Try disabling "make all" when checking docs.
Nick Mathewson [Wed, 12 Aug 2020 13:38:19 +0000 (09:38 -0400)]
CI: Try to enable integration tests, hardening, and clang.
Nick Mathewson [Wed, 12 Aug 2020 12:39:41 +0000 (08:39 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Wed, 12 Aug 2020 12:39:41 +0000 (08:39 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
George Kadianakis [Wed, 12 Aug 2020 11:05:21 +0000 (14:05 +0300)]
CI: Remove VS2015 AppVeyor build.
Nick Mathewson [Tue, 11 Aug 2020 16:37:08 +0000 (12:37 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Tue, 11 Aug 2020 16:37:08 +0000 (12:37 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Tue, 11 Aug 2020 16:24:03 +0000 (12:24 -0400)]
CI: label our python versions.
Nick Mathewson [Tue, 11 Aug 2020 16:22:35 +0000 (12:22 -0400)]
CI: Only run doxygen on 0.4.3 and later.
Nick Mathewson [Tue, 11 Aug 2020 15:06:21 +0000 (11:06 -0400)]
CI: enable documentation testing
Nick Mathewson [Tue, 11 Aug 2020 15:03:24 +0000 (11:03 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Tue, 11 Aug 2020 15:03:24 +0000 (11:03 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Tue, 11 Aug 2020 15:03:11 +0000 (11:03 -0400)]
Fix a pair of typos in ci-driver.sh.
Nick Mathewson [Tue, 11 Aug 2020 14:44:40 +0000 (10:44 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Tue, 11 Aug 2020 14:44:40 +0000 (10:44 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Tue, 11 Aug 2020 14:44:32 +0000 (10:44 -0400)]
Add a pair of warnings about only editing CI in 035
Nick Mathewson [Mon, 10 Aug 2020 23:33:06 +0000 (19:33 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Mon, 10 Aug 2020 23:32:49 +0000 (19:32 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Mon, 10 Aug 2020 21:36:21 +0000 (17:36 -0400)]
small code tweaks to try to work around debian stable complaints
Nick Mathewson [Mon, 10 Aug 2020 20:10:12 +0000 (16:10 -0400)]
Try to set up a minimal gitlab CI script
This is based on @eighthave's templates, and the work we've been
doing to present a uniform testing environment.
Nick Mathewson [Mon, 10 Aug 2020 19:58:28 +0000 (15:58 -0400)]
Add a shareable continuous-integration script.
Eventually this should be used by every one of our CI scripts.
Nick Mathewson [Thu, 6 Aug 2020 17:24:11 +0000 (13:24 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Thu, 6 Aug 2020 17:24:11 +0000 (13:24 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Thu, 6 Aug 2020 16:42:14 +0000 (12:42 -0400)]
Copy from master gitlab-ci.yml from master back to maint-0.3.5
Alexander Færøy [Fri, 31 Jul 2020 02:03:34 +0000 (02:03 +0000)]
Merge branch 'maint-0.4.2' into release-0.4.2
Alexander Færøy [Fri, 31 Jul 2020 02:03:34 +0000 (02:03 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Thu, 30 Jul 2020 18:24:25 +0000 (14:24 -0400)]
Fix a bug in buf_move_all() when the input buffer is empty.
We found this in #40076, after we started using buf_move_all() in
more places. Fixes bug #40076; bugfix on 0.3.3.1-alpha. As far as
I know, the crash only affects master, but I think this warrants a
backport, "just in case".
Nick Mathewson [Thu, 30 Jul 2020 18:19:32 +0000 (14:19 -0400)]
Add unit test for buf_move_all(), including a failing case
The failing case is #if'd out for now, but will be fixed in the next
commit.
Testing for a fix for #40076.
Nick Mathewson [Wed, 29 Jul 2020 16:37:07 +0000 (12:37 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Wed, 29 Jul 2020 16:37:07 +0000 (12:37 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Tue, 28 Jul 2020 15:30:47 +0000 (11:30 -0400)]
Use _lseeki64() on windows.
Fixes bug 31036; bugfix on 0.2.1.8-alpha when we moved the logging
system to use posix fds.
Nick Mathewson [Mon, 27 Jul 2020 16:56:18 +0000 (12:56 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Mon, 27 Jul 2020 16:56:18 +0000 (12:56 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
David Goulet [Fri, 24 Jul 2020 18:56:05 +0000 (14:56 -0400)]
fallbackdir: Remove all three Digitalcourage3 relays
They are about to be shutdown in September.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Thu, 23 Jul 2020 14:09:14 +0000 (10:09 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Thu, 23 Jul 2020 14:09:14 +0000 (10:09 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Thu, 23 Jul 2020 14:08:42 +0000 (10:08 -0400)]
More info in the fallbackdir changes file
David Goulet [Thu, 23 Jul 2020 13:51:45 +0000 (09:51 -0400)]
fallbackdir: Update list for 2020
Closes #40061
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Thu, 9 Jul 2020 17:15:59 +0000 (13:15 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Thu, 9 Jul 2020 17:14:48 +0000 (13:14 -0400)]
Bump to 0.4.2.8-dev
Nick Mathewson [Thu, 9 Jul 2020 17:14:22 +0000 (13:14 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
`-s ours` to avoid version bump.
Nick Mathewson [Thu, 9 Jul 2020 17:12:45 +0000 (13:12 -0400)]
Bump to 0.3.5.11-dev
Nick Mathewson [Thu, 9 Jul 2020 14:32:39 +0000 (10:32 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Thu, 9 Jul 2020 14:30:37 +0000 (10:30 -0400)]
Update version to 0.4.2.8.
Nick Mathewson [Thu, 9 Jul 2020 14:30:03 +0000 (10:30 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
`-s ours` to avoid version bump.
Nick Mathewson [Thu, 9 Jul 2020 14:28:21 +0000 (10:28 -0400)]
bump to 0.3.5.11
Nick Mathewson [Thu, 9 Jul 2020 14:24:53 +0000 (10:24 -0400)]
042: copy changelog into release notes
Nick Mathewson [Thu, 9 Jul 2020 14:19:52 +0000 (10:19 -0400)]
final entries for 0.4.2.8 changelog
Nick Mathewson [Thu, 9 Jul 2020 13:28:53 +0000 (09:28 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Thu, 9 Jul 2020 13:28:53 +0000 (09:28 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Thu, 9 Jul 2020 13:28:36 +0000 (09:28 -0400)]
Merge branch 'trove_2020_001_035' into maint-0.3.5
Alexander Færøy [Wed, 8 Jul 2020 00:36:48 +0000 (00:36 +0000)]
Merge branch 'maint-0.4.2' into release-0.4.2
Alexander Færøy [Wed, 8 Jul 2020 00:36:47 +0000 (00:36 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Nick Mathewson [Tue, 7 Jul 2020 18:58:49 +0000 (14:58 -0400)]
Resolve a compiler warning from a 32-bit signed/unsigned comparison
This warning only affects platforms (like win32) with 32-bit time_t.
Fixes bug 40028; bugfix on 0.3.2.8-rc.
Alexander Færøy [Tue, 7 Jul 2020 14:48:36 +0000 (14:48 +0000)]
Merge branch 'maint-0.4.2' into release-0.4.2
Alexander Færøy [Tue, 7 Jul 2020 14:48:35 +0000 (14:48 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.2
David Goulet [Tue, 7 Jul 2020 13:20:28 +0000 (09:20 -0400)]
CI: Fix Appveyor printf format error
For some reasons, Appveyor started to use the stdio printf format for 64 bit
values (PRIu64, ...). Mingw doesn't like that so force it to use the Windows
specific macros by setting D__USE_MINGW_ANSI_STDIO=0.
Fixes #40026
Nick Mathewson [Mon, 6 Jul 2020 21:04:30 +0000 (17:04 -0400)]
Start on a changelog for 0.4.2.8
Alexander Færøy [Sat, 16 May 2020 19:18:56 +0000 (19:18 +0000)]
Use ((x + 7) >> 3) instead of (x >> 3) when converting from bits to bytes.
This patch changes our bits-to-bytes conversion logic in the NSS
implementation of `tor_tls_cert_matches_key()` from using (x >> 3) to
((x + 7) >> 3) since DER bit-strings are allowed to contain a number of
bits that is not a multiple of 8.
Additionally, we add a comment on why we cannot use the
`DER_ConvertBitString()` macro from NSS, as we would potentially apply
the bits-to-bytes conversion logic twice, which would lead to an
insignificant amount of bytes being compared in
`SECITEM_ItemsAreEqual()` and thus turn the logic into being a
prefix match instead of a full match.
The `DER_ConvertBitString()` macro is defined in NSS as:
/*
** Macro to convert der decoded bit string into a decoded octet
** string. All it needs to do is fiddle with the length code.
*/
#define DER_ConvertBitString(item) \
{ \
(item)->len = ((item)->len + 7) >> 3; \
}
Thanks to Taylor Yu for spotting this problem.
This patch is part of the fix for TROVE-2020-001.
See: https://bugs.torproject.org/33119
Alexander Færøy [Sat, 16 May 2020 15:34:37 +0000 (15:34 +0000)]
Add constness to length variables in `tor_tls_cert_matches_key`.
We add constness to `peer_info_orig_len` and `cert_info_orig_len` in
`tor_tls_cert_matches_key` to ensure that we don't accidentally alter
the variables.
This patch is part of the fix for TROVE-2020-001.
See: https://bugs.torproject.org/33119
Alexander Færøy [Tue, 31 Mar 2020 02:33:54 +0000 (02:33 +0000)]
Fix out-of-bound memory read in `tor_tls_cert_matches_key()` for NSS.
This patch fixes an out-of-bound memory read in
`tor_tls_cert_matches_key()` when Tor is compiled to use Mozilla's NSS
instead of OpenSSL.
The NSS library stores some length fields in bits instead of bytes, but
the comparison function found in `SECITEM_ItemsAreEqual()` needs the
length to be encoded in bytes. This means that for a 140-byte,
DER-encoded, SubjectPublicKeyInfo struct (with a 1024-bit RSA public key
in it), we would ask `SECITEM_ItemsAreEqual()` to compare the first 1120
bytes instead of 140 (140bytes * 8bits = 1120bits).
This patch fixes the issue by converting from bits to bytes before
calling `SECITEM_ItemsAreEqual()` and convert the `len`-fields back to
bits before we leave the function.
This patch is part of the fix for TROVE-2020-001.
See: https://bugs.torproject.org/33119
Alexander Færøy [Tue, 31 Mar 2020 02:28:12 +0000 (02:28 +0000)]
Run `tor_tls_cert_matches_key()` Test Suite with both OpenSSL and NSS.
This patch lifts the `tor_tls_cert_matches_key()` tests out of the
OpenSSL specific TLS test suite and moves it into the generic TLS test
suite that is executed for both OpenSSL and NSS.
This patch is largely a code movement, but we had to rewrite parts of
the test to avoid using OpenSSL specific data-types (such as `X509 *`)
and replace it with the generic Tor abstraction type
(`tor_x509_cert_impl_t *`).
This patch is part of the fix for TROVE-2020-001.
See: https://bugs.torproject.org/33119
David Goulet [Thu, 2 Jul 2020 11:20:57 +0000 (07:20 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2
David Goulet [Thu, 2 Jul 2020 11:20:57 +0000 (07:20 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Tue, 30 Jun 2020 15:54:13 +0000 (11:54 -0400)]
Downgrade "Bug: No entry found in extrainfo map" message.
This is not actually a bug! It can happen for a bunch of reasons,
which all boil down to "trying to add an extrainfo for which we no
longer have the corresponding routerinfo".
Fixes #16016; bugfix on 0.2.6.3-alpha.
Alexander Færøy [Tue, 30 Jun 2020 14:23:41 +0000 (14:23 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 14:23:41 +0000 (14:23 +0000)]
Merge branch 'maint-0.4.2' into release-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 14:23:17 +0000 (14:23 +0000)]
Merge branch 'tor-github/pr/1909' into maint-0.3.5
Alexander Færøy [Tue, 30 Jun 2020 14:16:16 +0000 (14:16 +0000)]
Merge branch 'maint-0.4.2' into release-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 14:15:57 +0000 (14:15 +0000)]
Merge branch 'tor-github/pr/1806' into maint-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 14:03:04 +0000 (14:03 +0000)]
Merge branch 'maint-0.4.2' into release-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 14:03:04 +0000 (14:03 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 13:55:39 +0000 (13:55 +0000)]
Merge branch 'tor-github/pr/1793' into maint-0.3.5
Alexander Færøy [Tue, 30 Jun 2020 13:48:49 +0000 (13:48 +0000)]
Merge branch 'maint-0.4.2' into release-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 13:48:49 +0000 (13:48 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 13:47:55 +0000 (13:47 +0000)]
Merge branch 'tor-github/pr/1785' into maint-0.3.5
Alexander Færøy [Tue, 30 Jun 2020 13:37:20 +0000 (13:37 +0000)]
Merge branch 'maint-0.4.2' into release-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 13:37:20 +0000 (13:37 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.2
Alexander Færøy [Tue, 30 Jun 2020 13:35:13 +0000 (13:35 +0000)]
Merge remote-tracking branch 'nickm-github/bug32884_035' into maint-0.3.5
Nick Mathewson [Mon, 29 Jun 2020 17:57:50 +0000 (13:57 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 17:57:13 +0000 (13:57 -0400)]
Merge branch 'ticket33290_v2_042' into maint-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 17:53:39 +0000 (13:53 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 17:53:27 +0000 (13:53 -0400)]
Merge remote-tracking branch 'tor-github/pr/1696/head' into maint-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 17:48:32 +0000 (13:48 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 17:48:25 +0000 (13:48 -0400)]
Merge remote-tracking branch 'tor-github/pr/1697/head' into maint-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 16:58:50 +0000 (12:58 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 16:58:23 +0000 (12:58 -0400)]
Merge remote-tracking branch 'tor-github/pr/1722/head' into maint-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 16:55:35 +0000 (12:55 -0400)]
Merge branch 'maint-0.4.2' into release-0.4.2
Nick Mathewson [Mon, 29 Jun 2020 16:55:35 +0000 (12:55 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.2