]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
16 months agoUpdate OverloadStatistics to match prop 328
Georg Koppen [Wed, 8 May 2024 09:34:05 +0000 (09:34 +0000)] 
Update OverloadStatistics to match prop 328

Closes: #40940.
16 months agoMerge branch 'ticket40689_048_01' into maint-0.4.8
David Goulet [Thu, 30 May 2024 16:30:40 +0000 (12:30 -0400)] 
Merge branch 'ticket40689_048_01' into maint-0.4.8

16 months agoscripts: Fix Python3 warnings
David Goulet [Thu, 30 May 2024 13:50:38 +0000 (09:50 -0400)] 
scripts: Fix Python3 warnings

Signed-off-by: David Goulet <dgoulet@torproject.org>
16 months agodirauth: Add new faravahar
David Goulet [Thu, 30 May 2024 13:09:39 +0000 (09:09 -0400)] 
dirauth: Add new faravahar

Brand new address, brand new keys, brand new day.

Closes #40689

Signed-off-by: David Goulet <dgoulet@torproject.org>
17 months agoFix typo in tor-relays list address
hiro [Tue, 30 Apr 2024 12:35:16 +0000 (14:35 +0200)] 
Fix typo in tor-relays list address

18 months agocircuit: Remove log_warn triggered by a proto violation
David Goulet [Tue, 16 Apr 2024 15:05:52 +0000 (11:05 -0400)] 
circuit: Remove log_warn triggered by a proto violation

Fixes #40932

Signed-off-by: David Goulet <dgoulet@torproject.org>
18 months agoMerge branch 'tor-gitlab/mr/808' into maint-0.4.8
David Goulet [Mon, 15 Apr 2024 19:11:16 +0000 (15:11 -0400)] 
Merge branch 'tor-gitlab/mr/808' into maint-0.4.8

18 months agoconflux: Don't process a closed circuit on get packaged window
David Goulet [Mon, 15 Apr 2024 18:45:29 +0000 (14:45 -0400)] 
conflux: Don't process a closed circuit on get packaged window

Signed-off-by: David Goulet <dgoulet@torproject.org>
18 months agoconflux: Avoid noting a cell was sent on a closed circuit
David Goulet [Mon, 15 Apr 2024 18:24:45 +0000 (14:24 -0400)] 
conflux: Avoid noting a cell was sent on a closed circuit

It turns out that circuit_package_relay_cell() returns 0 in order to drop a
cell but there is a code path, if the circuit queue is full, that also silently
closes the circuit and returns 0.

This lead to Conflux thinking a cell was sent but actually the cell was not and
the circuit was closed leading to the hard assert.

And so this function makes sure that circuit_package_relay_cell() and
append_cell_to_circuit_queue() returns a value that indicate what happened with
the cell and circuit so the caller can make an informed decision with it.

This change makes it that we do NOT enter the Conflux subsystem if the cell is
not queued on the circuit.

Fixes #40921

Signed-off-by: David Goulet <dgoulet@torproject.org>
18 months agoversion: Bump version to 0.4.8.11-dev
Tor CI Release [Wed, 10 Apr 2024 17:10:15 +0000 (17:10 +0000)] 
version: Bump version to 0.4.8.11-dev

18 months agoversion: Bump version to 0.4.8.11
Tor CI Release [Wed, 10 Apr 2024 16:54:58 +0000 (16:54 +0000)] 
version: Bump version to 0.4.8.11

18 months agofallbackdir: Update list generated on April 10, 2024
Tor CI Release [Wed, 10 Apr 2024 16:54:12 +0000 (16:54 +0000)] 
fallbackdir: Update list generated on April 10, 2024

18 months agoUpdate geoip files to match ipfire location db, 2024/04/10.
Tor CI Release [Wed, 10 Apr 2024 16:53:43 +0000 (16:53 +0000)] 
Update geoip files to match ipfire location db, 2024/04/10.

18 months agodirauth: New keys and address for tor26
David Goulet [Mon, 8 Apr 2024 14:33:54 +0000 (10:33 -0400)] 
dirauth: New keys and address for tor26

Signed-off-by: David Goulet <dgoulet@torproject.org>
20 months agoTry to appease the changefile format checker
Sebastian Hahn [Tue, 6 Feb 2024 18:52:44 +0000 (19:52 +0100)] 
Try to appease the changefile format checker

20 months agoUpdate test strings
Sebastian Hahn [Thu, 1 Feb 2024 16:16:17 +0000 (17:16 +0100)] 
Update test strings

20 months agoAdd a changes file
Sebastian Hahn [Thu, 1 Feb 2024 15:45:58 +0000 (16:45 +0100)] 
Add a changes file

20 months agodirauth: Warn when failing to post during a vote
Sebastian Hahn [Thu, 1 Feb 2024 09:34:30 +0000 (10:34 +0100)] 
dirauth: Warn when failing to post during a vote

The only way to figure out that posting a vote or signatures to another
dirauth failed is by counting how many success messages there are on
notice level, and noticing that it is fewer than the number of
configured dirauths.

Closes #40910.

20 months agodirauth: Reject 0.4.7.x series at the authority level
David Goulet [Tue, 30 Jan 2024 15:56:16 +0000 (10:56 -0500)] 
dirauth: Reject 0.4.7.x series at the authority level

Signed-off-by: David Goulet <dgoulet@torproject.org>
20 months agobwauth: Allow "node_id" KeyValue without "$"
juga [Sat, 18 Nov 2023 17:45:28 +0000 (17:45 +0000)] 
bwauth: Allow "node_id" KeyValue without "$"

Allow "node_id" KeyValue without the dollar sign at the start of the
hexdigit in the BandwidthFiles, in order to easier database queries
combining Tor documents in which the relays fingerprint doesn't
include it.
Bugfix on all supported versions of Tor.

Closes #40891

21 months agoadd release note and changelog entry for #40819
trinity-1686a [Sun, 26 Nov 2023 12:12:47 +0000 (13:12 +0100)] 
add release note and changelog entry for #40819

22 months agoversion: Bump version to 0.4.8.10-dev
Tor CI Release [Fri, 8 Dec 2023 18:53:15 +0000 (18:53 +0000)] 
version: Bump version to 0.4.8.10-dev

22 months agoversion: Bump version to 0.4.8.10
Tor CI Release [Fri, 8 Dec 2023 18:31:17 +0000 (18:31 +0000)] 
version: Bump version to 0.4.8.10

22 months agofallbackdir: Update list generated on December 08, 2023
Tor CI Release [Fri, 8 Dec 2023 18:29:44 +0000 (18:29 +0000)] 
fallbackdir: Update list generated on December 08, 2023

22 months agoUpdate geoip files to match ipfire location db, 2023/12/08.
Tor CI Release [Fri, 8 Dec 2023 18:28:23 +0000 (18:28 +0000)] 
Update geoip files to match ipfire location db, 2023/12/08.

22 months agoMerge remote-tracking branch 'mikeperry-private/bug40897' into maint-0.4.8
David Goulet [Fri, 8 Dec 2023 18:19:40 +0000 (13:19 -0500)] 
Merge remote-tracking branch 'mikeperry-private/bug40897' into maint-0.4.8

22 months agoMerge remote-tracking branch 'origin/merge-requests/776' into maint-0.4.8
Alexander Færøy [Thu, 7 Dec 2023 21:38:03 +0000 (21:38 +0000)] 
Merge remote-tracking branch 'origin/merge-requests/776' into maint-0.4.8

22 months agoBug 40897: Changes file
Mike Perry [Wed, 6 Dec 2023 20:58:01 +0000 (20:58 +0000)] 
Bug 40897: Changes file

22 months agoBug 40897 Bug Bounty: Double the number of max conflux circs
Mike Perry [Wed, 6 Dec 2023 17:23:19 +0000 (17:23 +0000)] 
Bug 40897 Bug Bounty: Double the number of max conflux circs

We strongly suspect that bug 40897 was caused by a custom Tor client that
tried to use more than the default number of conflux circuits, for either
performance or traffic analysis defense gains, or both.

This entity hit a safety check on the exit side, which caused a UAF. Our
"belt and suspenders" snapped off, and hit us in the face... again...

Since there are good reasons to try more than 2 conflux legs, and research has
found some traffic analysis benefits with as many as 5, we're going to raise
and parameterize this limit as a form of bug bounty for finding this UAF, so
that this entity can try out a little more confluxing.

This should also make it easier for researchers to try things like gathering
traces with larger amounts of confluxing than normal, to measure real-world
traffic analysis impacts of conflux.

Shine on, you yoloing anonymous diamond. Let us know if you find out anything
interesting!

22 months agoBug 40897: Add more checks to free paths
Mike Perry [Wed, 6 Dec 2023 18:54:59 +0000 (18:54 +0000)] 
Bug 40897: Add more checks to free paths

Similar double-frees would be caught earlier by these, so long as the pointers
remain nulled out.

22 months agoBug 40897: Move safety check to proper location and give it error handling.
Mike Perry [Wed, 6 Dec 2023 17:12:43 +0000 (17:12 +0000)] 
Bug 40897: Move safety check to proper location and give it error handling.

22 months agoupdate changes file with correct introduced version
trinity-1686a [Wed, 6 Dec 2023 16:42:41 +0000 (17:42 +0100)] 
update changes file with correct introduced version

23 months agoversion: Bump version to 0.4.8.9-dev
Tor CI Release [Thu, 9 Nov 2023 14:47:09 +0000 (14:47 +0000)] 
version: Bump version to 0.4.8.9-dev

23 months agoversion: Bump version to 0.4.8.9
Tor CI Release [Thu, 9 Nov 2023 14:21:49 +0000 (14:21 +0000)] 
version: Bump version to 0.4.8.9

23 months agofallbackdir: Update list generated on November 09, 2023
Tor CI Release [Thu, 9 Nov 2023 14:21:06 +0000 (14:21 +0000)] 
fallbackdir: Update list generated on November 09, 2023

23 months agoUpdate geoip files to match ipfire location db, 2023/11/09.
Tor CI Release [Thu, 9 Nov 2023 14:20:37 +0000 (14:20 +0000)] 
Update geoip files to match ipfire location db, 2023/11/09.

23 months agoMerge branch 'ticket40883_048_01' into maint-0.4.8
David Goulet [Thu, 9 Nov 2023 14:14:19 +0000 (09:14 -0500)] 
Merge branch 'ticket40883_048_01' into maint-0.4.8

23 months agoMerge branch 'tor-gitlab/mr/778' into maint-0.4.8
David Goulet [Thu, 9 Nov 2023 14:10:52 +0000 (09:10 -0500)] 
Merge branch 'tor-gitlab/mr/778' into maint-0.4.8

23 months agohs: Always check if the hs_ident is available when processing a cell
David Goulet [Wed, 8 Nov 2023 16:17:48 +0000 (11:17 -0500)] 
hs: Always check if the hs_ident is available when processing a cell

Signed-off-by: David Goulet <dgoulet@torproject.org>
23 months agohs: Fix assert in hs_metrics_update_by_ident()
David Goulet [Tue, 7 Nov 2023 18:50:28 +0000 (13:50 -0500)] 
hs: Fix assert in hs_metrics_update_by_ident()

The hs_metrics_failed_rdv() macro could pass a NULL value for the identity key
when a building circuit would end up in a failure path *before* the "hs_ident"
was able to be set which leading to this assert.

This was introduced in 0.4.8.1-alpha with the addition of rendezvous circuit
failure metrics for the MetricsPort.

This fixes TROVE-2023-006 for which its severity is considered high.

Signed-off-by: David Goulet <dgoulet@torproject.org>
23 months agoversion: Bump version to 0.4.8.8-dev
Tor CI Release [Fri, 3 Nov 2023 13:50:01 +0000 (13:50 +0000)] 
version: Bump version to 0.4.8.8-dev

23 months agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Fri, 3 Nov 2023 14:53:57 +0000 (10:53 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

23 months agoversion: Bump version to 0.4.7.16-dev maint-0.4.7
Tor CI Release [Fri, 3 Nov 2023 13:50:00 +0000 (13:50 +0000)] 
version: Bump version to 0.4.7.16-dev

23 months agoUpdate geoip files to match ipfire location db, 2023/11/03.
Tor CI Release [Fri, 3 Nov 2023 13:18:09 +0000 (13:18 +0000)] 
Update geoip files to match ipfire location db, 2023/11/03.

23 months agofallbackdir: Update list generated on November 03, 2023
Tor CI Release [Fri, 3 Nov 2023 13:18:42 +0000 (13:18 +0000)] 
fallbackdir: Update list generated on November 03, 2023

23 months agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Fri, 3 Nov 2023 13:28:37 +0000 (09:28 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

23 months agoversion: Bump version to 0.4.8.8 tor-0.4.8.8
Tor CI Release [Fri, 3 Nov 2023 13:21:33 +0000 (13:21 +0000)] 
version: Bump version to 0.4.8.8

23 months agoversion: Bump version to 0.4.7.16 tor-0.4.7.16
Tor CI Release [Fri, 3 Nov 2023 13:21:31 +0000 (13:21 +0000)] 
version: Bump version to 0.4.7.16

23 months agofallbackdir: Update list generated on November 03, 2023
Tor CI Release [Fri, 3 Nov 2023 13:18:42 +0000 (13:18 +0000)] 
fallbackdir: Update list generated on November 03, 2023

23 months agoUpdate geoip files to match ipfire location db, 2023/11/03.
Tor CI Release [Fri, 3 Nov 2023 13:18:09 +0000 (13:18 +0000)] 
Update geoip files to match ipfire location db, 2023/11/03.

23 months agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Fri, 3 Nov 2023 13:13:11 +0000 (09:13 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

23 months agoSync geoip and fallbackdir from maint 048 before release
David Goulet [Fri, 3 Nov 2023 13:13:05 +0000 (09:13 -0400)] 
Sync geoip and fallbackdir from maint 048 before release

Signed-off-by: David Goulet <dgoulet@torproject.org>
23 months agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Fri, 3 Nov 2023 13:04:27 +0000 (09:04 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

23 months agoFix TROVE-2023-004: Remote crash when compiled against OpenSSL
Alexander Færøy [Thu, 2 Nov 2023 18:38:43 +0000 (14:38 -0400)] 
Fix TROVE-2023-004: Remote crash when compiled against OpenSSL

Fixes #40874

Signed-off-by: David Goulet <dgoulet@torproject.org>
23 months agoBug 40876 changes file
Mike Perry [Wed, 25 Oct 2023 18:00:19 +0000 (18:00 +0000)] 
Bug 40876 changes file

23 months agoBug 40876: Extra logging
Mike Perry [Wed, 25 Oct 2023 00:55:43 +0000 (00:55 +0000)] 
Bug 40876: Extra logging

23 months agoBug 40876: Don't reduce primary list for temporary restrictions
Mike Perry [Mon, 23 Oct 2023 21:48:09 +0000 (21:48 +0000)] 
Bug 40876: Don't reduce primary list for temporary restrictions

23 months agoChanges file for bug 40878
Mike Perry [Mon, 30 Oct 2023 16:55:11 +0000 (16:55 +0000)] 
Changes file for bug 40878

23 months agoBug 40878: Count a valid conflux linked cell as valid data
Mike Perry [Mon, 30 Oct 2023 16:54:49 +0000 (16:54 +0000)] 
Bug 40878: Count a valid conflux linked cell as valid data

For vanguards addon.

2 years agoadd change file
trinity-1686a [Thu, 12 Oct 2023 16:09:05 +0000 (18:09 +0200)] 
add change file

2 years agofix bridge transport statistics
trinity-1686a [Tue, 10 Oct 2023 14:04:41 +0000 (16:04 +0200)] 
fix bridge transport statistics

2 years agoconfigure: Bump version to 0.4.8.8-dev
David Goulet [Thu, 12 Oct 2023 16:40:49 +0000 (12:40 -0400)] 
configure: Bump version to 0.4.8.8-dev

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'bug40869_048' into 'maint-0.4.8'
David Goulet [Wed, 11 Oct 2023 18:51:44 +0000 (18:51 +0000)] 
Merge branch 'bug40869_048' into 'maint-0.4.8'

Fix the spelling of maxunmeasur(e)dbw (backport to 0.4.8)

See merge request tpo/core/tor!774

2 years agoFix the spelling of maxunmeasur(e)dbw.
Nick Mathewson [Fri, 6 Oct 2023 03:28:05 +0000 (23:28 -0400)] 
Fix the spelling of maxunmeasur(e)dbw.

This has been misspelled when using consensus method 31 or later
since 0.4.6.1-alpha.  Fixes bug 40869.

This commit is a backport of b9b0abd6c26d9b361923 to 0.4.8.

2 years agoversion: Bump version to 0.4.8.7-dev
David Goulet [Mon, 25 Sep 2023 14:44:06 +0000 (10:44 -0400)] 
version: Bump version to 0.4.8.7-dev

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoversion: Bump version to 0.4.8.7
Tor CI Release [Mon, 25 Sep 2023 13:49:41 +0000 (13:49 +0000)] 
version: Bump version to 0.4.8.7

2 years agofallbackdir: Update list generated on September 25, 2023
Tor CI Release [Mon, 25 Sep 2023 13:48:54 +0000 (13:48 +0000)] 
fallbackdir: Update list generated on September 25, 2023

2 years agoUpdate geoip files to match ipfire location db, 2023/09/25.
Tor CI Release [Mon, 25 Sep 2023 13:48:26 +0000 (13:48 +0000)] 
Update geoip files to match ipfire location db, 2023/09/25.

2 years agoChanges file for bug40862
Mike Perry [Wed, 20 Sep 2023 23:37:04 +0000 (23:37 +0000)] 
Changes file for bug40862

2 years agoBug 40862: Check if circuits are unused more ways
Mike Perry [Wed, 20 Sep 2023 23:35:36 +0000 (23:35 +0000)] 
Bug 40862: Check if circuits are unused more ways

2 years agoversion: Bump version to 0.4.8.6-dev
Tor CI Release [Mon, 18 Sep 2023 14:24:06 +0000 (14:24 +0000)] 
version: Bump version to 0.4.8.6-dev

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 14:57:45 +0000 (10:57 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoversion: Bump version to 0.4.7.15-dev
Tor CI Release [Mon, 18 Sep 2023 14:24:06 +0000 (14:24 +0000)] 
version: Bump version to 0.4.7.15-dev

2 years agoversion: Bump version to 0.4.8.6
Tor CI Release [Mon, 18 Sep 2023 13:48:44 +0000 (13:48 +0000)] 
version: Bump version to 0.4.8.6

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 14:05:33 +0000 (10:05 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoversion: Bump version to 0.4.7.15
Tor CI Release [Mon, 18 Sep 2023 13:48:42 +0000 (13:48 +0000)] 
version: Bump version to 0.4.7.15

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:51:59 +0000 (09:51 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agofallbackdir: Update list generated on September 18, 2023
Tor CI Release [Mon, 18 Sep 2023 13:45:54 +0000 (13:45 +0000)] 
fallbackdir: Update list generated on September 18, 2023

2 years agoUpdate geoip files to match ipfire location db, 2023/09/18.
Tor CI Release [Mon, 18 Sep 2023 13:42:50 +0000 (13:42 +0000)] 
Update geoip files to match ipfire location db, 2023/09/18.

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:40:38 +0000 (09:40 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoMatch fallbackdir with maint-0.4.8 for release
David Goulet [Mon, 18 Sep 2023 13:40:27 +0000 (09:40 -0400)] 
Match fallbackdir with maint-0.4.8 for release

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:27:34 +0000 (09:27 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agogeoip: Match maint-0.4.8 files for release
David Goulet [Mon, 18 Sep 2023 13:27:20 +0000 (09:27 -0400)] 
geoip: Match maint-0.4.8 files for release

Signed-off-by: David Goulet <dgoulet@torproject.org>
2 years agoMerge branch 'tor-gitlab/mr/759' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:11:02 +0000 (09:11 -0400)] 
Merge branch 'tor-gitlab/mr/759' into maint-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/761' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:10:39 +0000 (09:10 -0400)] 
Merge branch 'tor-gitlab/mr/761' into maint-0.4.8

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:57 +0000 (09:08 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/766' into maint-0.4.7
David Goulet [Mon, 18 Sep 2023 13:08:52 +0000 (09:08 -0400)] 
Merge branch 'tor-gitlab/mr/766' into maint-0.4.7

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:08:17 +0000 (09:08 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/764' into maint-0.4.7
David Goulet [Mon, 18 Sep 2023 13:08:13 +0000 (09:08 -0400)] 
Merge branch 'tor-gitlab/mr/764' into maint-0.4.7

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Mon, 18 Sep 2023 13:06:01 +0000 (09:06 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoMerge branch 'tor-gitlab/mr/765' into maint-0.4.7
David Goulet [Mon, 18 Sep 2023 13:05:42 +0000 (09:05 -0400)] 
Merge branch 'tor-gitlab/mr/765' into maint-0.4.7

2 years agouse physical runner for i386 jobs
trinity-1686a [Fri, 25 Aug 2023 08:14:04 +0000 (10:14 +0200)] 
use physical runner for i386 jobs

2 years agoAdd changes file for tor#40859.
Alexander Færøy [Thu, 14 Sep 2023 20:42:22 +0000 (22:42 +0200)] 
Add changes file for tor#40859.

2 years agoLower the log-level and soften the language for our Zstd ABI compat check.
Alexander Færøy [Thu, 14 Sep 2023 20:26:41 +0000 (22:26 +0200)] 
Lower the log-level and soften the language for our Zstd ABI compat check.

See: tpo/core/tor#40815.

2 years agoci-driver: fix running doxygen and stem tests on 0.4.8
Alex Xu (Hello71) [Mon, 6 Jun 2022 15:44:15 +0000 (11:44 -0400)] 
ci-driver: fix running doxygen and stem tests on 0.4.8

also do some cleanup, no point to set TOR_VER_AT_LEAST_043 and
TOR_VER_AT_LEAST_044 variables which are always yes

2 years agoMerge branch 'maint-0.4.7' into maint-0.4.8
David Goulet [Thu, 14 Sep 2023 19:34:25 +0000 (15:34 -0400)] 
Merge branch 'maint-0.4.7' into maint-0.4.8

2 years agoChanges file for bug40858
Mike Perry [Thu, 14 Sep 2023 19:18:15 +0000 (19:18 +0000)] 
Changes file for bug40858

2 years agoBug 40858: Cache sendme_inc to avoid purging intro points.
Mike Perry [Thu, 14 Sep 2023 19:16:06 +0000 (19:16 +0000)] 
Bug 40858: Cache sendme_inc to avoid purging intro points.

Bug found and fixed by @hyunsoo.kim676.

2 years agoAdd diagnostic log message for compression bombs.
Alexander Færøy [Wed, 13 Sep 2023 14:13:28 +0000 (16:13 +0200)] 
Add diagnostic log message for compression bombs.

This patch causes `tor_compress_is_compression_bomb()` to emit a
warning-level log message that lets us learn the potential ratio of the
input to output buffer sizes. Hopefully, this will give us a bit of a
better idea whether the compression bomb ratio needs some tuning.

See: tpo/core/tor#40739.

2 years agoRemove defensive assertion in `relay_key_is_unavailable_()`.
Alexander Færøy [Wed, 30 Aug 2023 12:43:21 +0000 (14:43 +0200)] 
Remove defensive assertion in `relay_key_is_unavailable_()`.

This patch removes a call to `tor_assert_nonfatal_unreached()` in
`relay_key_is_unavailable_()` that is only called when Tor is compiled
without relay support.

Unfortunately, the non-fatal assertion causes a BUG log
message to appear for clients when they start up without relay support
for each CPU worker we spawn. This makes it spotting issues during
bootstrap harder particularly for our iOS developers.

Since the call sites to `get_master_identity_key()` handles `NULL`
values already, we do not think this will be an issue later on.

Reported by Benjamin Erhart (@tla) from Guardian Project.

Fixes tpo/core/tor#40848.