]>
git.ipfire.org Git - thirdparty/tor.git/log
David Goulet [Thu, 11 Aug 2022 15:15:20 +0000 (11:15 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
Tor CI Release [Thu, 11 Aug 2022 14:37:39 +0000 (14:37 +0000)]
version: Bump version to 0.4.5.13-dev
David Goulet [Thu, 11 Aug 2022 14:17:35 +0000 (10:17 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Thu, 11 Aug 2022 14:13:35 +0000 (10:13 -0400)]
release: ChangeLog/ReleaseNotes fixes
Signed-off-by: David Goulet <dgoulet@torproject.org>
Tor CI Release [Thu, 11 Aug 2022 13:40:32 +0000 (13:40 +0000)]
release: ChangeLog and ReleaseNotes for 0.4.5.13
Tor CI Release [Thu, 11 Aug 2022 13:40:32 +0000 (13:40 +0000)]
version: Bump version to 0.4.5.13
David Goulet [Thu, 11 Aug 2022 13:44:46 +0000 (09:44 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
Tor CI Release [Thu, 11 Aug 2022 13:39:29 +0000 (13:39 +0000)]
fallbackdir: Update list generated on August 11, 2022
Tor CI Release [Thu, 11 Aug 2022 13:38:23 +0000 (13:38 +0000)]
Update geoip files to match ipfire location db, 2022/08/11.
David Goulet [Wed, 10 Aug 2022 17:59:20 +0000 (13:59 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 10 Aug 2022 17:59:14 +0000 (13:59 -0400)]
fallbackdirs: Update list from maint-0.4.7
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 10 Aug 2022 17:41:25 +0000 (13:41 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 10 Aug 2022 17:41:22 +0000 (13:41 -0400)]
geoip: Update files from maint-0.4.7
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 2 Aug 2022 20:14:02 +0000 (16:14 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Tue, 2 Aug 2022 20:13:58 +0000 (16:13 -0400)]
Merge branch 'tor-gitlab/mr/608' into maint-0.4.5
David Goulet [Tue, 2 Aug 2022 20:08:50 +0000 (16:08 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Tue, 2 Aug 2022 19:49:03 +0000 (15:49 -0400)]
relay: Don't send DESTROY remote reason backward or forward
Fixes #40649
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 1 Aug 2022 14:58:40 +0000 (10:58 -0400)]
conn: Notify btrack subsys on normal OR conn close
Fixes #40604
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 27 Jul 2022 15:33:19 +0000 (11:33 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 27 Jul 2022 15:33:16 +0000 (11:33 -0400)]
Merge branch 'tor-gitlab/mr/605' into maint-0.4.5
Nick Mathewson [Wed, 27 Jul 2022 13:16:50 +0000 (09:16 -0400)]
Fix a check, make a netflow padding function more safe.
Previously, `channelpadding_get_netflow_inactive_timeout_ms` would
crash with an assertion failure if `low_timeout` was greater than
`high_timeout`. That wasn't possible in practice because of checks
in `channelpadding_update_padding_for_channel`, but it's better not
to have a function whose correctness is this tricky to prove.
Fixes #40645. Bugfix on 0.3.1.1-alpha.
David Goulet [Wed, 27 Jul 2022 12:32:01 +0000 (08:32 -0400)]
relay: Use remote reason when sending back a DESTROY
Fix from previous commit where a DESTROY cell is sent instead of a
TRUNCATED.
Related to #40623
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 26 Jul 2022 20:16:04 +0000 (16:16 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Fri, 22 Jul 2022 17:53:52 +0000 (13:53 -0400)]
relay: Send DESTROY cell instead of TRUNCATED cell
Note that with this commit, TRUNCATED cells won't be used anymore that
is client and relays won't emit them.
Fixes #40623
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Mon, 9 May 2022 14:37:25 +0000 (14:37 +0000)]
Merge branch 'maint-0.4.5' into release-0.4.5
Alexander Færøy [Mon, 9 May 2022 14:35:42 +0000 (14:35 +0000)]
Add changes entry to tor!575.
See: tpo/core/tor#40601.
pmu-ipf [Sat, 30 Apr 2022 11:10:04 +0000 (11:10 +0000)]
sandbox: Permit rseq syscall as well
This was found to be necessary in conjunction with glibc 2.35 on Linux.
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
David Goulet [Thu, 14 Apr 2022 13:37:46 +0000 (09:37 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Thu, 14 Apr 2022 13:37:43 +0000 (09:37 -0400)]
Merge branch 'tor-gitlab/mr/491' into maint-0.4.5
David Goulet [Thu, 14 Apr 2022 13:34:49 +0000 (09:34 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Thu, 14 Apr 2022 13:34:46 +0000 (09:34 -0400)]
Merge branch 'tor-gitlab/mr/497' into maint-0.4.5
David Goulet [Mon, 28 Mar 2022 13:45:16 +0000 (09:45 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Mon, 28 Mar 2022 13:44:31 +0000 (09:44 -0400)]
Merge branch 'tor-gitlab/mr/556' into maint-0.4.5
Nick Mathewson [Sun, 27 Mar 2022 22:34:25 +0000 (18:34 -0400)]
Sandbox: Permit the clone3 system call
Apparently glibc-2.34 uses clone3, when previously it just used
clone.
Closes ticket #40590.
David Goulet [Wed, 16 Mar 2022 17:27:31 +0000 (13:27 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 16 Mar 2022 17:27:27 +0000 (13:27 -0400)]
Merge branch 'tor-gitlab/mr/533' into maint-0.4.5
David Goulet [Thu, 10 Mar 2022 14:18:57 +0000 (09:18 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 9 Mar 2022 18:47:27 +0000 (13:47 -0500)]
hs: Schedule mainloop event on dirinfo change
Due to a possible Guard subsystem recursion, when the HS client gets
notified that the directory information has changed, it must run it in a
seperate mainloop event to avoid such issue.
See the ticket for more information on the recursion. This also fixes a
fatal assert.
Fixes #40579
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 9 Mar 2022 13:38:48 +0000 (08:38 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Tue, 8 Mar 2022 18:50:34 +0000 (13:50 -0500)]
hs: Fix multiple port label on single metric
Prometheus needs unique labels and so this bug was causing an onion
service with multiple ports to have multiple "port=" label for the
metrics requiring a port label.
Fixes #40581
Signed-off-by: David Goulet <dgoulet@torproject.org>
Jérôme Charaoui [Tue, 15 Feb 2022 22:07:24 +0000 (17:07 -0500)]
Add CI triggers for Debian package builds
This enables on-demand debian packaging CI builds on maintenance
branches, to replace (often unnecessary) daily scheduled builds.
David Goulet [Fri, 4 Feb 2022 17:36:44 +0000 (12:36 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
Tor CI Release [Fri, 4 Feb 2022 16:29:20 +0000 (16:29 +0000)]
version: Bump version to 0.4.5.12-dev
Tor CI Release [Fri, 4 Feb 2022 16:00:32 +0000 (16:00 +0000)]
release: ChangeLog and ReleaseNotes for 0.4.5.12
David Goulet [Fri, 4 Feb 2022 16:09:24 +0000 (11:09 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
Tor CI Release [Fri, 4 Feb 2022 16:00:33 +0000 (16:00 +0000)]
version: Bump version to 0.4.5.12
David Goulet [Fri, 4 Feb 2022 16:07:34 +0000 (11:07 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
Tor CI Release [Fri, 4 Feb 2022 15:49:03 +0000 (15:49 +0000)]
fallbackdir: Update list generated on February 04, 2022
Tor CI Release [Fri, 4 Feb 2022 15:46:27 +0000 (15:46 +0000)]
Update geoip files to match ipfire location db, 2022/02/04.
David Goulet [Fri, 4 Feb 2022 15:56:33 +0000 (10:56 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
Tor CI Release [Wed, 15 Dec 2021 16:17:47 +0000 (16:17 +0000)]
Update geoip files to match ipfire location db, 2021/12/15.
David Goulet [Fri, 4 Feb 2022 15:18:25 +0000 (10:18 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
Tor CI Release [Wed, 15 Dec 2021 16:29:45 +0000 (16:29 +0000)]
fallbackdir: Update list generated on December 15, 2021
David Goulet [Thu, 3 Feb 2022 13:30:40 +0000 (08:30 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 2 Feb 2022 18:51:22 +0000 (13:51 -0500)]
hs: Double quote the metrics label value
Fixes #40552
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jan 2022 15:49:41 +0000 (10:49 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Mon, 24 Jan 2022 15:49:32 +0000 (10:49 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Mon, 24 Jan 2022 15:47:29 +0000 (10:47 -0500)]
version: Bump version to 0.3.5.18
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jan 2022 15:35:02 +0000 (10:35 -0500)]
fallbackdir: Update list generated on January 24, 2022
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Mon, 24 Jan 2022 15:31:43 +0000 (10:31 -0500)]
geoip: Update to match ipfire location db, 2022/01/24.
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 19 Jan 2022 18:56:43 +0000 (13:56 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 19 Jan 2022 18:36:23 +0000 (13:36 -0500)]
test: Remove HSv2 protover specific test
HSv2 is not advertised as a supported protocol version anymore.
This was introduced with the merge-forward of commit
72041c63064b461e
which didn't fix the unit test.
Fixes #40549
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 18 Jan 2022 18:15:38 +0000 (13:15 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Tue, 18 Jan 2022 18:15:38 +0000 (13:15 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Tue, 18 Jan 2022 18:15:33 +0000 (13:15 -0500)]
Merge branch 'tor-gitlab/mr/511' into maint-0.3.5
David Goulet [Tue, 18 Jan 2022 18:15:29 +0000 (13:15 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Tue, 18 Jan 2022 18:15:29 +0000 (13:15 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Tue, 18 Jan 2022 18:15:23 +0000 (13:15 -0500)]
Merge branch 'tor-gitlab/mr/510' into maint-0.3.5
David Goulet [Tue, 18 Jan 2022 18:12:35 +0000 (13:12 -0500)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Tue, 18 Jan 2022 18:12:13 +0000 (13:12 -0500)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Jérôme Charaoui [Mon, 10 Jan 2022 15:16:24 +0000 (15:16 +0000)]
Update new relay blogpost URL
This removes the '/blog/' URL component which relies on a
redirection since the blog has been migrated to Lektor
David Goulet [Tue, 18 Jan 2022 17:51:52 +0000 (12:51 -0500)]
main: Update a dead URL in a log notice
Change https://www.torproject.org/download/download#warning to
https://support.torproject.org/faq/staying-anonymous/
Closes #40544
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 4 Nov 2021 18:44:58 +0000 (14:44 -0400)]
relay: Don't advertise HSv2 protocol version
We removed HSIntro=3 and HSDir=1 that are v2 specific. Since 0.3.5.17,
we do not support introducing or being a directory for onion service v2.
Closes #40509
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Mon, 6 Dec 2021 17:35:08 +0000 (12:35 -0500)]
Limit the number of elements in a consdiff hash line.
This avoids performing and then freeing a lot of small mallocs() if
the hash line has too many elements.
Fixes one case of bug 40472; resolves OSS-Fuzz 38363. Bugfix on
0.3.1.1-alpha when the consdiff parsing code was introduced.
Nick Mathewson [Mon, 15 Nov 2021 13:55:47 +0000 (08:55 -0500)]
Do not count controller-selected paths towards path bias.
As a side effect, this fixes a "Bug" warning.
Closes #40515. Bugfix on 0.2.4.10-alpha.
Alexander Færøy [Mon, 8 Nov 2021 14:16:19 +0000 (14:16 +0000)]
Merge branch 'maint-0.4.5' into release-0.4.5
Alexander Færøy [Mon, 8 Nov 2021 14:16:18 +0000 (14:16 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Alexander Færøy [Mon, 8 Nov 2021 14:15:59 +0000 (14:15 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/487' into maint-0.3.5
Alexander Færøy [Mon, 8 Nov 2021 14:15:56 +0000 (14:15 +0000)]
Merge remote-tracking branch 'tor-gitlab/mr/486' into maint-0.3.5
Nick Mathewson [Sat, 6 Nov 2021 15:04:08 +0000 (11:04 -0400)]
Give an error message if LibreSSL's TLSv1.3 APIs aren't what we need
From LibreSSL versions 3.2.1 through 3.4.0, our configure script
would conclude that TLSv1.3 as supported, but it actually wasn't.
This led to annoying breakage like #40128 and #40445.
Now we give an error message if we try to build with one of those
versions.
Closes #40511.
Nick Mathewson [Fri, 5 Nov 2021 17:23:05 +0000 (13:23 -0400)]
Reverse the direction of the test for openssl 3.0.0
Previously the logic was reversed, and always gave the wrong answer.
This has no other effect than to change whether we suppress
deprecated API warnings.
Fixes #40429; bugfix on 0.3.5.13.
David Goulet [Fri, 5 Nov 2021 14:44:10 +0000 (10:44 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Fri, 5 Nov 2021 14:42:54 +0000 (10:42 -0400)]
protover: Fix merge forward from 035
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 5 Nov 2021 14:35:08 +0000 (10:35 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Nick Mathewson [Fri, 5 Nov 2021 14:30:57 +0000 (10:30 -0400)]
Light edit to protover warnings.
David Goulet [Fri, 5 Nov 2021 14:16:08 +0000 (10:16 -0400)]
protover: Add a note on why LinkAuth is not recommended or required
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Fri, 5 Nov 2021 14:10:24 +0000 (10:10 -0400)]
protover: Move all hardcoded lists in one place
This also moves the warnings and add some theatrical effect around the
code so anyone modifying those list should notice the warnings signs and
read the comment accordingly.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Fri, 5 Nov 2021 13:15:10 +0000 (09:15 -0400)]
Add scary warnings about changing the protover list.
Doing this in the wrong way has potential to cause serious havoc on
the network, so let's make it harder for future programmers to mess
it up.
Alexander Færøy [Fri, 5 Nov 2021 03:10:29 +0000 (03:10 +0000)]
Merge branch 'maint-0.4.5' into release-0.4.5
Alexander Færøy [Fri, 5 Nov 2021 03:10:28 +0000 (03:10 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Alexander Færøy [Fri, 5 Nov 2021 03:10:12 +0000 (03:10 +0000)]
Merge remote-tracking branch 'ahf/ahf/ci-i386' into maint-0.3.5
David Goulet [Wed, 3 Nov 2021 13:52:48 +0000 (09:52 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 3 Nov 2021 13:52:03 +0000 (09:52 -0400)]
Merge branch 'tor-gitlab/mr/477' into maint-0.4.5
David Goulet [Tue, 2 Nov 2021 13:34:03 +0000 (09:34 -0400)]
relay: Don't allow DirPort on non-IPv4
Our code doesn't allow it and so this prevents an assert() crash if the
DirPort is for instance IPv6 only.
Fixes #40494
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 3 Nov 2021 13:47:43 +0000 (09:47 -0400)]
Merge branch 'maint-0.4.5' into release-0.4.5
David Goulet [Wed, 3 Nov 2021 13:47:43 +0000 (09:47 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.5
David Goulet [Wed, 3 Nov 2021 13:47:30 +0000 (09:47 -0400)]
shellcheck: Make it happy on couple scripts
Signed-off-by: David Goulet <dgoulet@torproject.org>
Alexander Færøy [Wed, 3 Nov 2021 12:36:30 +0000 (12:36 +0000)]
Add i386 version of debian-minimal for 32-bit Gitlab CI builds.
See: tpo/core/tor#40505
Alexander Færøy [Fri, 29 Oct 2021 16:56:33 +0000 (16:56 +0000)]
Merge branch 'maint-0.3.5' into maint-0.4.5
Alexander Færøy [Fri, 29 Oct 2021 16:56:33 +0000 (16:56 +0000)]
Merge branch 'maint-0.4.5' into release-0.4.5